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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4 Exploit, Vendor Advisory, Mitigation
- https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4 Exploit, Vendor Advisory, Mitigation
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.2 · nltkNVD modified 2026-10-14 13:10
Affected (CPE criteria) 1
cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
References 3
- https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4 Exploit, Vendor Advisory, Mitigation
- https://www.vulncheck.com/advisories/nltk-path-traversal-via-framenet-and-nkjp-readers Third Party Advisory
- https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4 Exploit, Vendor Advisory, Mitigation