Skip to content
OpenAdvisories
High · 8.1 CVE-2025-71340 EUVD-2025-210344GHSA-3gf5-cxq9-w223GHSA-mq7r-vm99-p7vx

picklescan - Remote Code Execution via idlelib.pyshell.ModifiedInterpreter.runcode

Published Jun 25, 2026 · Updated Jun 26, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
picklescan picklescan ≤ 0.0.26 0.0.30

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI picklescan < 0.0.30 0.0.30 GHSA-3gf5-cxq9-w223

References