Critical severityNVD Advisory· Published Sep 17, 2025· Updated Sep 17, 2025
PickleScan Bypasses Unsafe Globals Check Using Submodule Imports
CVE-2025-10157
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
picklescanPyPI | < 0.0.31 | 0.0.31 |
Affected products
2- Range: 0
Patches
Vulnerability mechanics
References
8- huggingface.co/iluem/linux_pkl/resolve/main/asyncio_asyncio_unix_events___UnixSubprocessTransport__start.pklghsaexploitWEB
- github.com/advisories/GHSA-f7qq-56ww-84crghsaADVISORY
- github.com/mmaitre314/picklescan/security/advisories/GHSA-f7qq-56ww-84crghsavendor-advisoryexploitWEB
- nvd.nist.gov/vuln/detail/CVE-2025-10157ghsaADVISORY
- github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.pyghsaWEB
- github.com/mmaitre314/picklescan/commit/28a7b4ef753466572bda3313737116eeb9b4e5c5ghsaWEB
- github.com/mmaitre314/picklescan/pull/50ghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2025-153.yamlghsaWEB
News mentions
0No linked articles in our index yet.