CVE-2026-12261: CWE-284 Improper Access Control in nltk nltk/nltk
CVE-2026-12261 is a medium severity vulnerability in the nltk Python library's downloader component (nltk.downloader) affecting versions up to 3.9.4. The flaw allows cross-package resource and model poisoning because the downloader extracts package archives into shared namespaces without proper isolation and only validates package integrity after extraction. This enables one package to overwrite another's trusted resources, which remain active across interpreter restarts and can impact workflows relying on NLTK APIs.
AI Analysis
Technical Summary
The vulnerability in nltk.downloader arises from improper access control (CWE-284) where package archives are extracted into shared namespaces such as 'corpora/' and 'taggers/' instead of isolated package-specific directories. Integrity checks occur only after extraction, allowing a malicious package to overwrite resources of other packages within the same namespace. These overwritten resources become immediately active through standard NLTK APIs and persist beyond interpreter restarts, potentially affecting machine learning pipelines and reproducibility-sensitive environments. This issue affects nltk versions up to 3.9.4.
Potential Impact
An attacker can perform cross-package resource and model poisoning by overwriting trusted resources of other packages within shared namespaces. This compromises the integrity of resources used by downstream workflows, including machine learning pipelines, potentially causing incorrect or malicious behavior without direct code execution. The persistence of the poisoned resources across interpreter restarts increases the risk of long-term impact on reproducibility and trustworthiness of NLTK-based environments.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid installing untrusted or unverified packages via nltk.downloader and consider isolating environments to prevent cross-package contamination. Monitor official nltk channels for updates addressing this vulnerability.
CVE-2026-12261: CWE-284 Improper Access Control in nltk nltk/nltk
Description
CVE-2026-12261 is a medium severity vulnerability in the nltk Python library's downloader component (nltk.downloader) affecting versions up to 3.9.4. The flaw allows cross-package resource and model poisoning because the downloader extracts package archives into shared namespaces without proper isolation and only validates package integrity after extraction. This enables one package to overwrite another's trusted resources, which remain active across interpreter restarts and can impact workflows relying on NLTK APIs.
CVSS v3.0
Score 5.3medium
Affected software
nltk
nltk/nltk
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in nltk.downloader arises from improper access control (CWE-284) where package archives are extracted into shared namespaces such as 'corpora/' and 'taggers/' instead of isolated package-specific directories. Integrity checks occur only after extraction, allowing a malicious package to overwrite resources of other packages within the same namespace. These overwritten resources become immediately active through standard NLTK APIs and persist beyond interpreter restarts, potentially affecting machine learning pipelines and reproducibility-sensitive environments. This issue affects nltk versions up to 3.9.4.
Potential Impact
An attacker can perform cross-package resource and model poisoning by overwriting trusted resources of other packages within shared namespaces. This compromises the integrity of resources used by downstream workflows, including machine learning pipelines, potentially causing incorrect or malicious behavior without direct code execution. The persistence of the poisoned resources across interpreter restarts increases the risk of long-term impact on reproducibility and trustworthiness of NLTK-based environments.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid installing untrusted or unverified packages via nltk.downloader and consider isolating environments to prevent cross-package contamination. Monitor official nltk channels for updates addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- @huntr_ai
- Date Reserved
- 2026-06-15T10:13:29.195Z
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 6a757e2dbf8831d539e738e2
Added to database: 08/07/2026, 06:41:49 UTC
Last enriched: 08/14/2026, 16:12:29 UTC
Last updated: 09/21/2026, 22:49:51 UTC
Views: 78
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.
External Links
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.