picklescan - Arbitrary Code Execution via torch.utils._config_module.load_config Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution, Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502 and CWE-345.
Summary
picklescan before 0.0.28 fails to detect malicious pickle files that invoke torch.utils._config_module.load_config function within reduce methods. Attackers can craft pickle files embedding arbitrary code that evades detection but executes during pickle.load, enabling remote code execution in supply chain attacks.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| picklescan | picklescan | before 0.0.28 | 0.0.28 | Patch available | CNA |
| — | picklescan (PyPI) | before 0.0.28 | 0.0.28 | Patch available | GHSA-vv6j-3g6g-2pvj |
- picklescan Vendorpicklescan Affected before 0.0.28 Fixed in 0.0.28 Patch available CNA
- picklescan (PyPI) Vendor— Affected before 0.0.28 Fixed in 0.0.28 Patch available GHSA-vv6j-3g6g-2pvj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* | before 0.0.28 | Vulnerable | picklescan |
- cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* Versions before 0.0.28 Vulnerable ·picklescan
Remediation
- Fix · CNA picklescan (picklescan) Fixed in 0.0.28
- Fix · GHSA-vv6j-3g6g-2pvj picklescan (PyPI) Fixed in 0.0.28 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-71348
- 2026-10-03 Alias added: GHSA-vv6j-3g6g-2pvj
References
Exploit 1
Other 5
- https://github.com/mmaitre314/picklescan/pull/47
- https://github.com/mmaitre314/picklescan/commit/7f994d62084fe43f1cffdef2f9bae6923344ef53
- https://github.com/mmaitre314/picklescan
- https://github.com/mmaitre314/picklescan/releases/tag/v0.0.28
- https://github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2026-245.yaml
More Picklescan vulnerabilities
- TI-2025-09324 PickleScan Bypasses Unsafe Globals Check Using Submodule Imports CVSS 4.0CRITICAL 9.3
- TI-2025-09323 PickleScan Security Bypass via Bad CRC in ZIP Archive CVSS 4.0CRITICAL 9.3
- TI-2025-09322 PickleScan Security Bypass Using Misleading File Extension CVSS 4.0CRITICAL 9.3
- TI-2026-40669 picklescan - Arbitrary File Creation via logging.FileHandler Deserialization CVSS 4.0MEDIUM 6.9
- TI-2025-43498 picklescan - Remote Code Execution via Undetected cProfile.runctx in Pickle Files CVSS 4.0HIGH 7.6
- TI-2025-43477 picklescan - Arbitrary Code Execution via Undetected idlelib.pyshell.ModifiedInterpreter.runcommand CVSS 4.0HIGH 7.6
Sources
- CVE-2025-71348 · CVE Program
- CVE-2025-71348 · NVD
- FIRST EPSS
- GHSA-vv6j-3g6g-2pvj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences