Skip to main content

picklescan CVE-2025-71375

| EUVDEUVD-2025-210425 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-04 VulnCheck GHSA-xgj3-g5r2-m8rf
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 payload using _operator.methodcaller
  2. Delivery
    Publish poisoned model to public hub
  3. Exploit
    Victim scans file with picklescan <0.0.34
  4. Execution
    Scanner returns clean verdict
  5. Persist
    Victim calls pickle.load()
  6. Impact
    Arbitrary code executes with victim privileges

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 uses picklescan before 0.0.34 as their vetting step AND then deserializes the scanned file with pickle.load() (or an equivalent unpickling call) - the malicious payload must specifically use the _operator.methodcaller built-in, which the pre-0.0.34 denylist does not detect. Limiting factors: the victim must actually route the attacker-controlled pickle through the vulnerable scanner and choose to load it (passive user interaction, UI:P), and the attack precondition (AT:P) means the flaw does nothing on its own - it only matters when picklescan is trusted as the safety gate. Environments that never load untrusted pickles, or that use safetensors, are not exposed even on vulnerable versions.

Impact

The vendor 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 low-complexity but requires both an attack precondition (AT:P - the victim must actually route an untrusted pickle through picklescan and then load it) and passive user interaction (UI:P). Confidentiality and integrity impact are High while availability is unaffected, consistent with arbitrary code execution in the loading process. There is no EPSS score, no KEV listing, and no evidence of a public POC in the provided data, so this is a credible supply-chain risk rather than a mass-exploited emergency - its severity is gated on the victim relying on picklescan as their trust boundary. The primary risk multiplier is that the tool's whole purpose is detection, so a bypass silently converts a 'clean' verdict into executed malware.

Exploit ScenarioDerived

An attacker publishes a poisoned model or pickle artifact to a public model hub or shared repository, embedding an _operator.methodcaller-based payload. A victim who screens downloads with a vulnerable picklescan (<0.0.34) receives a clean verdict, trusts the file, and calls pickle.load() - at which point the payload executes arbitrary code with the victim's privileges. No public POC is referenced in the source data, and the low complexity but required user interaction (loading the vetted file) match the CVSS AT:P/UI:P metrics.

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

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

Alert me

AnalysisAIv1 – Jul 04, 2026

Malicious code execution via scanner bypass affects picklescan before 0.0.34, a security tool used to vet pickle files for unsafe deserialization before loading ML model artifacts. The scanner fails to flag the _operator.methodcaller built-in, so an attacker can craft a pickle that passes picklescan's malware check yet executes arbitrary code the moment a victim calls pickle.load(). No public exploit has been identified at time of analysis, and the flaw is not on CISA KEV; the fix landed in version 0.0.34.

RemediationAI

Vendor-released patch: 0.0.34 - upgrade picklescan to 0.0.34 or later (e.g., pip install --upgrade 'picklescan>=0.0.34') so the scanner recognizes _operator.methodcaller as an unsafe global, per the GHSA-955r-x9j8-7rhh advisory. Because a scanner bypass is only exploitable if you actually load the file, the strongest compensating control is to avoid pickle for untrusted inputs entirely: prefer safetensors or another non-executable serialization format for ML weights, which eliminates the deserialization class rather than patching one bypass (trade-off: requires converting/re-exporting existing model artifacts). Where pickle is unavoidable, load untrusted files only inside a sandboxed, network-isolated, least-privilege process and treat any picklescan 'clean' result on a pre-0.0.34 version as untrustworthy; do not rely on scanning alone as your trust boundary until the upgrade is applied.

Affected VersionsENISA

picklescan 0 <0.0.34

Affected Packages

pypi picklescan fix: 0.0.34

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 library and CLI that statically inspects pickle opcodes to detect dangerous global/reduce references before deserialization, commonly deployed in ML supply-chain pipelines (e.g., scanning Hugging Face model files). The root cause is CWE-502 (Deserialization of Untrusted Data) compounded by an incomplete denylist: picklescan enumerates known-dangerous callables but omitted _operator.methodcaller from its unsafe-globals set. methodcaller returns a callable that invokes an arbitrary named method on its argument, which pickle's REDUCE machinery can chain into code execution. Because the affected component is the scanner itself (cpe:2.3:a:picklescan:picklescan:*), every version prior to 0.0.34 provides a false sense of safety rather than a direct vulnerability in a runtime service.

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 8.1 HIGH

Attacker-supplied file is network-delivered (AV:N) and simple to craft (AC:L), but code runs only when the victim scans and loads it (UI:R); full C/I compromise via code execution, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/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 04, 2026 - 03:01 EUVD

DescriptionCVE.org

picklescan before 0.0.34 fails to detect the _operator.methodcaller built-in function when scanning pickle files for malicious code. Attackers can craft malicious pickle payloads using _operator.methodcaller that evade detection and execute arbitrary code when loaded by pickle.load().

Executive ViewAI

Why It Matters

picklescan, a security tool deployed to validate pickle files before loading machine learning model artifacts, contains a critical bypass vulnerability (CVE-2025-71375) that allows attackers to craft malicious files that pass validation checks yet execute arbitrary code when loaded. Organizations using picklescan have a complete breakdown of this security control, creating supply-chain risk for ML model deployments and enabling code execution through artifacts believed to be safe.

Business Impact: High
Compensating Controls

Vendor-released patch: version 0.0.34

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Low
niche ML-security scanning tool, limited to pickle-vetting pipelines
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.4%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
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