PT-2026-81158 · Pypi · Nltk
CVSS v3.1
9.6
Critical
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
NLTK versions prior to 3.10.0
Description
An unsafe pickle deserialization issue exists in the
TransitionParser.parse() function. The function utilizes pickle load() with the restricted parameter set to False, which directs deserialization through WarningUnpickler. Because WarningUnpickler does not override the find class() method, it allows arbitrary class resolution. This enables an attacker to execute arbitrary Python code with the privileges of the application user by providing a specially crafted model file containing pickle gadget chains (sequences of objects that trigger unintended code execution during deserialization).Recommendations
Update NLTK to version 3.10.0 or later.
Exploit
Fix
RCE
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nltk