What’s Vulnerable › Vulnerabilities
CVE-2025-71322: PickleScan - Unsafe Globals Check Bypass via pty.spawn Function
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-17 · updated 2026-10-12
- Weakness: CWE-693
Description
PickleScan before 0.0.33 fails to include the pty.spawn function in its unsafe globals list, allowing attackers to bypass security checks. Malicious actors can craft pickle payloads using pty.spawn to achieve arbitrary code execution when files are processed by PickleScan.
Affected products
- picklescan: before 0.0.33 — fixed in 0.0.33
How to fix
Upgrade to a fixed version: picklescan 0.0.33. Check the vendor advisory for mitigations.
References
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-hgrh-qx5j-jfwx
- https://www.vulncheck.com/advisories/picklescan-unsafe-globals-check-bypass-via-pty-spawn-function
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-hgrh-qx5j-jfwx
Get alerted when CVE-2025-71322 or the next vulnerability affects your stack