CVE-2026-70626Published Aug 22, 2026 · Aug 22Updated Oct 28
NLTK before 3.9.4 Symlink Escape via CorpusReader
nltk
High8.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nltk PyPI |
|
|
Original 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.
From the CVE record · VulnCheck