Vulnerability · Published Aug 22, 2026 · Assigned by VulnCheck
CVE-2026-62385NLTK 3.9.4 Path Traversal via FrameNet and NKJP Readers
Medium 5.9
In plain English
A medium-severity security flaw in nltk from nltk. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nltk | no fix listed | DEBIAN-CVE-2026-62385 |
| Debian:13 | nltk | no fix listed | DEBIAN-CVE-2026-62385 |
| Debian:14 | nltk | 3.10.0-1 | DEBIAN-CVE-2026-62385 |
| PyPI | nltk | 3.10.0 | GHSA-568f-pv23-39p4 |
| PyPI | nltk | 3.10.0 | PYSEC-2026-3728 |
| Ubuntu:26.10 | nltk | no fix listed | UBUNTU-CVE-2026-62385 |
Affected products (as reported)
Weakness: CWE-73 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- GitHub Security Advisory (GHSA-568f-pv23-39p4) vendor-advisory
- VulnCheck Advisory: NLTK 3.9.4 Path Traversal via FrameNet and NKJP Readers third-party-advisory