AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

NLTKGHSA-5gh2-94qg-qppq

NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution

NLTK

CVE-2026-71513 · Published Aug 22, 2026 · updated Sep 10, 2026

High8.8
Fix: upgrade to 3.10.3 or later
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
nltk
PyPI
>= 3.10.0, < 3.10.33.10.3
Details and references

More NLTK advisories

All NLTK