INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2026-71513

NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution

CVE-2026-71513 ยท 2026-08-22 high

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Code and command execution
Affected
nltk (PyPI)
Gets past
Safe model loader or scanner
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.1% chance of exploitation in 30 days

How it works, in short

A malicious transition-parser model uses dotted-name attribute traversal to reach callables outside the unpickler allowlist, running commands when the model loads. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.