PickleScan - Unsafe Globals Check Bypass via pty.spawn Function
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-693.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| picklescan | PickleScan | before 0.0.33 | 0.0.33 | Patch available | CNA |
| — | picklescan (PyPI) | before 0.0.33 | 0.0.33 | Patch available | GHSA-hgrh-qx5j-jfwx |
- PickleScan Vendorpicklescan Affected before 0.0.33 Fixed in 0.0.33 Patch available CNA
- picklescan (PyPI) Vendor— Affected before 0.0.33 Fixed in 0.0.33 Patch available GHSA-hgrh-qx5j-jfwx
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* | — | — | picklescan |
- cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* Versions — — ·picklescan
Remediation
- Fix · CNA PickleScan (PickleScan) Fixed in 0.0.33
- Fix · GHSA-hgrh-qx5j-jfwx picklescan (PyPI) Fixed in 0.0.33 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
picklescan 0.0.33
4 records Highest priority Priority HIGH 3 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2025-43444 picklescan - Remote Code Execution via Unblocked ctypes ModulePriority HIGH 81
- TI-2025-43442 picklescan - Arbitrary File Writing via distutils Module BypassPriority HIGH 81
- TI-2025-43441 picklescan - Remote Code Execution via Incomplete Disallowed InputsPriority HIGH 81
Timeline
- 2026-10-02 Threatist record created from CVE-2025-71322
- 2026-10-03 Alias added: GHSA-hgrh-qx5j-jfwx
References
Advisory 2
More picklescan vulnerabilities
- TI-2026-03009 picklescan - Universal Blocklist Bypass via pkgutil.resolve_name CVSS 4.0CRITICAL 10.0
- TI-2026-40680 picklescan - Remote Code Execution via Unblocked Standard Library Modules CVSS 4.0CRITICAL 9.3
- TI-2026-38870 picklescan - Arbitrary Code Execution via Obfuscated eval Call CVSS 4.0CRITICAL 9.3
- TI-2026-38869 picklescan - Arbitrary Code Execution via profile.run() Blocklist Bypass CVSS 4.0CRITICAL 9.3
- TI-2025-43446 picklescan - Detection Bypass via STACK_GLOBAL Opcode Parsing Logic Flaw CVSS 4.0CRITICAL 9.3
- TI-2025-43444 picklescan - Remote Code Execution via Unblocked ctypes Module CVSS 4.0CRITICAL 9.3
Sources
- CVE-2025-71322 · CVE Program
- CVE-2025-71322 · NVD
- FIRST EPSS
- GHSA-hgrh-qx5j-jfwx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences