GHSA-5gh2-94qg-qppqHighCVSS 8.8

NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution

Published
August 22, 2026
Last Modified
September 2, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • pip/nltk:>= 3.10.0, < 3.10.3

🔗 References (5)