Pypi · Picklescan · CVE-2025-71322
**Name of the Vulnerable Software and Affected Versions**
PickleScan versions prior to 0.0.33
**Description**
PickleScan fails to include the `pty.spawn` function in its list of unsafe globals, which allows attackers to bypass security checks. By crafting malicious pickle payloads using the `pty.spawn` function, an attacker can achieve arbitrary code execution when files, such as PyTorch models or ZIP archives, are processed by the software.
**Recommendations**
Update to version 0.0.33 or later.