NLTK advisory flags hardlink flaw allowing local overwrite of files outside data root
GitHub Advisory Database has published CVE-2026-128135 for NLTK, describing a hardlink-following weakness in package extraction. The advisory says versions 3.9.4 through 3.10.3 are affected and that 3.10.4 contains the fix. Its severity rating and exploitation details come from the advisory itself and have not been independently confirmed.
The GitHub Advisory Database has published GHSA-wr3g-j6qj-xpgh, tracked as CVE-2026-128135, against the Python NLTK library. The advisory places the weakness in the archive extraction path of nltk.pathsec, which is used when nltk.download() installs a package. [1]
According to the advisory, a local user who can write inside a shared or predictable NLTK data root could plant a hardlink at a path a package is about to write. When the victim later runs the download, the extraction can truncate and overwrite a file outside that data root. The advisory says the attacker chooses the outside target. [1]
The advisory says exploitation generally depends on kernel hardlink protection being disabled or on the target being a file the attacker is allowed to link to. It also says that, where an attacker-influenced package index is in use, overwritten content could be attacker-chosen and that code execution is plausible but was not demonstrated. [1]
The advisory states that an earlier fix for a related downloader hardlink issue did not cover the extraction write, so the latest release remains affected. It lists versions 3.9.4 through 3.10.3 as affected and 3.10.4 as the fixed release. GitHub rates the issue high, with a CVSS score of 7.1. [1]
What we couldn't confirm
- No independent confirmation of the vulnerability, such as from NLTK maintainers or a separate security researcher, is included in the source material.
- The source does not state whether this flaw has been exploited in the wild, so exploitation status remains unknown.
- The proof-of-concept code in the source is incomplete and has not been verified.
- No statement from the NLTK project maintainers about the fix or release timing was provided.
- The reporter or researcher credited with discovering the issue is not named in the source.
Sources
- GitHub Advisory Database: GHSA-wr3g-j6qj-xpgh (CVE-2026-128135): NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data rootSource published · TechDots found it
Statements labelled as a company's claim have not been independently confirmed by TechDots.
Get Cybersecurity stories by email
Related coverage
nginx2root: five new nginx bugs, patch now and lock origins to Cloudflare
F5 and nginx.org disclosed ten nginx vulnerabilities on November 18, 2026. Five memory corruption flaws, named nginx2root by Xint, can crash workers or run commands, and one HTTP/2 bug is the most widespread. Cloudflare says its edge is unaffected and that its proxy shields origins from the HTTP/2 and HTTP/3 attacks, but patching is still required.
Etherpad pre-auth file read flaw rated critical in GitHub advisory
GitHub Advisory Database has published an advisory for an unauthenticated file-read flaw in Etherpad's /static/* handler, affecting ep_etherpad-lite versions 1.8.14 up to 3.3.3 and fixed in 3.3.3. The advisory rates it critical, CVSS 9.8.