Vulnerability
CVE-2025-1716
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.
4 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-655q-fx9r-782v
Picklescan Allows Remote Code Execution via Malicious Pickle File Bypassing Static Analysis
-
GHSA-769v-p64c-89pr
PyTorch Model Files Can Bypass Pickle Scanners via Unexpected Pickle Extensions
-
PYSEC-2025-18
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…
-
PYSEC-2025-19
picklescan before 0.0.22 only considers standard pickle file extensions in the scope for its vulnerability scan. An attacker could craft a malicious model that uses Pickle and include a malicious pickle file with a…