Code executionin mmaitre314 picklescan.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
picklescan before 0.0.23 fails to detect malicious pickle files inside PyTorch model archives when certain ZIP file flag bits are modified. By flipping specific bits in the ZIP file headers, an attacker can embed malicious pickle files that remain undetected by PickleScan while still being successfully loaded by PyTorch's torch.load(). This can lead to arbitrary code execution when loading a compromised model.
- Upgrade picklescan to 0.0.23 or later.
- Upgrade picklescan (PyPI) to 0.0.23 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 4 Mar 2025CVE ID reserved by Sonatype.
- 10 Mar 2025Published in the CVE List.
- 29 Dec 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other picklescan vulnerabilities
Same weakness: Insufficient verification of data authenticity
- www.sonatype.com third-party-advisory
- github.com vendor-advisory
- github.com patch
Patchminder. CVE-2025-1945: Code execution in mmaitre314 picklescan. https://patchminder.com/cve/cve-2025-1945/ (accessed 5 December 2026).