published 22 Aug 2026 · updated 24 Aug 2026
NLTK before 3.9.4 Symlink Escape via CorpusReader
6.2MediumCVSS 6.2EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.9.4.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nltk | <3.9.4 | 3.9.4 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket