Information disclosure in Natural Language Toolkit - CVE-2026-129233
Published: November 16, 2026
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.