Advisory

PYSEC-2025-153

Also known as: CVE-2025-10157, GHSA-f7qq-56ww-84cr

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2025-09-17 12:15 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

picklescan

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.31 (ecosystem)

Fixed versions

0.0.31

Fix

  • Fixed version 0.0.31
    pip install --upgrade picklescan==0.0.31

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences