{"cve":"CVE-2026-63312","nvd":{"published":"2026-08-22T15:16:19.367","modified":"2026-10-14T13:10:00.187","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/nltk/nltk/security/advisories/GHSA-x5ph-mj9p-rfr8","https://www.vulncheck.com/advisories/nltk-streambackedcorpusview-bypasses-pathsec-enforce-arbitrary-file-read","https://github.com/nltk/nltk/security/advisories/GHSA-x5ph-mj9p-rfr8"],"products":["nltk:nltk"],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-63312","score":0.00651,"percentile":0.50919,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-x5ph-mj9p-rfr8","url":"https://osv.dev/vulnerability/GHSA-x5ph-mj9p-rfr8","summary":"NLTK: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File Read","modified":"2026-09-08T15:46:56.600781081Z","packages":[{"ecosystem":"PyPI","name":"nltk","purl":"pkg:pypi/nltk","ranges":["<3.10.0"],"fixed":["3.10.0"]}]},{"id":"PYSEC-2026-3730","url":"https://osv.dev/vulnerability/PYSEC-2026-3730","summary":"","modified":"2026-09-01T09:15:04.067757501Z","packages":[{"ecosystem":"PyPI","name":"nltk","purl":"pkg:pypi/nltk","ranges":["<3.10.0"],"fixed":["3.10.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}