CVE-2025-71351
picklescan - Remote Code Execution via timeit.timeit() Detection Bypass
picklescan before 0.0.25 fails to detect malicious pickle files that use timeit.timeit() in the __reduce__ method, allowing remote code execution. Attackers can craft pickle files that import dangerous libraries like os and execute arbitrary system commands, which evade picklescan detection and execute when pickle.load() is called.
Fixes and workarounds
Fix
picklescan (PyPI): OSV reports a fixed version 0.0.25. Check the advisory for supported release branches.
Source: OSV GHSA-v7x6-rv5q-mhwcAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| picklescan picklescan picklescan
pypi |
≥ 0; < 0.0.25 (affected, semver) 0.0.25 (unaffected, semver) Other versions: unaffected |
CNA: VulnCheck |
picklescanpicklescan
PyPI |
0.0.1 (affected, PyPI) 0.0.10 (affected, PyPI) 0.0.11 (affected, PyPI) 0.0.12 (affected, PyPI) 0.0.13 (affected, PyPI) 0.0.14 (affected, PyPI) 0.0.15 (affected, PyPI) 0.0.16 (affected, PyPI) 0.0.17 (affected, PyPI) 0.0.18 (affected, PyPI) 0.0.19 (affected, PyPI) 0.0.2 (affected, PyPI) 0.0.20 (affected, PyPI) 0.0.21 (affected, PyPI) 0.0.22 (affected, PyPI) 0.0.23 (affected, PyPI) 0.0.24 (affected, PyPI) 0.0.3 (affected, PyPI) 0.0.4 (affected, PyPI) 0.0.5 (affected, PyPI) 0.0.6 (affected, PyPI) 0.0.7 (affected, PyPI) 0.0.8 (affected, PyPI) 0.0.9 (affected, PyPI) Ecosystem version events: introduced 0; fixed 0.0.25 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-v7x6-rv5q-mhwc |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 7.6 high |
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: VulnCheck |
Exploit evidence
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-v7x6-rv5q-mhwc
exploit · ADP: CISA-ADP
References
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-v7x6-rv5q-mhwcCNA: VulnCheck · vendor-advisory
- https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-timeit-timeit-detection-bypassCNA: VulnCheck · third-party-advisory
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-v7x6-rv5q-mhwcADP: CISA-ADP · exploit
- https://github.com/advisories/GHSA-v7x6-rv5q-mhwcOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-v7x6-rv5q-mhwcOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.