CVE-2026-63312

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.
Configurations

Configuration 1 (hide)

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

History

No history.

Information

Published : 2026-08-22 15:16

Updated : 2026-08-31 18:40


NVD link : CVE-2026-63312

Mitre link : CVE-2026-63312

CVE.ORG link : CVE-2026-63312


JSON object : View

Products Affected

nltk

  • nltk
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')