What’s Vulnerable › Vulnerabilities
CVE-2026-12261: Improper Access Control in nltk/nltk
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-07 · updated 2026-10-23
- Weakness: CWE-284
Description
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.
Affected products
- nltk: through 3.9.4
References
- https://huntr.com/bounties/8b8c381e-08a8-4e4f-bb46-a320c96a364f
- https://huntr.com/bounties/8b8c381e-08a8-4e4f-bb46-a320c96a364f
Get alerted when CVE-2026-12261 or the next vulnerability affects your stack