Vulnerability · Published Jun 23, 2026 · Assigned by VulnCheck
CVE-2026-56315picklescan - Remote Code Execution via Unblocked Standard Library Modules
Critical 9.8
In plain English
A critical-severity security flaw in picklescan from picklescan. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
picklescan before 1.0.4 fails to block at least seven Python standard library modules (including uuid, _osx_support, _aix_support, _pyrepl.pager, and imaplib) exposing eight functions that provide direct arbitrary command execution. Attackers can craft malicious pickle files importing these unblocked modules to achieve remote code execution while bypassing picklescan's safety validation entirely.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | picklescan | 1.0.4 | GHSA-g38g-8gr9-h9xp |
| PyPI | picklescan | 1.0.4 | PYSEC-2026-4134 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| picklescan | picklescan | 0 – before 1.0.4 |
Weakness: CWE-184 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-g38g-8gr9-h9xp) vendor-advisory
- VulnCheck Advisory: picklescan - Remote Code Execution via Unblocked Standard Library Modules third-party-advisory