Vulnerability
CVE-2026-128135
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.
2 advisories report this vulnerability, across 2 ecosystems.
Advisories
-
DEBIAN-CVE-2026-128135
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…
-
GHSA-wr3g-j6qj-xpgh
NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
References
- https://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0
- https://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78
- https://github.com/nltk/nltk/pull/3753
- https://github.com/nltk/nltk/releases/tag/v3.10.4
- https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh