CVE-2026-71513
nltk: NLTK: Remote Code Execution via AllowlistUnpickler dotted-name bypass
Overview
Description
NLTK before 3.10.3 contains a remote code execution vulnerability in AllowlistUnpickler that validates only the pickle module string and not the global name, allowing attackers to resolve dotted names by attribute traversal to callables outside the allowlisted namespace. Attackers can craft untrusted transition-parser models that execute arbitrary commands when TransitionParser.parse loads the model through allowlisted_pickle_load.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-502
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | nltk | >=3.10.0, <3.10.3 | 3.10.3 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.3-r1 | |
| nemo | 2.7.3-r27 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | nltk | affected |
| 12 | nltk | affected |
| 13 | nltk | affected |
| 14 | nltk | 3.10.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nltk | affected |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python313-nltk +1 | 3.10.3-1.1 | openSUSE-SU-2026:11587-1 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.3-r1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-71513
- github.com https://github.com/nltk/nltk
- github.com https://github.com/nltk/nltk/blob/v3.10.2/nltk/picklesec.py#L119-L124
- github.com https://github.com/nltk/nltk/commit/c3e37113742a1ebeeb4f2ca58941f320f98805ea
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-71513
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-71513
- www.vulncheck.com https://www.vulncheck.com/advisories/nltk-through-remote-code-execution-via-allowlistunpickler-dotted-name-bypass
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.