CVE-2025-71340

HIGH

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

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-3gf5-cxq9-w223)
https://github.com/mmaitre314/picklescan/security/advisories/GHSA-3gf5-cxq9-w223
Third Party Advisory third-party-advisory
VulnCheck Advisory: picklescan - Remote Code Execution via idlelib.pyshell.ModifiedInterpreter.runcode
https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-idlelib-pyshell-modifiedinterpreter-runcode

Scores

CVSS v3 8.1
EPSS 0.0030
EPSS Percentile 22.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-502
Status published
Products (2)
picklescan/picklescan < 0.0.26
picklescan/picklescan 0.0.30
Published Jun 25, 2026
Tracked Since Jun 26, 2026