What’s Vulnerable › Vulnerabilities
CVE-2025-71340: picklescan - Remote Code Execution via idlelib.pyshell.ModifiedInterpreter.runcode
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-25 · updated 2026-10-12
- Weakness: CWE-502
Description
picklescan through 0.0.26 fails to detect malicious pickle files that invoke idlelib.pyshell.ModifiedInterpreter.runcode in __reduce__ methods. Attackers can embed undetected code in pickle files that executes arbitrary commands when the file is loaded via pickle.load(), enabling supply chain attacks on PyTorch models and saved Python objects. This is fixed in version 0.0.30.
Affected products
- picklescan: through 0.0.26
References
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-3gf5-cxq9-w223
- https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-idlelib-pyshell-modifiedinterpreter-runcode
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-3gf5-cxq9-w223
Get alerted when CVE-2025-71340 or the next vulnerability affects your stack