CVE-2025-10157

PickleScan Bypasses Unsafe Globals Check Using Submodule Imports

State
Published
Severity
9.3 Critical
Published
Sep 17, 2025
Updated
Sep 17, 2025
Reserved
Sep 9, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NJFROG

Weaknesses

  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
picklescanmmaitre314
  • 0.0.30 and earlierAffectedfrom 0.0.31Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.