NLTK
NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.9.4, < 3.10.4
Fixed in 3.10.4
Mitigation
Upgrade nltk to 3.10.4 or later.
References
- Vendor advisory github.com/nltk/nltk/security/advisories/GHSA-…
- Patch github.com/nltk/nltk/pull/3753
- Patch github.com/nltk/nltk/commit/0e9898b7615b4ab3b0…
2 more
Timeline
Days relative to CVE publicationFirst public PoC 2.9 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-128135 (created 22 Nov 2026, found by us: 22 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-128135 | 22 Nov 2026 +2.9 d | 22 Nov 2026 | 0 | Scanner |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.