PickleScan Bypasses Unsafe Globals Check Using Submodule Imports
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-693.
Summary
A Protection Mechanism Failure vulnerability in mmaitre314 picklescan versions up to and including 0.0.30 allows a remote attacker to bypass the unsafe globals check. This is possible because the scanner performs an exact match for module names, allowing malicious payloads to be loaded via submodules of dangerous packages (e.g., 'asyncio.unix_events' instead of 'asyncio'). When the incorrectly considered safe file is loaded after scan, it can lead to the execution of malicious code.
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 | up to 0.0.30 | — | No fix listed | CNA |
| — | picklescan (PyPI) | before 0.0.31 | 0.0.31 | Patch available | GHSA-f7qq-56ww-84cr |
- picklescan Vendorpicklescan Affected up to 0.0.30 Fixed in — No fix listed CNA
- picklescan (PyPI) Vendor— Affected before 0.0.31 Fixed in 0.0.31 Patch available GHSA-f7qq-56ww-84cr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* | before 0.0.31 | Vulnerable | picklescan |
- cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* Versions before 0.0.31 Vulnerable ·picklescan
Remediation
- Fix · GHSA-f7qq-56ww-84cr picklescan (PyPI) Fixed in 0.0.31 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-10157
- 2026-10-03 Alias added: GHSA-f7qq-56ww-84cr
References
More Picklescan vulnerabilities
- 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
- TI-2025-43468 picklescan - Arbitrary Code Execution via torch.utils._config_module.load_config Bypass CVSS 4.0HIGH 7.6
Sources
- CVE-2025-10157 · CVE Program
- CVE-2025-10157 · NVD
- FIRST EPSS
- GHSA-f7qq-56ww-84cr · 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