Vulnerability · Published Jun 22, 2026 · Assigned by VulnCheck
CVE-2025-71344picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function
High 8.1
In plain English
A high-severity unsafe deserialization 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 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
picklescan before 0.0.30 (affected versions 0.0.26 and earlier) fails to detect the ensurepip._run_pip built-in function when scanning pickle files, allowing attackers to execute arbitrary code. Malicious pickle files embedding ensurepip._run_pip calls in __reduce__ methods bypass picklescan detection and achieve remote code execution upon pickle.load() invocation.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | picklescan | 0.0.30 | GHSA-xp4f-hrf8-rxw7 |
| PyPI | picklescan | 0.0.30 | PYSEC-2026-1792 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| picklescan | picklescan | 0 – before 0.0.30 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
References
- GitHub Security Advisory (GHSA-xp4f-hrf8-rxw7) vendor-advisory
- VulnCheck Advisory: picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function third-party-advisory