NLTK 3.9.4 Path Traversal via FrameNet and NKJP Readers
cve-program · CVE-2026-62385
PublishedNLTK versions before 3.10.0 contain a path traversal vulnerability in FramenetCorpusReader and NKJPCorpusReader that allows attackers to parse XML files outside the corpus root by supplying unsafe selectors or poisoned index state. Attackers can exploit frame_by_name, doc, lu, and header methods with crafted parameters to read arbitrary XML files accessible to the application.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-62385 · CVE overview and exploitation status
cve-program · CVE-2026-62385
Related changes
Linked by CVE identifierNo related changes are available here.