{"id":"CVE-2026-12261","published":"2026-08-07T06:25:10Z","modified":"2026-08-07T15:27:19Z","title":"Improper Access Control in nltk/nltk","vendor":"nltk","product":"nltk/nltk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00211,"percentile":0.11502,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://huntr.com/bounties/8b8c381e-08a8-4e4f-bb46-a320c96a364f","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":2.3},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk/nltk","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-07T15:25:29.448356Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.0"],"patched":["3.10.0"],"from":["GHSA-ffj6-66c4-86gw","PYSEC-2026-3954"],"provenance":"source"}],"summary":{"text":"The nltk.downloader component of the nltk/nltk product (versions up to and including 3.9.4) extracts package archives into shared namespaces such as corpora/ and taggers/ rather than isolated per-package directories, so one package can overwrite another's trusted resources and models. An attacker who can get a malicious package into the download path can exploit this with network access, though the attack is hard to carry out and requires a user to take an action, and the integrity check only runs after the files have already been written and extracted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:30Z"},"euvd":{"id":"EUVD-2026-54393","exploited":false,"provenance":"source"}}