CVE-2025-10157
Severity CVSS v4.0:
CRITICAL
Type:
CWE-693
Protection Mechanism Failure
Publication date:
17/09/2025
Last modified:
17/09/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., &#39;asyncio.unix_events&#39; instead of &#39;asyncio&#39;). <br />
<br />
When the incorrectly considered safe file is loaded after scan, it can lead to the execution of malicious code.
Impact
Base Score 4.0
9.30
Severity 4.0
CRITICAL
References to Advisories, Solutions, and Tools
- https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L309
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-f7qq-56ww-84cr
- https://huggingface.co/iluem/linux_pkl/resolve/main/asyncio_asyncio_unix_events___UnixSubprocessTransport__start.pkl