CVE-2025-71344

HIGH

picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-xp4f-hrf8-rxw7)
https://github.com/mmaitre314/picklescan/security/advisories/GHSA-xp4f-hrf8-rxw7
Third Party Advisory third-party-advisory
VulnCheck Advisory: picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function
https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-undetected-ensurepip-run-pip-function

Scores

CVSS v3 8.1
EPSS 0.0037
EPSS Percentile 28.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-502
Status published
Products (3)
picklescan/picklescan < 0.0.30
picklescan/picklescan 0.0.30
pypi/picklescan 0 - 0.0.30PyPI
Published Jun 22, 2026
Tracked Since Jun 23, 2026