CVE-2025-10157
PickleScan Bypasses Unsafe Globals Check Using Submodule Imports
- State
- Published
- Severity
- 9.3 Critical
- Published
- Sep 17, 2025
- Updated
- Sep 17, 2025
- Reserved
- Sep 9, 2025
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | JFROG |
Weaknesses
- CWE-693 Protection Mechanism Failure
Affected Products
| Product | Versions |
|---|---|
picklescanmmaitre314 |
|
References
- GitHub Security Advisoryvendor-advisoryexploit
- Proof of Concept (Malicious Pickle)exploit
- Vulnerable Code
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.