CVE-2025-1716

picklescan - Security scanning bypass via 'pip main'

Published Feb 26, 2025 CVSS 4.0 · 5.3 Medium EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-5323 Picklescan Allows Remote Code Execution via Malicious Pickle File Bypassing Static Analysis
EUVD EUVD EUVD-2025-5523 Picklescan Allows Remote Code Execution via Malicious Pickle File Bypassing Static Analysis
Github GHSA Github GHSA GHSA-655q-fx9r-782v Picklescan Allows Remote Code Execution via Malicious Pickle File Bypassing Static Analysis
History
Type Values Removed Values Added
CPEs cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title picklescan - Security scanning bypass via 'pip main'
Weaknesses CWE-184
References
Metrics cvssV4_0

{'score': 5.3, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Sonatype
Published
Updated
Dec 29, 2025, 2:22 PM
Reserved
Feb 26, 2025, 12:08 PM
Status
Modified
Published
Feb 26, 2025, 3:15 PM
Modified
Jun 17, 2026, 8:39 AM