Vulnerability PYSEC-2026-3867

High Risk
HIGH RISK
CVSS Score: 8.8
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
2 months ago
September 10, 2026 at 09:44 AM UTC
NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution
3.10.0 - 3.10.2
3.10.0 - 3.10.2

Summary

NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution

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.

Impacted packages

Timeline

Published
2 months ago
September 10, 2026 at 09:44 AM UTC
Fixed (3.10.3)
3 months ago
August 12, 2026 at 11:46 PM UTC
Last Modified
2 months ago
September 10, 2026 at 12:15 PM UTC