CVE-2026-63312

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductNltk
PublishedAug 22, 2026
First seenAug 22, 2026

How to fix

Update
  • nltk nltk3.10.0 or later
  • nltk3.10.0 or later

Affected products

ProductAffected versionsFixed in
nltk nltkv < 3.10.03.10.0
nltkPyPIv < 3.10.03.10.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.