CVE-2025-71340
picklescan through 0.0.26 fails to detect malicious pickle files …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mmaitre314/picklescan/security/advisories/GHSA-3gf5-cxq9-w223
- www.vulncheck.com/advisories/picklescan-remote-code-execution-via-idlelib-pyshell-modified
- github.com/mmaitre314/picklescan/commit/1931c2d04eaca8d20597705ff39cab78ba364e4b
- nvd.nist.gov/vuln/detail/CVE-2025-71340
- github.com/advisories/GHSA-3gf5-cxq9-w223
- nvd.nist.gov/vuln/detail/CVE-2025-71340
- cve.org/CVERecord?id=CVE-2025-71340
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.