CVE-2025-71344 json
picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function
published 2025-08-26 14 mo ago modified 2026-10-12 27 d ago also EUVD-2025-210302 , GHSA-xp4f-hrf8-rxw7 , PYSEC-2026-1792
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/mmaitre314/picklescan/security/advisories/GHSA-xp4f-hrf8-rxw7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.6 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| CNA | 4.0 | 7.6 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | picklescan | <0.0.30 |
0.0.30 |
Affected products
- picklescan picklescan
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/mmaitre314/picklescan/commit/1931c2d04eaca8d20597705ff39cab78ba364e4b
web
-
github.com
/mmaitre314/picklescan/security/advisories/GHSA-xp4f-hrf8-rxw7
vendor-advisory, exploit, web
-
vulncheck.com
/advisories/picklescan-arbitrary-code-execution-via-undetected-ensurepip-run-pip-function
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2025-71344
advisory
-
github.com
/advisories/GHSA-xp4f-hrf8-rxw7
advisory
-
github.com
/mmaitre314/picklescan
package
-
github.com
/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2026-1792.yaml
web
-
pypi.org
/project/picklescan
web, package
Sources
- CVE List CVE-2025-71344
- GitHub Advisory GHSA-xp4f-hrf8-rxw7
- NVD CVE-2025-71344
- OSV PYSEC-2026-1792
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.