Paper/Archive/CVE-2025-1716

CVE-2025-1716

mmaitre314 picklescan — picklescan - Security scanning bypass via 'pip main'

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
picklescan0.0.1 – 0.0.20–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sonatype (CNA)5.3CVSS: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 ADPSSVCExploitation: none · Automatable: yes · Technical impact: partial

References

writeupsonatype.com/security-advisories/cve-2025-1716patchgithub.com/mmaitre314/picklescan/commit/78ce704227c51f070c0c5fb4b466d92c62a7aa3dwriteupgithub.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v