Duplicate Advisory: Picklescan (scan_pytorch) Bypass via dynamic eval MAGIC_NUMBER
High severity
GitHub Reviewed
Published
Jun 17, 2026
to the GitHub Advisory Database
•
Updated Jun 18, 2026
Withdrawn
This advisory was withdrawn on Jun 18, 2026
Description
Published by the National Vulnerability Database
Jun 17, 2026
Published to the GitHub Advisory Database
Jun 17, 2026
Reviewed
Jun 18, 2026
Withdrawn
Jun 18, 2026
Last updated
Jun 18, 2026
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-97f8-7cmv-76j2. This link is maintained to preserve external references.
Original Description
picklescan before 1.0.3 contains a scanning bypass vulnerability in the scan_pytorch function that allows attackers to embed malicious magic numbers via dynamic eval using the reduce trick. Attackers can craft malicious PyTorch payloads that evade picklescan detection while remaining executable, enabling arbitrary code execution when loaded with torch.load().
References