home / blog

2026-11-22 · high

CVE-2026-128135: Critical vulnerability in NLTK ZIP extraction

NLTK vulnerable to CWE-59: ZIP extraction overwrites external files. Patch in version 3.10.4.

CVE-2026-128135: Critical vulnerability in NLTK ZIP extraction

CVE-2026-128135 is a critical vulnerability in the Natural Language Toolkit (NLTK), a Python library for natural language processing. Between versions 3.9.4 and 3.10.3, the ZIP package extraction mechanism contains a CWE-59 flaw that allows a local attacker to overwrite external files through an existing hardlink, compromising system integrity and availability.

The vulnerability is classified as high severity (CVSS 7.1) and reportedly being exploited according to unverified reports. NVD officially published the details on November 19, 2026, while GitHub repositories exist that claim to contain exploits for this vulnerability. The patch is available in NLTK version 3.10.4.

To protect yourself, it's essential to update NLTK to version 3.10.4 or later. Organizations should also verify if vulnerable versions are in use and implement additional controls on package extraction processes. In environments with particularly high security requirements, consider using sandboxing or containment technologies to further reduce the risk of exploitation.

At a glance

What
CWE-59 vulnerability in NLTK ZIP extraction that allows external file overwriting through existing hardlink
Severity
High (CVSS 7.1)
Affected versions
NLTK 3.9.4 - 3.10.3
Fix
Update to version 3.10.4
Status
Published in NVD on 11/19/2026
Action
Update NLTK to version 3.10.4 or later

Sources: NVD, CVE-2026-128135

← All articles