Live threats

All CVEs / Nltk

CVE-2026-12261Nltk

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Aug 7, 2026
Updated
Oct 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-284
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nltk.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI nltk < 3.10.0 3.10.0 pip install "nltk>=3.10.0"
PyPI nltk < 3.10.0 3.10.0 pip install "nltk>=3.10.0"

Per OSV / GitHub Advisories (GHSA-ffj6-66c4-86gw, PYSEC-2026-3954). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nltknltk≤ 3.9.4

Official sources

References

Links published by the sources. Open them with care.