MediumVulnerability
CVE-2026-128136: NLTK pickle loading lets crafted models read or truncate local files
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-128136
- Published
- Record updated
- Affected
- nltk >= 3.10.0, < 3.10.4
- Fixed in
- 3.10.4
- released October 21, 2026, 29 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
Summary
CVE-2026-128136 affects NLTK from 3.10.0 until 3.10.4. The allowlisted_pickle_load function keys dangerous NumPy globals by export name, so submodule-local numpy.lib file I/O callables evade the denylist under the broad module allowance used by TransitionParser. A crafted pickle can invoke recfromtxt to read a local file or open_memmap to create or truncate an attacker-selected file when a victim loads an untrusted model.
Mitigation
Fixed in version 3.10.4.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- nltkPyPINo LLM dependency detected · 47 tracked dependents
Related items
- HighCVE-2026-76818: Axon rtkx bootstrap runs unverified downloaded binarySimilar attack · NVD/CVE Database
- MediumMicrosoft’s Agent Framework PyPI package compromised to steal credentialsSimilar attack · BleepingComputer
- InfoOX Security Launches OX Radar and Response Center to Show Companies Which Cyber Threats Actually Affect ThemSimilar attack · CSO Online
- MediumCVE-2026-132122: agentic-radar untrusted .env loading leaks OpenAI API key via scan commandSimilar attack · NVD/CVE Database
- MediumAttackers hijack Microsoft’s agent-framework package to steal Azure and CI credentialsSimilar attack · CSO Online