Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-63312
VULNERABILITY

CVE-2026-63312

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.7
Severity
HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Aug 22, 2026 15:16
Modified
Oct 14, 2026 13:10
Last observed
Oct 14, 2026 10:02

CWE

CWE-22

Affected product identifiers

cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*

References