Information disclosure in Natural Language Toolkit - CVE-2026-129233

 

Information disclosure in Natural Language Toolkit - CVE-2026-129233

Published: November 16, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to disclose out-of-root file existence, size, modification time, and filesystem error distinctions without accessing file contents.

The vulnerability exists due to missing pathsec validation in the Natural Language Toolkit StreamBackedCorpusView constructor when calling os.stat on plain-string file paths, even with sandbox enforcement enabled. A remote attacker can supply an out-of-root path through an application that passes attacker-controlled strings directly to this constructor to obtain file metadata beyond allowed data roots.


Affected software

Natural Language Toolkit

How to mitigate CVE-2026-129233

Install security update from vendor's website.

Natural Language Toolkit - update to 3.10.4

External References

Related Security Bulletins