What’s Vulnerable › Vulnerabilities

CVE-2025-71344: picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function

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

How to fix

Upgrade to a fixed version: picklescan 0.0.30. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71344 or the next vulnerability affects your stack