A vulnerability in nltk.downloader in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. (CVE-2026-12261)
A vulnerability in nltk.downloader in nltk versions up to 3.9.4 allows one package to overwrite another package's trusted resources due to shared namespace extraction and delayed integrity validation. This can lead to cross-package resource and model poisoning that persists across interpreter restarts and affects workflows relying on NLTK resources.
AI Analysis
Technical Summary
The vulnerability in nltk.downloader affects versions of nltk up to 3.9.4. The downloader extracts package archives into shared namespaces such as 'corpora/' and 'taggers/' rather than isolated package roots. Integrity validation occurs only after extraction, enabling a malicious package to overwrite resources of another package within the same namespace. These overwritten resources become active immediately through standard NLTK APIs and persist across interpreter restarts, potentially impacting downstream processes including machine learning pipelines and environments sensitive to reproducibility.
Potential Impact
This vulnerability allows an attacker to perform cross-package resource and model poisoning by overwriting trusted resources of other packages within shared namespaces. This can compromise the integrity of machine learning workflows and reproducibility-sensitive environments that rely on NLTK resources. There is no direct confidentiality or availability impact reported, but the integrity impact is high.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should exercise caution when installing or updating packages that use nltk.downloader and consider isolating package environments to prevent cross-package interference.
A vulnerability in nltk.downloader in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. (CVE-2026-12261)
Description
A vulnerability in nltk.downloader in nltk versions up to 3.9.4 allows one package to overwrite another package's trusted resources due to shared namespace extraction and delayed integrity validation. This can lead to cross-package resource and model poisoning that persists across interpreter restarts and affects workflows relying on NLTK resources.
CVSS v3.0
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in nltk.downloader affects versions of nltk up to 3.9.4. The downloader extracts package archives into shared namespaces such as 'corpora/' and 'taggers/' rather than isolated package roots. Integrity validation occurs only after extraction, enabling a malicious package to overwrite resources of another package within the same namespace. These overwritten resources become active immediately through standard NLTK APIs and persist across interpreter restarts, potentially impacting downstream processes including machine learning pipelines and environments sensitive to reproducibility.
Potential Impact
This vulnerability allows an attacker to perform cross-package resource and model poisoning by overwriting trusted resources of other packages within shared namespaces. This can compromise the integrity of machine learning workflows and reproducibility-sensitive environments that rely on NLTK resources. There is no direct confidentiality or availability impact reported, but the integrity impact is high.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should exercise caution when installing or updating packages that use nltk.downloader and consider isolating package environments to prevent cross-package interference.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-ffj6-66c4-86gw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-12261"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.0
Threat ID: 6a75f717bf8831d5398501f2
Added to database: 08/07/2026, 15:17:43 UTC
Last enriched: 08/07/2026, 15:51:26 UTC
Last updated: 08/07/2026, 18:40:59 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.