Skip to content
OpenAdvisories
Medium · 5.3 Public exploit CVE-2025-1716 CVE-2025-1889EUVD-2025-5323GHSA-655q-fx9r-782vPYSEC-2025-18

picklescan - Security scanning bypass via 'pip main'

Published Feb 26, 2025 · Updated Dec 29, 2025 · Assigned by Sonatype

Description

picklescan before 0.0.21 does not treat 'pip' as an unsafe global. An attacker could craft a malicious model that uses Pickle to pull in a malicious PyPI package (hosted, for example, on pypi.org or GitHub) via `pip.main()`. Because pip is not a restricted global, the model, when scanned with picklescan, would pass security checks and appear to be safe, when it could instead prove to be problematic.

Affected products

VendorProductAffectedFixed
mmaitre314 picklescan 0.0.1 – ≤ 0.0.20 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI picklescan < 0.0.22 0.0.22 GHSA-655q-fx9r-782v
PyPI picklescan < 0.0.21 0.0.21 PYSEC-2025-18

References