Vulnerability · Published Jun 17, 2026 · Assigned by VulnCheck
CVE-2026-53873picklescan - Arbitrary Code Execution via profile.run() Blocklist Bypass
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 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
picklescan before 1.0.4 contains an incomplete blocklist for the profile module that fails to block the module-level profile.run() function, allowing attackers to achieve arbitrary code execution via exec(). Attackers can craft malicious pickle files calling profile.run(statement) to execute arbitrary Python code while picklescan reports zero security issues.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | picklescan | 1.0.4 | GHSA-7wx9-6375-f5wh |
| PyPI | picklescan | 1.0.4 | PYSEC-2026-455 |
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
- GHSA Advisory GHSA-7wx9-6375-f5wh vendor-advisory
- VulnCheck Advisory: picklescan - Arbitrary Code Execution via profile.run() Blocklist Bypass third-party-advisory