high7.1
CVE-2026-128135
NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
Impact
NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | nltk | >= 3.9.4, <= 3.10.3 | 3.10.4 |
Affected products · Nltk
| Product | Affected versions |
|---|---|
| Nltk | from 3.9.4, before 3.10.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh
- https://github.com/nltk/nltk/pull/3753
- https://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0
- https://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78
- https://github.com/nltk/nltk/releases/tag/v3.10.4
- https://github.com/advisories/GHSA-wr3g-j6qj-xpgh
- https://nvd.nist.gov/vuln/detail/CVE-2026-128135