Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft pickle invoking numpy.f2py.crackfortran eval gadget
-
DeliveryPublish as trojanized model on untrusted hub
-
ExploitVictim scans with picklescan <0.0.33, gets clean verdict
-
ExecutionVictim unpickles the file
-
Persisteval executes arbitrary Python
-
ImpactAttacker gains 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 0.0.32 or earlier to screen a pickle obtained from an untrusted source, that numpy is installed and importable where the pickle is deserialized (numpy.f2py.crackfortran is the specific eval sink abused), and that the victim actually loads/unpickles the file (the passive UI:P interaction). Limiting factors: the flaw only helps an attacker whose target uses this specific scanner as its safety gate, the payload must be delivered as a file the victim chooses to open, and environments without numpy or those that never rely on picklescan's verdict are not exposed; the attacker needs no authentication (PR:N). |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N) reflects a network-delivered file that requires passive user interaction (loading/scanning an untrusted pickle) plus an attack requirement (AT:P) - namely numpy present and the victim relying on picklescan for vetting. Confidentiality and integrity impact are High (arbitrary code execution) while availability is rated None. No EPSS score was provided and the CVE is not in CISA KEV, so there is no evidence of active exploitation, and no POC was included, so this is best treated as no public exploit identified at time of analysis. Practical risk is bounded: harm only materializes for users who run picklescan < 0.0.33 as their safety gate AND then load the attacker's file - this is a scanner-evasion/defense-in-depth failure rather than a directly wormable RCE, making it a real but targeted supply-chain risk, not a mass-exploitation emergency. The signals are internally consistent; the main gaps are the absent EPSS score and any exploitation telemetry. |
| Exploit ScenarioDerived | An attacker publishes a trojanized model or artifact (e.g. on a public model hub) containing a pickle that reduces onto a numpy.f2py.crackfortran function with a malicious string argument. A victim runs picklescan < 0.0.33 to vet the download, receives a clean verdict, and then loads the file - at which point crackfortran's internal eval() executes the attacker's Python. No POC was provided in the intelligence, so this scenario is derived from the described mechanism and the AV:N/UI:P/AT:P CVSS metrics. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 04, 2026
Malicious-pickle detection bypass in picklescan before 0.0.33 lets attackers smuggle arbitrary code past the scanner by abusing numpy.f2py.crackfortran functions that call eval() on attacker-controlled strings. Because picklescan is itself the security tool meant to vet untrusted pickle/model files, this evasion causes a weaponized pickle to be marked safe, so the embedded code executes when the file is later deserialized. Reported by VulnCheck with a CVSS 4.0 score of 7.6; no public exploit identified at time of analysis and it is not in CISA KEV.
RemediationAI
Upgrade picklescan to the fixed release - Vendor-released patch: 0.0.33 - via pip (pip install --upgrade 'picklescan>=0.0.33') and rebuild any container images or CI pipelines that pin an older version, per GHSA-r8g5-cgf2-4m4m. Until upgraded, do not treat a picklescan pass as proof of safety for untrusted pickles: prefer safer serialization such as safetensors for model weights, and load untrusted pickles only in a sandboxed, network-isolated, least-privilege environment so the eval payload cannot cause real damage, at the cost of added operational overhead. As an additional compensating control, explicitly add numpy.f2py.crackfortran (and the broader numpy.f2py namespace) to any custom deserialization deny logic to block this specific gadget, accepting that such a hand-maintained list may still miss other eval sinks.
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 utility that statically inspects pickle opcode streams for dangerous global imports/callables before an object or model is unpickled, and is widely used to guard ML supply chains (e.g. models pulled from public hubs). The root cause is CWE-502 (Deserialization of Untrusted Data) manifesting as an incomplete detection blocklist: picklescan did not classify numpy.f2py.crackfortran helper functions as dangerous, yet several of those functions internally call eval() on string arguments. An attacker can craft a pickle whose GLOBAL/REDUCE opcodes invoke a crackfortran function with a malicious expression, which the scanner deems benign but which evaluates arbitrary Python at load time. The affected component per CPE is cpe:2.3:a:picklescan:picklescan up to 0.0.32, fixed in 0.0.33; exploitation additionally depends on numpy being importable in the victim environment.
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
Untrusted file delivered over the network (AV:N) but success needs a specific crackfortran gadget plus numpy present (AC:H) and the victim must load the file (UI:R); arbitrary code execution yields full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
picklescan before 0.0.33 fails to detect unsafe deserialization when numpy.f2py.crackfortran functions call eval on arbitrary strings. Attackers can embed malicious code in pickle files that executes when loaded from untrusted sources.
Executive ViewAI
Picklescan, the primary security tool for validating untrusted Python serialized objects, contains a detection bypass allowing attackers to smuggle arbitrary code past the scanner and into files marked as safe. Organizations using picklescan to protect machine learning pipelines, data processing, and external model handling face direct risk of code execution during deserialization. This directly undermines security defenses for systems processing untrusted pickle files.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict pickle deserialization to trusted sources only; implement OS-level sandboxing (containers, VMs) for pickle processing; apply network segmentation to isolate pickle processing systems; implement strict input validation and file source verification; monitor picklescan GitHub repository for patch release.
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.
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-210418
GHSA-r9x2-mw85-9c4x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB