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
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
- Supply Chain Compromise: Model Repository AML.T0010.003
- Manipulate AI Model: Embed Malware AML.T0018.002
- Exploitation for Defense Evasion AML.T0107
- Publish Poisoned AI Artifacts: Models AML.T0115.001
Mapped defensive controls
- Verify AI Artifacts AML.M0014
- Vulnerability Scanning AML.M0016
- AI Model Distribution Methods AML.M0017
Source citation records
- NVD Record CVE-2025-1716: Picklescan pip.main() Global Detection Bypass · NIST National Vulnerability Database (NVD) ·