CVE-2026-12261

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductNltk
PublishedAug 7, 2026
First seenAug 7, 2026

How to fix

Update
  • nltk3.10.0 or later

Affected products

ProductAffected versionsFixed in
nltk nltkv ≤ 3.9.4—
nltkPyPIv < 3.10.03.10.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.