Path Traversal Issue in NLTK Python Modules by NLTK
CVE-2026-128135
7.1HIGH
What is CVE-2026-128135?
The Natural Language Toolkit (NLTK) is a collection of open-source Python libraries and datasets designed for Natural Language Processing (NLP). A vulnerability exists in NLTK versions 3.9.4 through 3.10.3 where the ZIP package extraction feature can improperly write files through existing in-root hardlinks that point outside the NLTK data root. This flaw can be exploited by a local attacker who prepares the extraction target, leading to the potential overwriting of files outside the protected directory. This breach compromises the integrity and availability of the affected system, necessitating an immediate upgrade to version 3.10.4 or later to mitigate this issue.
Affected Version(s)
nltk >= 3.9.4, < 3.10.4
