Path traversal in Natural Language Toolkit - CVE-2026-63312
Published: August 7, 2026 / Updated: September 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to path traversal in StreamBackedCorpusView when processing a user-controlled fileid path while pathsec.ENFORCE is enabled. A remote attacker can supply a crafted file path to disclose sensitive information.
XMLCorpusView and corpus reader subclasses that pass a raw string fileid to StreamBackedCorpusView are also affected.