PT-2026-50451 · Pypi · Picklescan
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
picklescan versions prior to 0.0.33
Description
An incomplete deny-list fails to block the
pydoc.locate() and operator.methodcaller() functions. This allows remote attackers to bypass security checks by crafting malicious pickle files. The pydoc.locate() function can dynamically resolve and import arbitrary modules, while operator.methodcaller() enables the execution of a method on an object. When combined, these functions can be used to achieve arbitrary code execution during the deserialization of the pickle file.Recommendations
Update to version 0.0.33 or later.
Exploit
Fix
Incomplete List of Disallowed Inputs
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Picklescan