Affected versions
Ubuntu26.10/nltk
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/nltk
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/nltk
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/nltk
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/nltk
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:22.04:LTS/nltk
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:24.04:LTS/nltk
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:26.04:LTS/nltk
- Affected versions
- *
- Fixed version
- Not reported
Description
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.
Links
- https://github.com/cveproject/cvelistv5/tree/main/cves/2026/63xxx/cve-2026-63312.json
- https://github.com/nltk/nltk/security/advisories/ghsa-x5ph-mj9p-rfr8
- https://nvd.nist.gov/vuln/detail/cve-2026-63312
- https://security-tracker.debian.org/tracker/cve-2026-63312
- https://ubuntu.com/security/CVE-2026-63312
- https://www.cve.org/CVERecord?id=CVE-2026-63312
- https://www.vulncheck.com/advisories/nltk-streambackedcorpusview-bypasses-pathsec-enforce-arbitrary-file-read

