Vulnerability

CVE-2026-12261

mediumCVSS 3.1 6.5Published 7 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Nltk nltk

Weakness type

References

  • huntr.com /bounties/8b8c381e-08a8-4e4f-bb46-a320c96a364f

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning