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.
22 days 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.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
High Risk
22 days ago
NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary
0.8 - 0.9.9 and 2.0b4 - 3.10.2 PYSEC-2026-3868
0.8 - 0.9.9 and 2.0b4 - 3.10.2 PYSEC-2026-3868
Unknown
22 days ago
NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammars
0.8 - 0.9.9 and 2.0b4 - 3.10.2 PYSEC-2026-3869
0.8 - 0.9.9 and 2.0b4 - 3.10.2 PYSEC-2026-3869
Low Risk
22 days ago
NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
0.8 - 0.9.9 and 2.0b4 - 3.10.2 PYSEC-2026-3871
0.8 - 0.9.9 and 2.0b4 - 3.10.2 PYSEC-2026-3871
High Risk
22 days ago
NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking
0.8 - 0.9.9 and 2.0b4 - 3.10.0 PYSEC-2026-3870
0.8 - 0.9.9 and 2.0b4 - 3.10.0 PYSEC-2026-3870
Medium Risk
24 days ago
NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocks
0.8 - 0.9.9 and 2.0b4 - 3.10.2 GHSA-8mpw-7fpc-4gqj
0.8 - 0.9.9 and 2.0b4 - 3.10.2 GHSA-8mpw-7fpc-4gqj
Impacted packages
Timeline
Published
22 days ago
September 10, 2026 at 09:44 AM UTC
Fixed (3.10.3)
1 month ago
August 12, 2026 at 11:46 PM UTC
Last Modified
22 days ago
September 10, 2026 at 12:15 PM UTC