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

- Severity: Medium 5.3 (CVSS:4.0, scored by Sonatype) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.72%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-02-26T14:51:38.085Z
- Modified: 2026-07-09T16:45:06.417Z
- Also known as: GHSA-655q-fx9r-782v, GHSA-769v-p64c-89pr, PYSEC-2025-18, PYSEC-2025-19
- Related: CVE-2025-1889
- Weaknesses: CWE-184, CWE-646
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- mmaitre314 picklescan: from 0.0.1 up to 0.0.20; before 0.0.22
- picklescan (PyPI): before 0.0.22; before 78ce704227c51f070c0c5fb4b466d92c62a7aa3d; before 0.0.21

## Every score

- Sonatype: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v> (exploit, advisory, third-party-advisory, vendor-advisory, web)
- <https://sites.google.com/sonatype.com/vulnerabilities/cve-2025-1889> (exploit, evidence, web)
- <https://www.sonatype.com/security-advisories/cve-2025-1716> (third-party-advisory)
- <https://github.com/mmaitre314/picklescan/commit/78ce704227c51f070c0c5fb4b466d92c62a7aa3d> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1716> (advisory)
- <https://github.com/mmaitre314/picklescan> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2025-18.yaml> (web)
- <https://sites.google.com/sonatype.com/vulnerabilities/cve-2025-1716> (web)
- <https://github.com/mmaitre314/picklescan/security/advisories/GHSA-769v-p64c-89pr> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1889> (advisory)
- <https://github.com/mmaitre314/picklescan/commit/baf03faf88fece56a89534d12ce048e5ee36e50e> (web)
- <https://github.com/advisories/GHSA-769v-p64c-89pr> (advisory)

## Sources

- CVE List: [CVE-2025-1716](https://www.cve.org/CVERecord?id=CVE-2025-1716), CVE Terms of Use, modified 2025-12-29
- GitHub Advisory Database: [GHSA-655q-fx9r-782v](https://github.com/advisories/GHSA-655q-fx9r-782v), CC-BY-4.0, modified 2025-04-09
- GitHub Advisory Database: [GHSA-769v-p64c-89pr](https://github.com/advisories/GHSA-769v-p64c-89pr), CC-BY-4.0, modified 2025-04-09
- NVD: [CVE-2025-1716](https://nvd.nist.gov/vuln/detail/CVE-2025-1716), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-18](https://osv.dev/vulnerability/PYSEC-2025-18), CC-BY-4.0, modified 2025-04-09
- PyPA Advisory Database: [PYSEC-2025-19](https://osv.dev/vulnerability/PYSEC-2025-19), CC-BY-4.0, modified 2026-07-09

---

Page: https://cve.day/CVE-2025-1716 · Whole record: https://cve.day/CVE-2025-1716.json · Rebuilt by cve.day 2026-11-25T22:58:54.448Z
