CVE-2026-129233
Description
NLTK 3.10.0-3.10.3: StreamBackedCorpusView.__init__ stat'ed a raw fileid without pathsec containment — an out-of-root file's existence and exact size leak to the constructor caller. Verbatim util.py 3.10.3 vs 3.10.4: out-of-root eofpos=1337 disclosed on vuln, validate_path-first (never stat'ed) on fixed (2c563b13).
CVE-CVE-2026-129233 Details
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.10.0 until 3.10.4, StreamBackedCorpusView performs os.stat on a caller-supplied plain string path during construction before pathsec containment is enforced. The PathPointer branch used by in-tree corpus readers is validated, so exploitation requires application code to pass an attacker-influenced string directly to the publ...
Related PoCs for CVE-2026-129233
No other PoCs found for this CVE.