RCE in Picklescan

CVE-2026-53875

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().

EPSS: 0.004 (37.0th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

References