Link following in Natural Language Toolkit - CVE-2026-128135

 

Link following in Natural Language Toolkit - CVE-2026-128135

Published: November 16, 2026


Vulnerability identifier: #VU166234
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-128135
CWE-ID: CWE-59
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to truncate and overwrite files outside the NLTK data root, potentially causing a denial of service.

The vulnerability exists due to improper hardlink resolution in nltk.pathsec.ZipFile extraction when writing archive members without checking destination inode link counts. A local user can pre-plant a permitted hardlink inside a writable data root at an expected package member path to overwrite its outside-root target during subsequent extraction, with attacker-chosen replacement content possible through an attacker-influenced package mirror or index.


Affected software

Natural Language Toolkit

How to mitigate CVE-2026-128135

Install security update from vendor's website.

Natural Language Toolkit - update to 3.10.4

External References

Related Security Bulletins