Path Traversal in Nltk
CVE-2026-63312
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.007 · 52.2th percentile
- Published
- 2026-08-22
NLTK before 3.10.0 contains an arbitrary local file read vulnerability in StreamBackedCorpusView that bypasses pathsec.ENFORCE by calling builtins.open() directly instead of pathsec.open(). Attackers who control the fileid argument can read arbitrary local files regardless of the ENFORCE setting, including sensitive system files and application credentials.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.007, 52.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-x5ph-mj9p-rfr8) (vendor-advisory, Exploit, Vendor Advisory)
- VulnCheck Advisory: NLTK StreamBackedCorpusView Bypasses pathsec.ENFORCE Arbitrary File Read (Third Party Advisory, third-party-advisory)