Skip to main content

picklescan EUVDEUVD-2025-210419

| CVE-2025-71364 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-04 VulnCheck GHSA-cf85-jm34-89c3
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 asyncio _UnixSubprocessTransport._start reduce
  2. Delivery
    Publish as trusted model artifact
  3. Exploit
    Victim scans with picklescan <0.0.30, false clean
  4. Execution
    Victim deserializes on Linux host
  5. Persist
    Gadget spawns subprocess
  6. Impact
    Arbitrary command execution as loader

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 is running picklescan before 0.0.30 as their vetting step AND then deserializes the attacker's pickle on a Unix/Linux host (the gadget is a Unix asyncio subprocess transport). The limiting factors, reflected in AT:P and UI:P, are that the attacker cannot trigger anything alone - a human or automated pipeline must both scan and then load the malicious file, and the victim must have chosen to rely on picklescan's verdict rather than a sandbox. It does not require authentication (PR:N) or attacker access to the victim environment; it is a delivery-and-trust attack against Linux-based ML ingestion workflows, and it does not apply where safetensors or sandboxed loading is used instead.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N) scores 7.6 (High): network-delivered, low complexity, no privileges, but with an attack requirement (AT:P) and passive user interaction (UI:P), reflecting that a victim must actually run picklescan and then load the 'cleared' pickle. There is no EPSS score, no KEV listing, and no POC flagged in the provided data, so all three real-world-exploitation signals are absent or unknown - this reads as a credible, disclosed technique rather than mass exploitation. The nuanced risk is second-order: the flaw does not execute code in picklescan, it defeats the control that was supposed to catch code execution, so the true blast radius depends on how much a given pipeline trusts a picklescan 'clean' verdict. Priority is elevated for organizations that auto-ingest third-party models on picklescan's say-so; lower for those with sandboxing or additional scanners. No CVSS 3.1 vector was provided in the input, so the network/interaction characterization here is derived from the 4.0 vector only.

Exploit ScenarioDerived

An attacker publishes a malicious PyTorch/pickle model to a public model hub whose reduce method references asyncio.unix_events._UnixSubprocessTransport._start. A victim runs picklescan (pre-0.0.30), gets a clean verdict, trusts it, and loads the model on a Linux host - at which point the embedded gadget spawns an attacker-chosen command with the loading process's privileges. No POC is cited in the provided data, but the VulnCheck advisory documents the technique in detail.

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 – Jul 04, 2026

Detection bypass in picklescan before 0.0.30 lets a crafted pickle smuggle the asyncio.unix_events._UnixSubprocessTransport._start built-in past the scanner's malicious-opcode checks, so a model or pickle that picklescan reports as safe actually executes arbitrary OS commands when a victim deserializes it. Because picklescan is a security scanner used to vet untrusted ML artifacts (e.g. in AI model supply chains), this false-negative turns a trusted safety gate into a blind spot. No public exploit identified at time of analysis and it is not on CISA KEV, but the technique is fully described in the VulnCheck advisory.

RemediationAI

Vendor-released patch: picklescan 0.0.30 - upgrade to 0.0.30 or later (pip install --upgrade 'picklescan>=0.0.30') so the scanner detects the asyncio.unix_events._UnixSubprocessTransport._start gadget; see the advisory at https://github.com/mmaitre314/picklescan/security/advisories/GHSA-q77w-mwjj-7mqx. Until upgraded, do not treat a picklescan 'clean' result on unpatched versions as authoritative: load untrusted pickles/models only inside a network-isolated, least-privilege sandbox or container (trade-off: added pipeline latency and infrastructure), prefer non-executable formats such as safetensors where possible (trade-off: not all models ship in that format), and layer a second scanner or restrict model ingestion to trusted, signed sources (trade-off: operational overhead and reduced model availability). Blocking or monitoring subprocess creation from Python model-loading workers can catch exploitation attempts that slip past an outdated scanner.

Affected VersionsENISA

picklescan 0 <0.0.30

Affected Packages

pypi picklescan fix: 0.0.30

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 tool that statically inspects pickle files for dangerous reduce/GLOBAL references (functions like os.system, subprocess.Popen, eval) before a model is loaded, and is embedded in ML-artifact vetting workflows. The root cause is CWE-502 (Deserialization of Untrusted Data) combined with an incomplete denylist: Python pickle __reduce__ methods can name any importable callable, and picklescan's allow/deny logic did not flag asyncio.unix_events._UnixSubprocessTransport._start, an internal asyncio object that ultimately spawns a subprocess. An attacker embeds this built-in in a reduce tuple; the scanner sees an 'unknown/benign' global and passes the file, but the standard pickle/torch loader resolves and invokes it, launching an attacker-chosen process. The CPE cpe:2.3:a:picklescan:picklescan:*:*:*:*:*:*:*:* confirms the vulnerable component is picklescan itself, not the downstream loader.

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

Network-delivered malicious file with no auth (PR:N), but requires the victim to scan and then load it (UI:R); code execution yields high C and I, 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.30 fails to detect the asyncio.unix_events._UnixSubprocessTransport._start function in pickle reduce methods, allowing remote code execution. Attackers can craft malicious pickle files embedding this built-in function that evade detection but execute arbitrary commands when loaded.

Executive ViewAI

Why It Matters

picklescan, a security scanner for untrusted machine learning models, contains a detection bypass that causes it to falsely report malicious models as safe. Organizations using picklescan to vet models in their AI supply chains risk deploying models containing arbitrary code execution payloads that activate upon deserialization.

Business Impact: High
Compensating Controls

(1) Avoid deserializing untrusted pickles; prioritize non-pickle model formats (SavedModel, ONNX). (2) Deserialize models only in isolated containers with minimal privileges and no network access. (3) Implement subprocess monitoring and detection for suspicious process creation from model inference. (4) Use network segmentation to prevent lateral movement from compromised inference environments.

Threat Intelligence Overview

EPSS Score
0.6%
Top 58% exploitable
Prevalence
Medium
widely used pickle/ML-model security scanner in AI supply-chain 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.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
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