CVE-2026-63312
NLTK StreamBackedCorpusView Bypasses pathsec.ENFORCE Arbitrary File Read
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-22 |
| Vendor | nltk |
| Product | nltk |
| Published | Aug 22, 2026 |
Stay Ahead of the Next One
Get instant alerts for nltk nltk
Be the first to know when new high vulnerabilities affecting nltk nltk are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
nltk / nltk
0 < 3.10.0
References
Credits
๐ meme-dm