CVE-2025-1716
Mmaitre314 Picklescan vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Picklescan. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mmaitre314 Picklescan runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v · Exploit
- github.com/mmaitre314/picklescan/commit/78ce704227c51f070c0c5fb4b466d92c62a7aa3d · Patch
- www.sonatype.com/security-advisories/cve-2025-1716
- nvd.nist.gov/vuln/detail/CVE-2025-1716
- sites.google.com/sonatype.com/vulnerabilities/cve-2025-1716
- github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2025-18.yaml
- github.com/advisories/GHSA-655q-fx9r-782v
- nvd.nist.gov/vuln/detail/CVE-2025-1716
- cve.org/CVERecord?id=CVE-2025-1716
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.