NLTK 3.9.4 Path Traversal via FrameNet and NKJP Readers
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-73 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nltk | nltk | before 3.10.0 | 3.10.0 | Patch available | CNA |
| — | nltk (PyPI) | before 3.10.0 | 3.10.0 | Patch available | GHSA-568f-pv23-39p4 |
- nltk Vendornltk Affected before 3.10.0 Fixed in 3.10.0 Patch available CNA
- nltk (PyPI) Vendor— Affected before 3.10.0 Fixed in 3.10.0 Patch available GHSA-568f-pv23-39p4
Remediation
- Fix · CNA nltk (nltk) Fixed in 3.10.0
- Fix · GHSA-568f-pv23-39p4 nltk (PyPI) Fixed in 3.10.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
nltk 3.10.0
5 records Highest priority Priority HIGH 3 HIGH, 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-45157 NLTK StreamBackedCorpusView Bypasses pathsec.ENFORCE Arbitrary File ReadPriority HIGH 77
- TI-2026-44528 NLTK before 3.10.0 Insecure Default Configuration in pathsec.pyPriority HIGH 77
- TI-2026-46953 NLTK before 3.10.0 Arbitrary File Read via FileSystemPathPointerPriority MEDIUM 64
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Exploit Intelligence
- Lightspeed Core
- OpenShift Lightspeed
- Red Hat Ansible Automation Platform 2
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-10-02 Threatist record created from CVE-2026-62385
- 2026-10-03 Alias added: GHSA-568f-pv23-39p4
References
Other 7
- 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
- https://github.com/nltk/nltk/releases/tag/v3.10.0
- https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3728.yaml
More Nltk vulnerabilities
- TI-2026-00629 Arbitrary Code Execution in NLTK StanfordSegmenter via Untrusted JAR Loading CVSS 3.0CRITICAL 10.0
- TI-2025-12800 Zip Slip Vulnerability in nltk/nltk Leading to Remote Code Execution CVSS 3.0CRITICAL 10.0
- TI-2026-55173 NLTK before 3.10.3 JVM Argument Injection via Per-Call Options CVSS 4.0CRITICAL 9.3
- TI-2026-55155 NLTK before 3.10.3 Remote Code Execution via Unsafe Pickle Deserialization CVSS 4.0CRITICAL 9.3
- TI-2026-56370 nltk PorterStemmer before 3.10.3 Quadratic-time DoS CVSS 4.0HIGH 8.7
- TI-2026-55172 NLTK 3.10.2 Path Traversal via corpus-reader constructors CVSS 4.0HIGH 8.8
Sources
- CVE-2026-62385 · CVE Program
- CVE-2026-62385 · NVD
- FIRST EPSS
- GHSA-568f-pv23-39p4 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-62385 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences