Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-12261

nltk: NLTK: Resource poisoning via improper package archive extraction

Overview

Published
7 Aug 2026
Modified
23 Oct 2026
Medium CVE
1 Registry packages
2 OS packages
3 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

6.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Weakness: CWE-284

Affected packages · 1

Packages affected by CVE-2026-12261
EcosystemPackageVulnerableFixed in
PyPI nltk <3.10.0 3.10.0

Open a package to see all its vulnerabilities.

Operating systems · 6 fixes

debian 4 releases · 1 package

affected 4
nltk
debian fixes for CVE-2026-12261
ReleasePackageFixed in
11 nltk affected
12 nltk affected
13 nltk affected
14 nltk affected

echo 1 release · 1 package

affected 1
nltk
echo fixes for CVE-2026-12261
ReleasePackageFixed in
nltk affected

minimos 1 release · 1 package

fixed 1
label-studio
minimos fixes for CVE-2026-12261
ReleasePackageFixed in
label-studio 1.23.1-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.