Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted pickle file to picklescan service
-
Deliverypicklescan deserializes payload during scan
-
ExploitREDUCE opcode instantiates logging.FileHandler
-
ExecutionFileHandler creates zero-byte file at attacker-specified path
-
PersistLock file triggers application logic disruption
-
ImpactDenial 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Picklescan
View allRemote code execution against users of picklescan versions prior to 1.0.4 is achievable by smuggling any blocked functio
An Improper Handling of Exceptional Conditions vulnerability in the ZIP archive scanning component of mmaitre314 pickles
A Protection Mechanism Failure vulnerability in mmaitre314 picklescan versions up to and including 0.0.30 allows a remot
An Improper Input Validation vulnerability in the scanning logic of mmaitre314 picklescan versions up to and including 0
Detection bypass in picklescan prior to 0.0.29 allows attackers to smuggle remote code execution payloads through pickle
Detection bypass in picklescan versions before 0.0.25 allows attackers to embed remote code execution payloads in pickle
Detection bypass in picklescan before 0.0.28 allows attackers to embed malicious torch.jit.unsupported_tensor_ops.execWr
Detection bypass in picklescan before 0.0.28 allows attackers to smuggle arbitrary code through pickle files by abusing
Detection bypass in picklescan before 0.0.29 allows malicious pickle files to evade scanning by abusing the undetected i
Detection bypass in picklescan versions before 0.0.30 allows malicious pickle files to evade security scanning by using
Detection bypass in picklescan versions prior to 0.0.29 allows attackers to smuggle arbitrary code execution payloads th
Detection bypass in picklescan before 0.0.33 allows attackers to smuggle arbitrary code through malicious pickle files b
EUVD-2026-38123
GHSA-hqgf-f82p-fjh7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB