{"id":"CVE-2025-10157","published":"2025-09-17T11:33:03Z","modified":"2025-09-17T13:07:38Z","title":"PickleScan Bypasses Unsafe Globals Check Using Submodule Imports","vendor":"mmaitre314","product":"picklescan","tier":"tail","description":{"text":"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'). \n\nWhen the incorrectly considered safe file is loaded after scan, it can lead to the execution of malicious code.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00782,"percentile":0.5691,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-f7qq-56ww-84cr","tags":["vendor-advisory","exploit"]},{"url":"https://huggingface.co/iluem/linux_pkl/resolve/main/asyncio_asyncio_unix_events___UnixSubprocessTransport__start.pkl","tags":["exploit"]},{"url":"https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L309","tags":[]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":11.38},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"mmaitre314","affectedVersions":[{"vendor":"mmaitre314","product":"picklescan","versions":["<= 0.0.30"]}],"fixedVersions":[{"vendor":"mmaitre314","product":"picklescan","versions":["0.0.31"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-17T13:07:29.343961Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"picklescan","vulnerableRanges":["<0.0.31"],"patched":["0.0.31"],"from":["GHSA-f7qq-56ww-84cr","PYSEC-2025-153"],"provenance":"source"}],"summary":{"text":"PickleScan, a tool by mmaitre314 used to scan Python pickle files for unsafe content, contains a protection mechanism failure in versions up to and including 0.0.30 because its unsafe globals check only does an exact match on module names. An attacker who supplies a remote pickle file can name a submodule of a dangerous package, such as 'asyncio.unix_events' rather than 'asyncio', so the file passes the scan and runs malicious code once it is loaded after scanning, with no authentication or user interaction required beyond the file being processed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:19Z"},"euvd":{"id":"EUVD-2025-29711","exploited":false,"provenance":"source"},"exploitRefs":["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"]}