Path traversal in Natural Language Toolkit - #VU141247
Published: August 7, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to path traversal in FramenetCorpusReader.frame_by_name, FramenetCorpusReader.doc, FramenetCorpusReader.lu, and NKJPCorpusReader.header when parsing caller-controlled selectors or trusted-looking index state into XML file paths. A remote attacker can supply crafted selectors, poisoned index state, or unsafe file identifiers to disclose sensitive information.
Exploitation requires the application to expose FrameNet or NKJP reader APIs and trust them to confine XML parsing to a corpus root.