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-12261, PYSEC-2026-3954
NLTK downloader allows cross-package resource and model poisoning
A vulnerability in nltk.downloader in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. The downloader extracts package archives into shared namespaces such as corpora/ and taggers/ instead of package-isolated roots, and validates package integrity only after the archive has been written and extracted. This design flaw enables one package to overwrite another package's trusted resources within the same namespace, making the changes immediately active through ordinary NLTK APIs. This issue persists across fresh interpreter restarts and can affect downstream workflows, including machine learning pipelines and reproducibility-sensitive environments.
Medium Basis: The source's own band: MODERATE
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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0