CVE-2026-71513

Summary

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 Software

VendorProductVersion RangeStatus
nltknltk3.10.0 < 3.10.3affected
nltknltk3.10.3unaffected

Weaknesses

  • CWE-502: Deserialization of Untrusted Data

References