Link following in Natural Language Toolkit - CVE-2026-128133
Published: November 22, 2026
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.