Skip to main content

Picklescan CVE-2025-71355

| EUVDEUVD-2025-210388 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2026-06-30 VulnCheck GHSA-7jm4-f7vj-6pcc
7.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft pickle with numpy.runstring reduce gadget
  2. Delivery
    Distribute as trusted ML model file
  3. Exploit
    Picklescan scan returns safe verdict
  4. Execution
    Victim deserializes the pickle
  5. Persist
    Numpy global imports os
  6. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

picklescan 0 <0.0.25

Affected Packages

pypi picklescan fix: 0.0.25

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

Vendor (VulnCheck) PRIMARY 7.6 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 02:16 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 58% exploitable
Prevalence
Low
niche Python pickle-scanning tool used mainly in ML supply-chain pipelines
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-3490 CRITICAL POC
10.0 Jun 17

Remote code execution against users of picklescan versions prior to 1.0.4 is achievable by smuggling any blocked functio

CVE-2025-10156 CRITICAL POC
9.3 Sep 17

An Improper Handling of Exceptional Conditions vulnerability in the ZIP archive scanning component of mmaitre314 pickles

CVE-2025-10157 CRITICAL POC
9.3 Sep 17

A Protection Mechanism Failure vulnerability in mmaitre314 picklescan versions up to and including 0.0.30 allows a remot

CVE-2025-10155 CRITICAL POC
9.3 Sep 17

An Improper Input Validation vulnerability in the scanning logic of mmaitre314 picklescan versions up to and including 0

CVE-2025-71341 HIGH POC
7.6 Jun 23

Detection bypass in picklescan prior to 0.0.29 allows attackers to smuggle remote code execution payloads through pickle

CVE-2025-71351 HIGH POC
7.6 Jun 21

Detection bypass in picklescan versions before 0.0.25 allows attackers to embed remote code execution payloads in pickle

CVE-2025-71370 HIGH POC
7.6 Jun 23

Detection bypass in picklescan before 0.0.28 allows attackers to embed malicious torch.jit.unsupported_tensor_ops.execWr

CVE-2025-71348 HIGH POC
7.6 Jun 21

Detection bypass in picklescan before 0.0.28 allows attackers to smuggle arbitrary code through pickle files by abusing

CVE-2025-71361 HIGH POC
7.6 Jun 24

Detection bypass in picklescan before 0.0.29 allows malicious pickle files to evade scanning by abusing the undetected i

CVE-2025-71378 HIGH POC
7.6 Jun 21

Detection bypass in picklescan versions before 0.0.30 allows malicious pickle files to evade security scanning by using

CVE-2025-71376 HIGH POC
7.6 Jun 23

Detection bypass in picklescan versions prior to 0.0.29 allows attackers to smuggle arbitrary code execution payloads th

CVE-2025-71365 HIGH POC
7.6 Jun 23

Detection bypass in picklescan before 0.0.33 allows attackers to smuggle arbitrary code through malicious pickle files b

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy