CVE-2026-71513 PUBLISHED

NLTK 3.10.0 through 3.10.2 Remote Code Execution via AllowlistUnpickler Dotted-Name Bypass

Assigner: VulnCheck
Reserved: 06.08.2026 Published: 22.08.2026 Updated: 22.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor nltk
Product nltk
Versions Default: unaffected
  • affected from 3.10.0 to 3.10.3 (excl.)
  • Version 3.10.3 is unaffected

Credits

  • Tohirov Fazliddin Mahmud o'g'li finder

References

Problem Types

  • Deserialization of Untrusted Data CWE