{"id":"CVE-2025-1716","summary":"picklescan - Security scanning bypass via 'pip main'","details":"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.","aliases":["CVE-2025-1889","GHSA-655q-fx9r-782v","GHSA-769v-p64c-89pr","PYSEC-2025-18","PYSEC-2025-19"],"modified":"2026-08-12T03:51:10.828014291Z","published":"2025-02-26T14:51:38.085Z","database_specific":{"cwe_ids":["CWE-184"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1716.json","cna_assigner":"Sonatype"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1716.json"},{"type":"ADVISORY","url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1716"},{"type":"ADVISORY","url":"https://www.sonatype.com/security-advisories/cve-2025-1716"},{"type":"FIX","url":"https://github.com/mmaitre314/picklescan/commit/78ce704227c51f070c0c5fb4b466d92c62a7aa3d"},{"type":"PACKAGE","url":"https://github.com/mmaitre314/picklescan"},{"type":"PACKAGE","url":"https://pypi.org/project/picklescan/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mmaitre314/picklescan","events":[{"introduced":"0"},{"fixed":"f34d091824cb8775711f039b5299c277e2ecc663"},{"fixed":"78ce704227c51f070c0c5fb4b466d92c62a7aa3d"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.0.22"}]}}],"versions":["v0.0.21","v0.0.20","v0.0.19","v0.0.18","v0.0.17","v0.0.15","v0.0.14","v0.0.13","v0.0.12","v0.0.11","v0.0.10","v0.0.9","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1716.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}