Skip to main content

picklescan EUVDEUVD-2026-38123

| CVE-2026-56304 MEDIUM
Deserialization of Untrusted Data (CWE-502)
2026-06-20 VulnCheck GHSA-hqgf-f82p-fjh7
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted pickle file to picklescan service
  2. Delivery
    picklescan deserializes payload during scan
  3. Exploit
    REDUCE opcode instantiates logging.FileHandler
  4. Execution
    FileHandler creates zero-byte file at attacker-specified path
  5. Persist
    Lock file triggers application logic disruption
  6. Impact
    Denial of service achieved

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

The target system must be running picklescan version below 1.0.1 and must accept or process pickle files from untrusted sources (e.g., user uploads, network-delivered scan targets). No authentication is required - the CVSS 4.0 vector confirms PR:N and UI:N, meaning exploitation requires only the ability to submit a pickle file to any picklescan-backed endpoint. No non-default configuration is needed; picklescan's default behavior of deserializing content during analysis is sufficient. Exploitation is limited to creating new zero-byte files only - it cannot overwrite existing files or read data (VC:N in the CVSS vector). The practical DoS impact depends on whether the application uses file-based locking or configuration sentinel files that the attacker can predict or enumerate.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L) scores 6.9, reflecting a moderate severity due to constrained impact - integrity and availability are both Low, and confidentiality is unaffected. The real-world risk is nuanced: while the CVSS score alone suggests moderate priority, the attack is trivially exploitable (no authentication, no user interaction, no special configuration), a working PoC is publicly documented in the GHSA advisory, and the primitive specifically targets picklescan's core function of scanning untrusted files. Any pipeline or service that accepts and scans user-submitted pickle files is directly exposed. The impact ceiling is denial of service via lock-file creation (e.g., maintenance.lock or .lock files that trigger application logic), not data theft or full RCE, which limits the severity compared to a pure RCE. No CISA KEV listing exists, and EPSS data was not provided in the input. The combination of zero-authentication exploitation, public PoC, and targeted disruption potential makes this a real operational priority for any service ingesting pickle files for scanning.

Exploit ScenarioDerived

An attacker submits a specially crafted pickle file to any service or pipeline that invokes picklescan to analyze user-uploaded files. The malicious pickle uses the REDUCE opcode to call logging.FileHandler('maintenance.lock'), which picklescan deserializes during scanning; this creates a zero-byte maintenance.lock file in the working directory. If the application logic polls for that file's existence to enter maintenance mode or halt processing, the result is a sustained denial of service without any RCE. A working PoC demonstrating this technique is included in the GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 22, 2026

Unsafe pickle deserialization in picklescan before 1.0.1 allows unauthenticated remote attackers to create arbitrary zero-byte files on the server by crafting malicious pickle payloads that instantiate Python's standard-library logging.FileHandler class. This technique bypasses RCE-focused blocklists because it abuses legitimate standard library functionality rather than commonly blocked modules, making it a notable blocklist-evasion primitive. A publicly available proof-of-concept exploit exists; no public exploit identified at time of analysis for active KEV-confirmed exploitation, but the PoC demonstrates concrete filesystem impact including lock-file-based denial of service.

RemediationAI

Upgrade picklescan to version 1.0.1 immediately; this is the vendor-confirmed fixed version per the GHSA advisory (https://github.com/mmaitre314/picklescan/security/advisories/GHSA-m7j5-r2p5-c39r) and the upstream fix is available via commit 4d9bc9cd34bca8672dad3481cd4556d5ba747156 and pull request https://github.com/mmaitre314/picklescan/pull/60. Run 'pip install --upgrade picklescan>=1.0.1' to remediate. If an immediate upgrade is not possible, the most effective compensating control is to avoid deserializing untrusted pickle files using the vulnerable picklescan version directly; instead, sandbox the scanning process inside a container or VM with a read-only filesystem or a strict seccomp/AppArmor profile that blocks open() system calls for write access - this prevents new file creation even if the payload executes. As an additional control, monitor for unexpected zero-byte file creation in application directories, particularly files matching common lock patterns (*.lock, maintenance.*). Note that restricting network-level access to the scanning service is not a viable workaround if the service is designed to accept externally submitted files.

Affected VersionsENISA

picklescan 0 <1.0.1

Affected Packages

pypi picklescan fix: 1.0.1

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 (cpe:2.3:a:picklescan:picklescan:*:*:*:*:*:*:*:*) is a Python security tool designed to detect malicious pickle files by scanning for dangerous opcodes and blocked class references. The irony of this vulnerability is that the scanner itself is vulnerable to the attack class it is meant to detect. CWE-502 (Deserialization of Untrusted Data) is the root cause: when picklescan processes a pickle file, it deserializes content before or during its analysis phase, allowing untrusted pickle opcodes to execute. The exploit chain leverages Python's pickle REDUCE opcode to instantiate logging.FileHandler - a standard library class that opens or creates a file upon construction. Because FileHandler is not a typical RCE-associated class (no exec, subprocess, os.system references), it evades keyword-based blocklists. On non-existent paths it creates a zero-byte file; on existing paths it opens in append mode without modifying content, limiting impact to file creation only.

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

Network-reachable with no auth or interaction (AV:N/PR:N/UI:N); impact limited to file creation (I:L) and lock-file DoS (A:L); no confidentiality impact.

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

Lifecycle Timeline

1
Patch available
Jun 20, 2026 - 17:16 EUVD

DescriptionCVE.org

picklescan before 1.0.1 contains an unsafe pickle deserialization vulnerability allowing unauthenticated attackers to create arbitrary zero-byte files via logging.FileHandler class instantiation. Attackers can exploit this by crafting malicious pickle payloads to bypass RCE blocklists and create lock files or other filesystem artifacts, potentially causing denial of service or application disruption.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Social Media
1
Sightings
Data Quality
6 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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