CVE-2026-70626

Medium

Description

NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside the corpus root. The vulnerability exists because path validation is lexical and does not account for symlink resolution, enabling attackers to place symlinks inside the corpus root to access files outside the intended boundary.

SeverityMedium
CVSS6.2
Exploit probability—
ProductNltk
PublishedAug 22, 2026
First seenAug 22, 2026

How to fix

Update
  • nltk nltk3.9.4 or later
  • nltk3.9.4 or later

Affected products

ProductAffected versionsFixed in
nltk nltkv < 3.9.43.9.4
nltkPyPIv < 3.9.43.9.4

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.