Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft pickle with numpy.runstring reduce gadget
-
DeliveryDistribute as trusted ML model file
-
ExploitPicklescan scan returns safe verdict
-
ExecutionVictim deserializes the pickle
-
PersistNumpy global imports os
-
ImpactExecute arbitrary OS commands
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires that the target environment uses Picklescan (before 0.0.25) as its safety check for pickle files AND that a user or pipeline subsequently deserializes the attacker-supplied pickle (UI:P) - the bypass only matters where Picklescan is the trusted gate (AT:P). The malicious file must reference an unsafe Numpy global Picklescan fails to detect (specifically numpy.testing._private.utils.runstring) within a reduce method, and Numpy must be importable in the loading environment. No authentication is needed to deliver the file (PR:N), but exploitation is limited by the need for victim interaction (loading the pickle) and by deployments that already use safetensors or sandboxed loading, which neutralize the impact. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N) scores 7.6 and captures the real shape of the risk: exploitation is network-reachable and unauthenticated to deliver, but requires a victim to load the malicious pickle (UI:P) and carries an attack requirement (AT:P) - namely that the target actually relies on Picklescan as its gate. This is a scanner-bypass / detection-evasion weakness, so its danger is conditional on Picklescan being used as a security control in the first place; it does not itself open a service to attack. No EPSS score was provided, there is no KEV listing, and no POC flag was supplied, though the advisory naming the exact gadget lowers the bar to weaponize. Net assessment: a genuine and credible supply-chain risk for ML pipelines that trust Picklescan, but not an internet-wide mass-exploitation event - closer to targeted abuse of model distribution channels. Missing signals (EPSS, independent POC confirmation) should be verified before final prioritization. |
| Exploit ScenarioDerived | An attacker publishes a trojanized ML model containing a pickle whose __reduce__ calls numpy.testing._private.utils.runstring to import os and run a command; the file passes a Picklescan scan and is treated as safe. A developer or automated pipeline downloads and deserializes the model, and the embedded command executes on their host. VulnCheck's advisory documents the precise gadget, but no packaged public exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 30, 2026
Static-analysis bypass in Picklescan before 0.0.25 lets attackers smuggle malicious pickle files past its malware scanner, leading to arbitrary OS command execution when a victim deserializes the file. Picklescan's denylist fails to flag unsafe Numpy globals, so a reduce method invoking numpy.testing._private.utils.runstring can import os and run commands while being reported as safe. No public exploit has been identified at time of analysis, though VulnCheck's advisory documents the exact gadget; the issue is not in CISA KEV. CVSS 4.0 base score is 7.6.
RemediationAI
Vendor-released patch: 0.0.25 - upgrade Picklescan to 0.0.25 or later (e.g. pip install --upgrade 'picklescan>=0.0.25') so the missed Numpy globals are added to the denylist, per GHSA-fj43-3qmq-673f. Because this is a scanner-bypass, do not treat Picklescan as a sole trust boundary: where feasible, load untrusted pickles only under restricted execution (sandboxed/containerized worker with no outbound network and least-privilege OS user) so that a residual bypass cannot run useful commands, and prefer safer serialization formats such as safetensors for model weights, which removes pickle code-execution risk entirely (trade-off: requires producers to publish in that format). Restricting model ingestion to vetted, signed sources reduces the chance of a malicious pickle reaching the loader in the first place, at the cost of pipeline flexibility.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Picklescan is a Python security tool that statically inspects pickle (.pkl) files - a common serialization format for ML model weights - to detect dangerous globals before deserialization, and it is integrated into ML supply-chain flows such as Hugging Face model scanning. The vulnerability is a CWE-184 (Incomplete List of Disallowed Inputs) failure: Picklescan maintains a denylist of unsafe callables but omits certain Numpy functions, notably numpy.testing._private.utils.runstring. Because Python's pickle protocol executes the callable named in an object's __reduce__ method during loading, an attacker who references a missed Numpy global can execute arbitrary Python (and via os, arbitrary OS commands) while Picklescan returns a clean verdict. The single affected component is cpe:2.3:a:picklescan:picklescan, with all versions before 0.0.25 affected.
Know when Picklescan gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-delivered but requires the victim to load the pickle under a Picklescan-gated flow (UI:R, AC:H for that attack requirement); successful loading yields full code execution, so C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Picklescan before 0.0.25 fails to detect unsafe global functions in the Numpy library, allowing attackers to bypass static analysis and execute arbitrary code during deserialization. Attackers can craft malicious pickle files using numpy.testing._private.utils.runstring within the reduce method to import dangerous libraries like os and execute arbitrary OS commands when the pickle file is loaded.
Executive ViewAI
Picklescan, a Python malware scanning tool, contains a bypass vulnerability that allows attackers to disguise malicious pickle files as safe. Organizations using Picklescan for security validation face a critical control failure: malware could pass scanning and execute arbitrary commands when deserialized, undermining the tool's core protective function.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement network segmentation to isolate systems that deserialize pickle files, limiting command execution blast radius; (2) Avoid accepting pickle files from untrusted or external sources; (3) Where possible, migrate to alternative data serialization formats (JSON, Protocol Buffers) to eliminate pickle deserialization; (4) Deploy host-based intrusion detection to flag suspicious os module imports and subprocess calls following Picklescan validation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Picklescan
View allRemote code execution against users of picklescan versions prior to 1.0.4 is achievable by smuggling any blocked functio
An Improper Handling of Exceptional Conditions vulnerability in the ZIP archive scanning component of mmaitre314 pickles
A Protection Mechanism Failure vulnerability in mmaitre314 picklescan versions up to and including 0.0.30 allows a remot
An Improper Input Validation vulnerability in the scanning logic of mmaitre314 picklescan versions up to and including 0
Detection bypass in picklescan prior to 0.0.29 allows attackers to smuggle remote code execution payloads through pickle
Detection bypass in picklescan versions before 0.0.25 allows attackers to embed remote code execution payloads in pickle
Detection bypass in picklescan before 0.0.28 allows attackers to embed malicious torch.jit.unsupported_tensor_ops.execWr
Detection bypass in picklescan before 0.0.28 allows attackers to smuggle arbitrary code through pickle files by abusing
Detection bypass in picklescan before 0.0.29 allows malicious pickle files to evade scanning by abusing the undetected i
Detection bypass in picklescan versions before 0.0.30 allows malicious pickle files to evade security scanning by using
Detection bypass in picklescan versions prior to 0.0.29 allows attackers to smuggle arbitrary code execution payloads th
Detection bypass in picklescan before 0.0.33 allows attackers to smuggle arbitrary code through malicious pickle files b
EUVD-2025-210388
GHSA-7jm4-f7vj-6pcc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB