CVE-2026-62385
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.
- Score
- CVSS 4.0 8.2 High
- Status
- Analyzed - disclosure@vulncheck.com
- Published
- 2026-08-22
- Last modified
- 2026-10-14
- Weaknesses
- CWE-73
Affected products
References
- https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4
- https://www.vulncheck.com/advisories/nltk-path-traversal-via-framenet-and-nkjp-readers