CVE-2026-12261

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-08-07 07:16

Updated : 2026-09-04 14:40


NVD link : CVE-2026-12261

Mitre link : CVE-2026-12261

CVE.ORG link : CVE-2026-12261


JSON object : View

Products Affected

nltk

  • nltk
CWE
CWE-284

Improper Access Control