high5.9
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 outsid…
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | nltk | <= 3.9.4 | 3.10.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nltk | Nltk | before 3.10.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-568f-pv23-39p4
- https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4
- https://nvd.nist.gov/vuln/detail/CVE-2026-62385
- https://github.com/nltk/nltk/pull/3579
- https://github.com/nltk/nltk/pull/3581
- https://github.com/nltk/nltk/commit/7d1389d0789c1eca56bd0ed444089e0a3972e3ed
- https://github.com/nltk/nltk/commit/bf3bf32786791394a1008258b4917a7f2d4dbcda
- https://github.com/nltk/nltk/releases/tag/v3.10.0
- https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3728.yaml
- https://www.vulncheck.com/advisories/nltk-path-traversal-via-framenet-and-nkjp-readers