
Cloud Vulnerability DB
A community-led vulnerabilities database
A security vulnerability was identified in Picklescan versions prior to 0.0.30, tracked as GHSA-3gf5-cxq9-w223. The vulnerability allows attackers to bypass Picklescan's security checks by utilizing the built-in Python library function idlelib.pyshell.ModifiedInterpreter.runcode to execute malicious code through pickle files. This vulnerability was discovered and disclosed on August 26, 2025, affecting organizations and individuals using Picklescan for detecting malicious pickle files in PyTorch models (GitHub Advisory).
The vulnerability exploits Picklescan's failure to detect calls to the idlelib.pyshell.ModifiedInterpreter.runcode function. Attackers can craft a payload using the reduce method to call this built-in Python library function. The attack involves creating a specially crafted pickle file that passes Picklescan's security checks but contains malicious code that executes when the pickle file is loaded. The vulnerability has been assigned a Moderate severity rating (GitHub Advisory).
The vulnerability impacts any organization or individual relying on Picklescan to detect malicious pickle files inside PyTorch models. Attackers can exploit this vulnerability to embed malicious code in pickle files that remain undetected by Picklescan but execute when loaded. This creates potential for supply chain attacks, allowing attackers to distribute infected pickle files across machine learning models, APIs, and saved Python objects (GitHub Advisory).
The vulnerability has been patched in Picklescan version 0.0.30. Users are advised to upgrade to this version or later to address the security issue. The fix includes adding detection for the idlelib.pyshell.ModifiedInterpreter.runcode function to Picklescan's security checks (Picklescan Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."