← Back to CVE search

CVE-2026-63312

NLTK

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 7.5EPSS 0.488%Risk 0.78
View source
Published
2026-08-22 15:16:19
Affected versions
<3.10.0
Type
Library
Last modified
2026-08-24 19:16:42
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N