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

 

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

Published: November 22, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to read files outside the YCOE corpus root but within the allowed NLTK data sandbox.

The vulnerability exists due to improper symbolic link resolution in YCOECorpusReader when it creates nested readers and checks their roots against the data sandbox but not the enclosing corpus root. A remote attacker can supply a crafted YCOE corpus for ingestion to cause the application to return file contents from elsewhere in the sandbox.


Affected software

Natural Language Toolkit

How to mitigate CVE-2026-128133

Install security update from vendor's website.

Natural Language Toolkit - update to 3.10.4

External References

Related Security Bulletins