Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft pickle with _operator.attrgetter reduce
-
DeliveryDistribute file via model hub
-
ExploitVictim scans with picklescan <0.0.34
-
ExecutionScanner fails to flag payload
-
PersistVictim calls pickle.load() on file
-
ImpactExecute arbitrary code in pipeline
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 use picklescan at a version before 0.0.34 as their vetting control AND subsequently deserialize the file with pickle.load(); the malicious file must specifically use _operator.attrgetter within a pickle reduce method to evade the scanner's denylist. Limiting factors: the attacker does not execute code directly through picklescan - a downstream pickle.load() on the cleared file is mandatory (reflected as UI:P and AT:P in CVSS 4.0), and the attack only matters where picklescan is trusted as the gate, so environments that use safetensors or never load untrusted pickles are not exposed. No authentication is required to deliver the file (PR:N), consistent with malicious files distributed via public model repositories. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N, base 7.6) captures the real shape well: network-delivered malicious files, no authentication, but two mitigating gates - AT:P (an attack requirement / the target must actually run picklescan and then load the file) and UI:P (a user/pipeline must process the crafted file). There is no EPSS score, no CISA KEV listing, and no public PoC in the provided data, so this is not evidence of widespread active exploitation - it is a defense-evasion weakness whose danger is conditional on picklescan being the relied-upon gate. Note a subtle nuance defenders should weigh: picklescan itself does not execute the payload; the RCE materializes only when downstream code calls pickle.load() on the file that picklescan wrongly cleared, so the true impact depends on the surrounding pipeline. Treat as a meaningful patch-soon issue for anyone using picklescan as a safety control, rather than an emergency mass-exploitation event. |
| Exploit ScenarioDerived | An attacker uploads a crafted ML model to a public model hub, embedding a reduce method that uses _operator.attrgetter to assemble a code-execution primitive. A victim organization scans the model with a pre-0.0.34 picklescan, which reports it as safe, and then loads it with pickle.load() in their training or inference pipeline - executing the attacker's code in that environment. No public PoC is referenced in the available data, and success requires the victim to both scan and subsequently deserialize the file (AT:P/UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 04, 2026
Security-scanner detection bypass in picklescan before 0.0.34 lets attackers slip malicious pickle files past its checks by invoking _operator.attrgetter inside a reduce method, so a file the scanner reports as clean still executes arbitrary code when pickle.load() deserializes it. The flaw affects ML/AI supply-chain pipelines that rely on picklescan to vet untrusted model files. No public exploit identified at time of analysis; the issue was reported by VulnCheck and fixed in 0.0.34.
RemediationAI
Vendor-released patch: upgrade picklescan to version 0.0.34 or later, which adds detection for _operator.attrgetter, then re-scan any model files previously cleared by an older version. Until upgraded, do not treat picklescan output from vulnerable versions as authoritative: avoid loading pickle-format models from untrusted sources, and where possible switch model serialization to a non-executable format such as safetensors, which eliminates the pickle code-execution class entirely (trade-off: requires converting existing artifacts and only covers tensor weights). As a compensating control, run any required pickle loading inside a sandboxed/network-isolated, least-privilege environment so that a bypassed payload cannot reach sensitive resources (trade-off: added pipeline complexity and latency). See GHSA-46h3-79wf-xr6c and the VulnCheck advisory (https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-operator-attrgetter-detection-bypass) for confirmation.
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 static-analysis tool that inspects pickle serialization streams for dangerous global/reduce opcodes before a model is loaded, and is used across the ML ecosystem (e.g., Hugging Face model vetting). The root cause is CWE-502 (Deserialization of Untrusted Data) expressed as an incomplete denylist: picklescan enumerates known dangerous callables but omitted _operator.attrgetter, a stdlib factory that returns a callable retrieving named attributes. Because attrgetter can be chained to resolve arbitrary attributes/callables at unpickling time, an attacker can reach code-execution primitives that the scanner never flagged, defeating the very control meant to make pickle loading safe. The single affected package is identified by cpe:2.3:a:picklescan:picklescan:*:*:*:*:*:*:*:* for all versions prior to 0.0.34.
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
Malicious file delivered over network (AV:N) with no auth (PR:N) but needs the victim to scan-then-load it (UI:R); successful pickle code execution yields full host compromise (C/I/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
picklescan before 0.0.34 fails to detect _operator.attrgetter function calls in pickle payloads, allowing attackers to bypass security checks. Remote attackers can craft malicious pickle files using _operator.attrgetter in reduce methods to execute arbitrary code when pickle.load() processes the file.
Executive ViewAI
Picklescan, a tool used to validate untrusted machine learning model files, contains a detection bypass vulnerability in versions prior to 0.0.34 that allows attackers to slip malicious code past its security checks. Organizations dependent on picklescan for model supply-chain security are at immediate risk of code execution through compromised model files delivered via ML/AI pipelines.
Apply vendor patch.
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.
Related Vulnerabilities in picklescan Malicious Pickle Detection Bypass
View all 16More 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-210421
GHSA-j2vq-r4j3-cj5m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB