What’s Vulnerable › Vulnerabilities

CVE-2025-71340: picklescan - Remote Code Execution via idlelib.pyshell.ModifiedInterpreter.runcode

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

References

Get alerted when CVE-2025-71340 or the next vulnerability affects your stack