Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft pickle with cProfile.run in __reduce__
-
DeliveryDeliver file to target/model hub
-
Exploitpicklescan scan passes undetected
-
ExecutionVictim calls pickle.load
-
PersistcProfile.run executes payload
-
ImpactArbitrary code execution on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim relies on picklescan (a version before 0.0.30) to vet untrusted pickle/model files AND subsequently deserializes the attacker's file with |
| Impact | This is a meaningful but conditional risk. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N, score 7.6) captures the key nuance: no attacker authentication (PR:N), but exploitation has an attack requirement (AT:P) and passive user interaction (UI:P) - the victim must actually run picklescan and then deserialize the file, and the file must reach them. No EPSS score, KEV entry, or POC was provided, so there is no evidence of active or widespread exploitation; treat this as a defense-in-depth weakness rather than an internet-facing emergency. The real-world severity is amplified by the type of organization affected - those that adopted picklescan precisely because they handle untrusted models - and dampened by the fact that the bypass only matters where picklescan is the trusted gate. Note a consistency caveat: the input vector sets VA:N (no availability impact) even though arbitrary code execution would typically permit availability loss; the C/I impact (VC:H/VI:H) is well-aligned with RCE. |
| Exploit ScenarioDerived | An attacker uploads a malicious model or pickle file to a public model hub or sends it to a target that screens incoming artifacts with picklescan. picklescan reports the file as clean because the payload is hidden behind a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 30, 2026
Scanner-detection bypass in picklescan before 0.0.30 lets a crafted pickle file evade malicious-code detection and execute arbitrary code on deserialization. The tool - a Python security scanner used to vet untrusted pickle/ML model files - fails to flag cProfile.run calls embedded in a pickle object's __reduce__ method, so a payload routed through cProfile.run passes the scan and then runs when the file is loaded. Reported by VulnCheck (CWE-502); no public exploit identified at time of analysis and it is not in CISA KEV.
RemediationAI
Vendor-released patch: upgrade picklescan to version 0.0.30 or later, which adds detection for cProfile.run in reduce methods (advisory: https://github.com/mmaitre314/picklescan/security/advisories/GHSA-49gj-c84q-6qm9). Pin the fixed version in requirements/lockfiles and rebuild any container images or CI jobs that vendor an older copy. Until you can upgrade, do not treat a clean picklescan result as sufficient assurance: avoid pickle.load on untrusted model files entirely, prefer non-executable formats such as safetensors where possible, and load any unavoidable pickle content in a sandboxed/network-isolated, least-privilege environment so that code execution is contained - the trade-off is added operational friction and slower model onboarding. Where feasible, layer a second scanner (e.g., another deserialization analyzer) so a single tool's blind spot is not the only control.
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 defensive Python library that statically inspects pickle streams (and ML model archives) for known dangerous opcodes and callable references before a victim deserializes them, acting as a guardrail in ML supply chains such as model-hub downloads. The flaw is a CWE-502 (Deserialization of Untrusted Data) issue manifesting as an allow-list/detection gap: Python's pickle __reduce__ protocol can name an arbitrary callable to invoke at load time, and picklescan's blocklist of dangerous callables did not include cProfile.run, which itself executes a passed code string/statement. An attacker therefore wraps the real payload so the only top-level callable seen is cProfile.run, which the scanner treats as benign; on pickle.load, cProfile.run executes the attacker-supplied code. The CPE cpe:2.3:a:picklescan:picklescan:* confirms the affected component is the picklescan package itself, not the downstream application embedding it.
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
Remote, no attacker auth (PR:N), but requires the victim to use picklescan and then load the file (AC:H/UI:R); successful unpickling 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.30 fails to detect cProfile.run function calls in pickle reduce methods, allowing attackers to execute arbitrary code. Remote attackers can craft malicious pickle files with cProfile.run payloads that bypass picklescan detection and achieve code execution upon deserialization.
Executive ViewAI
picklescan, a Python security scanner used to validate untrusted pickle files and ML models before execution, fails to detect a specific malicious payload pattern using cProfile.run, enabling arbitrary code execution on deserialization. Organizations relying on picklescan as a security control for processing external or user-supplied serialized Python objects face immediate risk of code execution if malicious files pass undetected scanning.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict pickle deserialization to whitelisted, internally-generated files only; (2) Isolate pickle loading in sandboxed processes with minimal OS privileges; (3) Supplement picklescan with additional static analysis scanning for __reduce__ patterns and cProfile imports before deserialization; (4) Disable picklescan as a standalone security control-conduct manual security review of high-risk pickle sources until patch is verified and deployed.
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-210389
GHSA-r9rj-xr26-286v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB