CVE-2026-128135 NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
9 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/nltk(Debian 12) | = 3.8-1; = 3.8.1-1; = 3.9.1-1; = 3.9.1-2 +6 more | No fix listed | No fix yet |
| debian/nltk(Debian 13) | = 3.9.1-2; = 3.9.2-1; = 3.9.3-1; = 3.10.0-1 +3 more | No fix listed | No fix yet |
| debian/nltk(Debian 14) | = 3.9.1-2; = 3.9.2-1; = 3.9.3-1; = 3.10.0-1 +3 more | No fix listed | No fix yet |
| ubuntu/nltk(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/nltk(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/nltk(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/nltk(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| pypi nltk(PyPI) | = 3.9.4; = 3.10.0; = 3.10.1; = 3.10.2 +3 more | 3.10.4 | Fixed |
| nltk | = >= 3.9.4, < 3.10.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nltk(PyPI) | >= 3.9.4, <= 3.10.3 | No fix listed |
| pypi nltk(PyPI) | >= 3.9.4, < 3.10.4 | 3.10.4 |
| pypi nltk(PyPI) | = 3.10.0 | No fix listed |
| pypi nltk(PyPI) | = 3.10.1 | No fix listed |
| pypi nltk(PyPI) | = 3.10.2 | No fix listed |
| pypi nltk(PyPI) | = 3.10.3 | No fix listed |
| pypi nltk(PyPI) | = 3.9.4 | No fix listed |
| nltk | = >= 3.9.4, < 3.10.4 | No fix listed |
| debian/nltk(Debian:12) | All versions | No fix listed |
| debian/nltk(Debian:14) | All versions | No fix listed |
| debian/nltk(Debian:13) | All versions | No fix listed |
| debian/nltk(Debian:12) | = 3.10.0-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.10.1-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.10.3-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.8-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.8.1-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.9.1-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.9.1-2 | No fix listed |
| debian/nltk(Debian:12) | = 3.9.2-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.9.3-1 | No fix listed |
| debian/nltk(Debian:13) | = 3.10.0-1 | No fix listed |
| debian/nltk(Debian:13) | = 3.10.1-1 | No fix listed |
| debian/nltk(Debian:13) | = 3.10.3-1 | No fix listed |
| debian/nltk(Debian:13) | = 3.9.1-2 | No fix listed |
| debian/nltk(Debian:13) | = 3.9.2-1 | No fix listed |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nltk(Debian:13) | = 3.9.3-1 | No fix listed |
| debian/nltk(Debian:14) | = 3.10.0-1 | No fix listed |
| debian/nltk(Debian:14) | = 3.10.1-1 | No fix listed |
| debian/nltk(Debian:14) | = 3.10.3-1 | No fix listed |
| debian/nltk(Debian:14) | = 3.9.1-2 | No fix listed |
| debian/nltk(Debian:14) | = 3.9.2-1 | No fix listed |
| debian/nltk(Debian:14) | = 3.9.3-1 | No fix listed |
| ubuntu/nltk(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/nltk(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/nltk(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/nltk(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh exploit vendor-advisory
- https://github.com/nltk/nltk/pull/3753 patch
- https://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0 patch
- https://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78 patch
- https://github.com/nltk/nltk/releases/tag/v3.10.4
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-130441 third-party-advisory
- Debian Security Tracker CVE-2026-128135 vendor-advisory
- bugs.debian.org issue-tracking
- Ubuntu CVE tracker vendor-advisory
- www.cve.org