Skip to main content

picklescan EUVDEUVD-2025-210412

| CVE-2025-71345 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-04 VulnCheck GHSA-vwrw-h95r-ch46
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 invoking torch bottleneck gadget
  2. Delivery
    Publish/deliver as trusted model file
  3. Exploit
    Victim scans with vulnerable picklescan
  4. Execution
    Scanner returns clean (false negative)
  5. Persist
    Victim deserializes model
  6. Impact
    Arbitrary code executes as victim

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 (1) uses picklescan before 0.0.30 as their vetting step for an untrusted pickle/PyTorch model file, and (2) subsequently deserializes that same file - matching CVSS UI:P (the victim must open/load the artifact) and AT:P (a specific attack requirement). The concrete technical prerequisite is that PyTorch is installed in the loading environment so that the torch.utils.bottleneck.__main__.run_autograd_prof callable is importable during unpickling; without torch present, the gadget cannot resolve. Limiting factors that reduce real-world risk: it is not a network-service RCE, it needs the malicious model to reach and be loaded by the victim, and it only harms organizations that actually rely on picklescan as their safety gate (a plain torch.load would be compromised with or without the scanner).

Impact

This is a real but conditional supply-chain risk rather than a mass-exploitable network flaw. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H) scores 7.6 and correctly encodes the gating factors: AT:P (a specific attack requirement - the victim must actually route the file through picklescan and then load it) and UI:P (passive user interaction - the victim opens/deserializes the model). No EPSS score, KEV entry, or POC was provided, so probability signals are absent; the honest read is that exploitation is targeted and opportunistic (poisoned models on model hubs) rather than automatable at scale. A notable nuance: the danger only materializes for organizations that specifically trust picklescan as their safety check - for them a false negative is worse than no scan, because it converts a manual caution into false confidence. There is no direct conflict in the data, but the network attack vector should not be read as 'internet-facing service RCE'; the true delivery channel is a malicious model artifact.

Exploit ScenarioDerived

An attacker publishes a trojanized PyTorch model to a public model hub or sends it to a target, crafting the pickle to invoke torch.utils.bottleneck.__main__.run_autograd_prof so it runs their code on load. A victim runs picklescan (pre-0.0.30) on the file, receives a clean verdict, and then calls torch.load()/pickle.load(), at which point the payload executes with the victim's privileges. No public POC is referenced, but the technique mirrors known picklescan gadget-bypass classes.

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-pickle detection bypass in picklescan before 0.0.30 allows attackers to smuggle undetected remote code execution payloads past the scanner by abusing the torch.utils.bottleneck.__main__.run_autograd_prof gadget, which was absent from picklescan's dangerous-import blocklist. Because picklescan is used as a security gate to vet untrusted ML model files, a false-negative here means a crafted model passes as safe and executes arbitrary code when subsequently deserialized. Reported by VulnCheck via GHSA-4whj-rm5r-c2v8; no public exploit identified at time of analysis, and it is not on CISA KEV.

RemediationAI

Upgrade picklescan to version 0.0.30 or later, which adds torch.utils.bottleneck.__main__.run_autograd_prof to its detection set (Vendor-released patch: 0.0.30); pin this minimum in requirements/lockfiles and rebuild any container images or CI/CD scanners that bundle the library. Follow the fix per GHSA-4whj-rm5r-c2v8 and the VulnCheck advisory linked above. Because this is a detection-bypass rather than a code-execution bug in picklescan itself, do not treat the scanner as a sole control: prefer loading models with a safe format (safetensors) instead of pickle, and where pickle is unavoidable, deserialize untrusted models only in a sandboxed, network-isolated, least-privilege environment. As a compensating control until upgrade, block or quarantine externally sourced .bin/.pt/.pkl model files and require provenance/signature verification of model artifacts - the trade-off is added friction ingesting third-party models from hubs.

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 security tool that statically inspects Python pickle files (commonly PyTorch .bin/.pt model weights) for calls to known-dangerous callables before a user loads them. The weakness is CWE-502 (Deserialization of Untrusted Data) applied at the scanner layer: pickle's opcode stream can invoke arbitrary importable callables during unpickling, and picklescan relies on a blocklist of such callables. The torch.utils.bottleneck.__main__.run_autograd_prof function - part of PyTorch's bottleneck profiling utility - was not enumerated in that blocklist, so a REDUCE/GLOBAL opcode referencing it evaded detection. The only affected product per CPE is cpe:2.3:a:picklescan:picklescan (all versions before 0.0.30); the downstream impact lands on any host that unpickles the file, typically a PyTorch/ML pipeline.

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

AC:H because exploitation depends on the victim routing an untrusted model through vulnerable picklescan and having torch importable; UI:R for the victim loading the file; full RCE gives 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 04, 2026 - 03:01 EUVD

DescriptionCVE.org

picklescan before 0.0.30 fails to detect malicious pickle files that invoke torch.utils.bottleneck.__main__.run_autograd_prof function. Attackers can embed undetected code in pickle files that executes during deserialization, enabling remote code execution.

Executive ViewAI

Why It Matters

picklescan before version 0.0.30 contains a detection bypass (CVE-2025-71345) that allows attackers to deliver remote code execution payloads disguised as safe ML model files. Organizations relying on picklescan to validate untrusted model inputs face direct compromise risk, as malicious models will execute arbitrary code during deserialization while falsely appearing secure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict ML model sources to pre-approved, manually-reviewed repositories; (2) execute model deserialization in isolated sandboxed environments with restricted network access; (3) implement supplementary static analysis or code review of model files before deployment; (4) deploy network segmentation to limit RCE blast radius; (5) enable comprehensive logging and monitoring of all model loading and deserialization operations.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
niche but widely-embedded pickle-safety scanner in ML model pipelines
Social Media
3
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
Partial

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