Description
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 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk | < 3.10.0 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4Exploit, Vendor Advisory, Mitigation
- https://www.vulncheck.com/advisories/nltk-path-traversal-via-framenet-and-nkjp-readersThird Party Advisory
- https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4Exploit, Vendor Advisory, Mitigation
Timeline
- Published
- Aug 22, 2026
- Last modified
- Oct 14, 2026
- NVD status
- Analyzed