GHSA-mq7r-vm99-p7vx
Duplicate Advisory : Picklescan is missing detection when calling built-in python idlelib.pyshell.ModifiedInterpreter.runcode
Impact
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-3gf5-cxq9-w223. This link is maintained to preserve external references. ### Original 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.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | picklescan | < 0.0.30 | 0.0.30 |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-mq7r-vm99-p7vx
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-3gf5-cxq9-w223
- https://nvd.nist.gov/vuln/detail/CVE-2025-71340
- https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-idlelib-pyshell-modifiedinterpreter-runcode