{"id":"CVE-2025-71344","published":"2026-06-22T21:04:41Z","modified":"2026-06-23T18:24:06Z","title":"picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function","vendor":"picklescan","product":"picklescan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00638,"percentile":0.45111,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-xp4f-hrf8-rxw7","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-undetected-ensurepip-run-pip-function","tags":["third-party-advisory"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":9.02},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"picklescan","affectedVersions":[{"vendor":"picklescan","product":"picklescan","versions":["< 0.0.30"]}],"fixedVersions":[{"vendor":"picklescan","product":"picklescan","versions":["0.0.30"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T18:22:22.820226Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"picklescan","vulnerableRanges":["<0.0.30"],"patched":["0.0.30"],"from":["GHSA-xp4f-hrf8-rxw7","PYSEC-2026-1792"],"provenance":"source"}],"summary":{"text":"The picklescan tool, in versions before 0.0.30 (affected versions 0.0.26 and earlier), fails to detect calls to the ensurepip._run_pip built-in function when scanning pickle files, so its scanning logic does not flag this function. An attacker who supplies a malicious pickle file with ensurepip._run_pip invoked from a __reduce__ method can achieve code execution when the file is loaded with pickle.load(), and the attack requires that the victim be induced to load the file (user interaction) and needs no network access, authentication, or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:05Z"},"euvd":{"id":"EUVD-2025-210302","exploited":false,"provenance":"source"}}