CVE-2025-1716 Details
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.
A vulnerability in Picklescan versions prior to 0.0.21 allows for unsafe deserialization that can bypass security checks and lead to remote code execution. The issue arises because Picklescan does not recognize 'pip' as an unsafe global. An attacker could create a malicious model that uses Python's Pickle module to download and install a harmful package from PyPI or GitHub using 'pip.main()'. When this malicious model is scanned with Picklescan, it would be incorrectly flagged as safe.
Users can upgrade to Picklescan version 0.0.22 or later, which addresses this vulnerability by adding 'pip' to the list of restricted globals.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mmaitre314/picklescan/commit/78ce704227c51f070c0c5fb4b466d92c62a7aa3d | Sonatype | Patch |
| https://github.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v | Sonatype | ExploitVendor Advisory |
| https://www.sonatype.com/security-advisories/cve-2025-1716 | Sonatype |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-184 | Incomplete List of Disallowed Inputs | Sonatype |
Affected Products
| Product | Versions |
|---|---|
| mmaitre314 picklescan | < 0.0.22 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | Sonatype |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 29, 2025 | CVE Modified | Sonatype |
| Sep 30, 2025 | Initial Analysis | [email protected] |
| Mar 3, 2025 | CVE Modified | Sonatype |
| Feb 26, 2025 | New CVE Received | Sonatype |