5.3Mittel

CVE-2026-12261Improper Access Control in nltk/nltk

nltk nltk/nltk Veröffentlicht: (vor 3 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-284

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
nltk nltk ≤ 3.9.4
nltk nltk/nltk unspecified – ≤ latest

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:* ≤ 3.9.4