CVE-2025-1716
MEDIUM 5.3CVSS 4.0Picklescan Allows Remote Code Execution via Malicious Pickle File Bypassing Static Analysis
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.
- Published
- 26 Feb 2025
- Last modified
- 9 Jul 2026
- Assigned by
- 103e4ec9-0a87-450b-af77-479448ddef11
- NVD status
- Modified
- Weakness
- CWE-184CWE-646
- Also known as
- CVE-2025-1889GHSA-655q-fx9r-782vGHSA-769v-p64c-89prPYSEC-2025-18PYSEC-2025-19
- Sources
- NVDJSONOSV GHSA-655q-fx9r-782vJSONOSV GHSA-769v-p64c-89prJSONOSV PYSEC-2025-18JSONOSV PYSEC-2025-19JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 103e4ec9-0a87-450b-af77-479448ddef11 (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mmaitre314 | picklescancpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* |
< 0.0.22 | 0.0.22 |
| OSV | PyPI | picklescan | < 0.0.22 | 0.0.22 |
| OSV | PyPI | picklescan | < 0.0.21 | 0.0.21 |
References
- https://github.com/mmaitre314/picklescan/commit/78ce704227c51f070c0c5fb4b466d92c62a7aa3d · Patch, WEB, FIX
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v · Exploit, Vendor Advisory, WEB, ADVISORY
- https://www.sonatype.com/security-advisories/cve-2025-1716
- 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://sites.google.com/sonatype.com/vulnerabilities/cve-2025-1889 · WEB, EVIDENCE
- https://github.com/advisories/GHSA-769v-p64c-89pr · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 26 Feb 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Feb 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Mar 2025)