Remote code execution via incomplete unsafe-globals blocklist
Published Jun 23, 2026 · Updated Jun 23, 2026
Protection bypass in picklescan before 1.0.4 allows remote attackers to execute arbitrary commands via malicious pickle files. The scanner's _unsafe_globals dictionary omits at least seven importable standard-library modules whose eight callable functions invoke subprocesses or shell commands, so crafted globals receive a clean result. Exploitation requires a downstream system to trust and deserialize a file that passed the scan, granting command execution with that system's privileges.
Summary
What happened
Protection bypass in picklescan before 1.0.4 allows remote attackers to execute arbitrary commands via malicious pickle files. The scanner's _unsafe_globals dictionary omits at least seven importable standard-library modules whose eight callable functions invoke subprocesses or shell commands, so crafted globals receive a clean result. Exploitation requires a downstream system to trust and deserialize a file that passed the scan, granting command execution with that system's privileges.
The record
- CVE
- CVE-2026-56315
- Published
- Jun 23, 2026
- Updated
- Jun 23, 2026
- Vendor
- Matthieu Maitre
- Product
- picklescan
- Classifications
- CWE-693, CWE-184, T1204.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 23, 2026CVE publishedPublication date reported by the CVE source.
- Jun 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.0.4
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-g38g-8gr9-h9xp malicious pickle proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo