nltk
Affected
- introduced
0, fixed3.9.4(ecosystem)
Fixed versions
3.9.4
Fix
- Fixed version
3.9.4pip install --upgrade nltk==3.9.4
Advisory
Also known as: CVE-2026-70626, GHSA-r6gq-whwq-mvg9
The record has no summary.
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.
Not rated by the source.
0, fixed 3.9.4 (ecosystem)3.9.4
3.9.4pip install --upgrade nltk==3.9.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0