HIGH · CVSS 7.8 Published: 2025-09-17
CVE-2025-10157 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-10157 |
|---|---|
| Base Severity / Score | HIGH (7.8 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Weakness Classification | CWE-693 |
| Archive Categories | HIGH Advisories · 2025 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- 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
Related Security Advisories
CVE-2025-10156 CRITICAL 9.8
CVE-2025-1016 CRITICAL 9.8
CVE-2025-10155 HIGH 7.8
CVE-2025-10169 HIGH 8.8
CVE-2025-10170 HIGH 8.8
CVE-2025-10171 HIGH 8.8
CVE-2025-10172 HIGH 8.8
CVE-2025-10198 HIGH 7.8