CVE-2025-10157
published critical CVSS 4.0 · 9.3PickleScan Bypasses Unsafe Globals Check Using Submodule Imports
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mmaitre314 | — | picklescan0 through 0.0.30 (affected · semver); changes: unaffected at 0.0.31 · Other versions: unaffected | Version-specific | Not stated | JFROG |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- JFROG · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mmaitre314 | picklescan | 0 through 0.0.30 (affected · semver); changes: unaffected at 0.0.31Default: unaffected | JFROG · cna |
Weaknesses
1- CWE-693 CWE-693 - Protection Mechanism Failure
References
3- Vulnerable Code https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L309
- GitHub Security Advisory https://github.com/mmaitre314/picklescan/security/advisories/GHSA-f7qq-56ww-84cr
- Proof of Concept (Malicious Pickle) https://huggingface.co/iluem/linux_pkl/resolve/main/asyncio_asyncio_unix_events___UnixSubprocessTransport__start.pkl
Provider assertions
2JFROG · cna
PickleScan Bypasses Unsafe Globals Check Using Submodule Imports
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9af25390396f7544a59eaea8bba806f9c3986b8baf16881b4ec21d70a56da153
- Ingested
- 23 Sep 2026, 08:35:30 UTC
- Source record
- Official CVE record