Skip to content
OpenAdvisories
Critical · 9.3 CVE-2025-10157 EUVD-2025-29711GHSA-f7qq-56ww-84crGHSA-hf6h-9wq7-hmjgPYSEC-2025-153

PickleScan Bypasses Unsafe Globals Check Using Submodule Imports

Published Sep 17, 2025 · Updated Sep 17, 2025 · Assigned by 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.

Affected products

VendorProductAffectedFixed
mmaitre314 picklescan ≤ 0.0.30 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI picklescan < 0.0.31 0.0.31 GHSA-f7qq-56ww-84cr

References