nltk
Affected
- introduced
0, fixed3.10.0(ecosystem)
Fixed versions
3.10.0
Fix
- Fixed version
3.10.0pip install --upgrade nltk==3.10.0
Advisory
Also known as: CVE-2026-63312, GHSA-x5ph-mj9p-rfr8
The record has no summary.
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.
Not rated by the source.
0, fixed 3.10.0 (ecosystem)3.10.0
3.10.0pip install --upgrade nltk==3.10.0Fix 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