Skip to content
OpenAdvisories
High · 8.1 CVE-2025-71344 EUVD-2025-210302GHSA-xp4f-hrf8-rxw7PYSEC-2026-1792

picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function

Published Jun 22, 2026 · Updated Jun 23, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
picklescan picklescan < 0.0.30 0.0.30

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI picklescan < 0.0.30 0.0.30 GHSA-xp4f-hrf8-rxw7

References