Unrated severityNVD Advisory· Published Jun 25, 2026· Updated Jun 26, 2026
picklescan - Remote Code Execution via idlelib.pyshell.ModifiedInterpreter.runcode
CVE-2025-71340
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.
Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.