CVE-2026-62385 PUBLISHED

NLTK 3.9.4 Path Traversal via FrameNet and NKJP Readers

Assigner: VulnCheck
Reserved: 13.07.2026 Published: 22.08.2026 Updated: 22.08.2026

NLTK 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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.2

Product Status

Vendor nltk
Product nltk
Versions Default: unaffected
  • affected from 0 to 3.10.0 (excl.)
  • Version 3.10.0 is unaffected

References

Problem Types

  • External Control of File Name or Path CWE