CVE-2026-128135 json
NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
published 6d ago modified yesterday also EUVD-2026-130441 , GHSA-wr3g-j6qj-xpgh
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.9.4 to 3.10.3, NLTK ZIP package extraction can write through an existing in-root hardlink whose other link points outside the NLTK data root. A local attacker who can prepare the extraction target can cause a package member write to overwrite an out-of-root file, violating the pathsec containment boundary and affecting integrity and availability. This issues is fixed in version 3.10.4.
Patch / fix
- pypi nltk 3.10.4
- github.com/nltk/nltk@0e9898b commit
- github.com/nltk/nltk@cf12a5e commit
- github.com/nltk/nltk#3753 pull request
- github.com/nltk/nltk/releases/tag/v3.10.4 release
Is CVE-2026-128135 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-21).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nltk | >=3.9.4, <3.10.4 |
3.10.4 |
Affected products
- nltk nltk
Classification
References
-
github.com
/nltk/nltk/pull/3753
web
-
github.com
/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0
web
-
github.com
/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78
web
-
github.com
/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh
web, advisory
-
github.com
/nltk/nltk/releases/tag/v3.10.4
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-128135
advisory
-
github.com
/nltk/nltk
package
Sources
- CVE List CVE-2026-128135
- GitHub Advisory GHSA-wr3g-j6qj-xpgh
- NVD CVE-2026-128135
- Maintainer advisory GHSA-wr3g-j6qj-xpgh
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of nltk/nltk published their own advisory on GitHub. Reviewed sources take precedence over it.