CVE-2026-128135
High 7.1No known exploitationFix availableNLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
Vendor advisory: GHSA-wr3g-j6qj-xpgh
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 13% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-59, CWE-73
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| nltk | nltk | >= 3.9.4, < 3.10.4 | Not documented | CVE Program |
| pip | nltk | from 3.9.4 up to and including 3.10.3 | 3.10.4 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-wr3g-j6qj-xpgh (opens in a new tab)github-advisory
- https://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0 (opens in a new tab)x_refsource_misc
- https://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78 (opens in a new tab)x_refsource_misc
- https://github.com/nltk/nltk/pull/3753 (opens in a new tab)x_refsource_misc
- https://github.com/nltk/nltk/releases/tag/v3.10.4 (opens in a new tab)x_refsource_misc
- https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh (opens in a new tab)x_refsource_confirm