CVE-2026-128135
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data tampering, service disruption.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: 7.1 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Weakness
- CWE-59
- Record status
- Awaiting Analysis
Affected
- Nltk >= 3.9.4, < 3.10.4
Attack profile CVSS 3.1 · 7.1
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-128135.md and follow it. Check whether this project is affected by CVE-2026-128135. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh
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