Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-12261
VULNERABILITY

CVE-2026-12261

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
6.5
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Timeline

Published
Aug 7, 2026 07:16
Modified
Oct 23, 2026 21:10
Last observed
Oct 23, 2026 20:12

CWE

CWE-284

Affected product identifiers

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

References