What’s Vulnerable › Vulnerabilities
CVE-2025-71344: picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-22 · updated 2026-10-12
- Weakness: CWE-502
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 products
- picklescan: before 0.0.30 — fixed in 0.0.30
How to fix
Upgrade to a fixed version: picklescan 0.0.30. Check the vendor advisory for mitigations.
References
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-xp4f-hrf8-rxw7
- https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-undetected-ensurepip-run-pip-function
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-xp4f-hrf8-rxw7
Get alerted when CVE-2025-71344 or the next vulnerability affects your stack