Skip to main content

picklescan EUVDEUVD-2025-210421

| CVE-2025-71367 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-04 VulnCheck GHSA-j2vq-r4j3-cj5m
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 _operator.attrgetter reduce
  2. Delivery
    Distribute file via model hub
  3. Exploit
    Victim scans with picklescan <0.0.34
  4. Execution
    Scanner fails to flag payload
  5. Persist
    Victim calls pickle.load() on file
  6. Impact
    Execute arbitrary code in pipeline

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 use picklescan at a version before 0.0.34 as their vetting control AND subsequently deserialize the file with pickle.load(); the malicious file must specifically use _operator.attrgetter within a pickle reduce method to evade the scanner's denylist. Limiting factors: the attacker does not execute code directly through picklescan - a downstream pickle.load() on the cleared file is mandatory (reflected as UI:P and AT:P in CVSS 4.0), and the attack only matters where picklescan is trusted as the gate, so environments that use safetensors or never load untrusted pickles are not exposed. No authentication is required to deliver the file (PR:N), consistent with malicious files distributed via public model repositories.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N, base 7.6) captures the real shape well: network-delivered malicious files, no authentication, but two mitigating gates - AT:P (an attack requirement / the target must actually run picklescan and then load the file) and UI:P (a user/pipeline must process the crafted file). There is no EPSS score, no CISA KEV listing, and no public PoC in the provided data, so this is not evidence of widespread active exploitation - it is a defense-evasion weakness whose danger is conditional on picklescan being the relied-upon gate. Note a subtle nuance defenders should weigh: picklescan itself does not execute the payload; the RCE materializes only when downstream code calls pickle.load() on the file that picklescan wrongly cleared, so the true impact depends on the surrounding pipeline. Treat as a meaningful patch-soon issue for anyone using picklescan as a safety control, rather than an emergency mass-exploitation event.

Exploit ScenarioDerived

An attacker uploads a crafted ML model to a public model hub, embedding a reduce method that uses _operator.attrgetter to assemble a code-execution primitive. A victim organization scans the model with a pre-0.0.34 picklescan, which reports it as safe, and then loads it with pickle.load() in their training or inference pipeline - executing the attacker's code in that environment. No public PoC is referenced in the available data, and success requires the victim to both scan and subsequently deserialize the file (AT:P/UI:P).

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

Security-scanner detection bypass in picklescan before 0.0.34 lets attackers slip malicious pickle files past its checks by invoking _operator.attrgetter inside a reduce method, so a file the scanner reports as clean still executes arbitrary code when pickle.load() deserializes it. The flaw affects ML/AI supply-chain pipelines that rely on picklescan to vet untrusted model files. No public exploit identified at time of analysis; the issue was reported by VulnCheck and fixed in 0.0.34.

RemediationAI

Vendor-released patch: upgrade picklescan to version 0.0.34 or later, which adds detection for _operator.attrgetter, then re-scan any model files previously cleared by an older version. Until upgraded, do not treat picklescan output from vulnerable versions as authoritative: avoid loading pickle-format models from untrusted sources, and where possible switch model serialization to a non-executable format such as safetensors, which eliminates the pickle code-execution class entirely (trade-off: requires converting existing artifacts and only covers tensor weights). As a compensating control, run any required pickle loading inside a sandboxed/network-isolated, least-privilege environment so that a bypassed payload cannot reach sensitive resources (trade-off: added pipeline complexity and latency). See GHSA-46h3-79wf-xr6c and the VulnCheck advisory (https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-operator-attrgetter-detection-bypass) for confirmation.

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 static-analysis tool that inspects pickle serialization streams for dangerous global/reduce opcodes before a model is loaded, and is used across the ML ecosystem (e.g., Hugging Face model vetting). The root cause is CWE-502 (Deserialization of Untrusted Data) expressed as an incomplete denylist: picklescan enumerates known dangerous callables but omitted _operator.attrgetter, a stdlib factory that returns a callable retrieving named attributes. Because attrgetter can be chained to resolve arbitrary attributes/callables at unpickling time, an attacker can reach code-execution primitives that the scanner never flagged, defeating the very control meant to make pickle loading safe. The single affected package is identified by cpe:2.3:a:picklescan:picklescan:*:*:*:*:*:*:*:* for all versions prior to 0.0.34.

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.8 HIGH

Malicious file delivered over network (AV:N) with no auth (PR:N) but needs the victim to scan-then-load it (UI:R); successful pickle code execution yields full host compromise (C/I/A:H).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/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.34 fails to detect _operator.attrgetter function calls in pickle payloads, allowing attackers to bypass security checks. Remote attackers can craft malicious pickle files using _operator.attrgetter in reduce methods to execute arbitrary code when pickle.load() processes the file.

Executive ViewAI

Why It Matters

Picklescan, a tool used to validate untrusted machine learning model files, contains a detection bypass vulnerability in versions prior to 0.0.34 that allows attackers to slip malicious code past its security checks. Organizations dependent on picklescan for model supply-chain security are at immediate risk of code execution through compromised model files delivered via ML/AI pipelines.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche ML supply-chain pickle-scanning library, security-tooling footprint only
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