Skip to main content
← All vulnerabilities
CVE-2025-10157GHSA-F7QQ-56WW-84CRPYSEC-2025-153

PickleScan Bypasses Unsafe Globals Check Using Submodule Imports

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.31
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • mmaitre314 picklescan

    through 0.0.30

  • picklescanPyPI

    fixed in 0.0.31

References 3

GitHub · mmaitre314/picklescan

huggingface.co