CVE-2025-10157: PickleScan Bypasses Unsafe Globals Check Using Submodule Imports
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.unixevents' instead of 'asyncio').
When the incorrectly considered safe file is loaded after scan, it can lead to the execution of malicious code.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-10157?
CVE-2025-10157 is classified as a Protection Mechanism Failure vulnerability.
How do I fix CVE-2025-10157?
To fix CVE-2025-10157, update Mmaitre314 Picklescan to version 0.0.31 or later.
What versions of Mmaitre314 Picklescan are affected by CVE-2025-10157?
CVE-2025-10157 affects Mmaitre314 Picklescan versions up to and including 0.0.30.
What type of attack does CVE-2025-10157 allow?
CVE-2025-10157 allows a remote attacker to bypass the unsafe globals check.
What is the cause of CVE-2025-10157?
CVE-2025-10157 is caused by the scanner's exact match functionality for module names, which can be exploited to load malicious payloads.