nltk
Affected
- introduced
0, fixed3.10.0(ecosystem)
Fixed versions
3.10.0
Fix
- Fixed version
3.10.0pip install --upgrade nltk==3.10.0
Advisory
Also known as: CVE-2026-78683, GHSA-rhp5-r9x4-f5g2
The record has no summary.
NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the TransitionParser.parse() method (nltk/parse/transitionparser.py). The method calls pickle_load() with the default restricted=False, routing deserialization through WarningUnpickler, which does not override find_class() and therefore permits arbitrary class resolution. When an application loads an attacker-crafted model file, embedded pickle gadget chains execute arbitrary Python code with the privileges of the user running the application. NLTK provides a RestrictedUnpickler for safe deserialization, but it is not used by production code paths. Fixed in 3.10.0.
Not rated by the source.
0, fixed 3.10.0 (ecosystem)3.10.0
3.10.0pip install --upgrade nltk==3.10.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0