Documented Incident · INC-2025-1716 · High severity

Picklescan pip.main() Global Allowlist Bypass Evading ML Malware Scanners

CVE-2025-1716 (published February 26, 2025) exposed a critical static-analysis evasion flaw in `picklescan` (`< 0.0.22`), the open-source scanner widely used by model hubs and CI pipelines to detect malicious Python pickle checkpoints. Because `picklescan` failed to flag `pip.main` as a dangerous global callable, attackers could craft pickle model files that passed security scans cleanly while invoking `pip` at load time to download and execute arbitrary malicious PyPI packages. This underscored the fundamental fragility of blocklist-based pickle scanning. Maintainers expanded the dangerous-globals list in v0.0.22, while security architects recommend banning pickle weights altogether.

Incident dossier metadata

Case ID
INC-2025-1716
Classification
Incident
Date
Severity
High
Sector
Software Development & AI Tooling
Attack vector
Supply Chain
System type
ML Artifact Security Scanners & Model Registries
CVE / reference
CVE-2025-1716
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-1716

Inspect INC-2025-1716 in Interactive Incidents & Cases Hub

Defensive takeaway

Treat pickle scanners as defense-in-depth only; mandate non-executable safetensors formats rather than relying on blocklist scanning.

Mapped AI security techniques

Mapped defensive controls

Source citation records