Skip to main content
VulnerabilityPublished

Picklescan Bugs Allow Malicious PyTorch Models to Evade Scans and Execute Code

Source The Hacker News

0

Mentioned vulnerabilities

Severity
Critical

Rated by Threat Radar

Data as of 10 Dec 2025, 09:17 UTC

What to do

AI-suggested

  1. Immediately update Picklescan to version 0.0.31 or later to apply the security patches addressing these vulnerabilities.
  2. Implement multi-layered scanning strategies that combine allowlisting with behavioral analysis to detect novel malicious payloads beyond blocklists.
  3. Restrict loading of PyTorch models to trusted sources and enforce strict provenance and integrity checks, such as cryptographic signatures.
  4. Avoid loading untrusted pickle files; where possible, use alternative serialization formats like TensorFlow SavedModel or Flax that do not execute arbitrary code on load.
  5. Employ sandboxing or isolated environments for loading and testing new models before deployment in production.
  6. Monitor AI model supply chains for unusual activity or unexpected updates.
  7. Educate developers and data scientists on the risks of untrusted model loading and secure coding practices.
  8. Collaborate with AI security researchers to stay informed about emerging threats and adapt defenses accordingly.
  9. Integrate continuous security testing and threat intelligence into AI development pipelines to detect and respond to evolving attack techniques.

Description

Three critical security flaws have been disclosed in an open-source utility called Picklescan that could allow malicious actors to execute arbitrary code by loading untrusted PyTorch models, effectively bypassing the tool's protections. Picklescan, developed and maintained by Matthieu Maitre (@mmaitre314), is a security scanner that's designed to parse Python pickle files and detect suspicious

References

Community reviews

Loading reviews…