Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12261: CWE-284 Improper Access Control in nltk nltk/nltk

0
Medium
VulnerabilityCVE-2026-12261cvecve-2026-12261cwe-284
Published: 08/07/2026 (08/07/2026, 06:25:10 UTC)
Source: CVE Database V5
Vendor/Project: nltk
Product: nltk/nltk

Description

CVE-2026-12261 is a medium severity vulnerability in the nltk Python library's downloader component. It allows cross-package resource and model poisoning by extracting package archives into shared namespaces without proper isolation or pre-extraction integrity validation. This flaw enables one package to overwrite another's trusted resources, affecting workflows that rely on NLTK APIs and persisting across interpreter restarts.

CVSS v3.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 06:56:51 UTC

Technical Analysis

The vulnerability exists in nltk.downloader in nltk versions up to 3.9.4. The downloader extracts package archives into shared namespaces such as corpora/ and taggers/ instead of isolated package-specific directories. It only validates package integrity 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 across interpreter restarts, potentially impacting downstream workflows including machine learning pipelines and environments sensitive to reproducibility.

Potential Impact

An attacker can poison resources and models of other packages by overwriting them during package installation. This can lead to the use of malicious or tampered data/models in applications relying on NLTK, potentially compromising the integrity of machine learning workflows and reproducibility. There is no direct confidentiality or availability impact reported. The vulnerability requires network access and user interaction to exploit due to the downloader's design.

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 downloading and installing NLTK packages from untrusted sources. Avoid running the downloader in untrusted environments or with untrusted package sources to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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
Remediation Level
null

Threat ID: 6a757e2dbf8831d539e738e2

Added to database: 08/07/2026, 06:41:49 UTC

Last enriched: 08/07/2026, 06:56:51 UTC

Last updated: 08/07/2026, 07:38:26 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses