{"id":"CVE-2026-63312","published":"2026-08-22T14:12:40Z","modified":"2026-08-24T18:34:55Z","title":"NLTK StreamBackedCorpusView Bypasses pathsec.ENFORCE Arbitrary File Read","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00651,"percentile":0.45903,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-x5ph-mj9p-rfr8","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nltk-streambackedcorpusview-bypasses-pathsec-enforce-arbitrary-file-read","tags":["third-party-advisory"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":9.18},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.10.0"]}],"fixedVersions":[{"vendor":"nltk","product":"nltk","versions":["3.10.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-24T18:34:08.045876Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.0"],"patched":["3.10.0"],"from":["GHSA-x5ph-mj9p-rfr8","PYSEC-2026-3730"],"provenance":"source"}],"summary":{"text":"The NLTK library, before version 3.10.0, has a flaw in its StreamBackedCorpusView component where file opening bypasses the pathsec.ENFORCE path restriction by calling builtins.open() directly instead of pathsec.open(). An attacker who can control the fileid argument can read arbitrary local files, including sensitive system files and application credentials, without network access or authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:45Z"},"euvd":{"id":"EUVD-2026-64333","exploited":false,"provenance":"source"}}