Skip to main content

picklescan CVE-2026-3490

CRITICAL
Permissive List of Allowed Inputs (CWE-183)
2026-06-17 VulnCheck GHSA-vvpj-8cmc-gx39
10.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Craft pickle with pkgutil.resolve_name STACK_GLOBAL
  2. Delivery
    Publish artifact to model hub or repo
  3. Exploit
    Victim's pipeline runs picklescan 1.0.3 and reports CLEAN
  4. Install
    Victim torch.load or pickle.loads the artifact
  5. C2
    First REDUCE resolves os.system reference
  6. Execute
    Second REDUCE executes attacker command
  7. Impact
    RCE in MLOps service account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Strict input allowlisting
Exploitation Conditions

Exploitation requires that the victim run picklescan version 1.0.3 or earlier as a gating control over an attacker-controlled pickle file and then unpickle (or otherwise execute) that file after picklescan reports it clean - picklescan itself does not execute the payload, it only fails to flag it. No authentication, no network listener on the victim, and no non-default picklescan configuration are needed: the default blocklist is what is bypassed. Limiting factors are that the attacker must deliver the pickle to a workflow that both scans AND loads it (typical ML model-ingestion pipelines, Hugging Face downloaders, CI artifact checks), and that environments which avoid pickle entirely (safetensors-only) or sandbox unpickling are not reachable through this bug.

Impact

Signals converge on a real, high-priority risk rather than a paper score. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with VC/VI/VA/SC/SI/SA all High justifies the 10.0 rating: an attacker only needs to publish a malicious pickle (e.g. a model on a public hub) for the vulnerability to fire when picklescan greenlights it and a downstream consumer loads the artifact, and the downstream impact (arbitrary code execution in the consuming process) propagates to the subsequent system. The GHSA advisory ships a complete decompiled exploit, so publicly available exploit code effectively exists even though no CISA KEV listing or independent EPSS figure is provided in the input. The main caveat is that the vulnerability is a scanner false-negative rather than a remote service flaw: actual harm requires that a victim both scan AND subsequently unpickle the attacker-supplied file, which CVSS encodes as UI:N because the load is the normal next step in the workflow picklescan is meant to gate. KEV status and EPSS are absent from the provided data and should be re-checked before deprioritizing.

Exploit ScenarioDerived

An attacker uploads a malicious PyTorch model or pickle artifact to a public model hub; the target organization's MLOps pipeline runs picklescan 1.0.3 over the file and reports CLEAN because only pkgutil.resolve_name appears in the opcode stream. When the model is subsequently torch.loaded, the chained REDUCEs execute os.system('curl … | sh') in the training or inference container, giving the attacker code execution under the service account - the GHSA advisory publishes the exact two-REDUCE pickle template, so adapting it requires no novel research.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
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 17, 2026

Remote code execution against users of picklescan versions prior to 1.0.4 is achievable by smuggling any blocked function past its scanner using pkgutil.resolve_name as an indirection primitive. Because pkgutil.resolve_name is not on the blocklist, an attacker can chain two REDUCE opcodes to resolve and invoke os.system, builtins.exec, subprocess.call, or any other dangerous function while the scanner reports the pickle as CLEAN - a universal blocklist bypass that defeats picklescan's entire safety premise. No public exploit is identified in CISA KEV, but the GHSA advisory authored by VulnCheck publishes a complete working technique, so weaponization is trivial.

RemediationAI

Upgrade picklescan to the vendor-released patched version 1.0.4 from PyPI (pip install --upgrade 'picklescan>=1.0.4'), which adds pkgutil.resolve_name (and related indirection primitives) to the blocklist - see https://github.com/mmaitre314/picklescan/security/advisories/GHSA-vvpj-8cmc-gx39 for advisory details. Until the upgrade is rolled out across all CI workers and scanning services, treat picklescan output on versions <=1.0.3 as unreliable: refuse to load pickles from untrusted sources regardless of scanner verdict, prefer non-pickle model formats such as safetensors which removes the arbitrary-code surface entirely, and if pickles must be loaded run them inside a sandbox (seccomp/firejail/dedicated container with no network and read-only filesystem). As a stopgap blocklist patch, organizations can fork or monkey-patch picklescan to add pkgutil.resolve_name, importlib.import_module, operator.attrgetter, and similar dynamic-resolution helpers to _unsafe_globals, accepting that this is a denylist that may still miss further indirection gadgets.

Affected Packages

pypi picklescan fix: 1.0.4

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 byte streams for references to dangerous callables by walking opcodes such as GLOBAL, INST, and STACK_GLOBAL and matching them against a blocklist (_unsafe_globals) of imports like os.system or subprocess.call. The Python standard-library helper pkgutil.resolve_name takes a 'module:attribute' string and returns the corresponding object at runtime, effectively performing a dynamic import; because it was not in picklescan's blocklist, a crafted pickle can push pkgutil.resolve_name via STACK_GLOBAL, REDUCE it with the string 'os:system' to obtain the real os.system object on the unpickler stack, and then REDUCE again to invoke it. picklescan only analyzes GLOBAL-style references and treats the second REDUCE's stack target as opaque data, mapping directly to CWE-183 (Permissive List of Allowed Inputs) - the blocklist is incomplete and contains no entry that ever needed to be invoked by name to reach the dangerous primitive. The affected component per CPE is cpe:2.3:a:picklescan:picklescan:*:*:*:*:*:*:*:* across all versions up to and including 1.0.3, distributed via PyPI/pip and frequently embedded in ML pipelines that vet model weights from sources such as Hugging Face.

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 10.0 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 10.0 CRITICAL

Attacker delivers a malicious pickle over the network with no privileges or user interaction beyond the normal scan-then-load workflow; scope changes because the scanner's failure causes RCE in the consuming process, with full CIA impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

picklescan before 1.0.4 fails to block pkgutil.resolve_name, allowing attackers to bypass the entire blocklist by resolving any dangerous function through indirect REDUCE calls. Remote attackers can invoke any blocked function such as os.system, builtins.exec, or subprocess.call to achieve remote code execution.

Executive ViewAI

Why It Matters

picklescan, a critical validation library for Python data deserialization, cannot prevent code execution in versions before 1.0.4-publicly available exploit code exists. Organizations relying on this library face direct risk of remote system compromise when processing external data. Immediate action is required to contain the risk across all affected systems.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable pickle deserialization in non-critical applications; restrict pickle processing to data from verified internal sources only; execute pickle deserialization in isolated processes with minimal system privileges; implement strict input validation and source authentication; migrate to alternative serialization formats (JSON, Protocol Buffers, msgpack) where possible; segment network access to systems performing deserialization; establish enhanced monitoring for suspicious process execution in pickle processing workflows.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub

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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Very High
Technical Impact
Total

Priority Score

71
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:picklescan:picklescan:*:*:*:*:*:*:*:*
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

CVE-2025-71354 HIGH POC
7.6 Jun 24

Detection bypass in picklescan before 0.0.29 allows attackers to craft malicious pickle files using idlelib.debugobj.Obj

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