picklescan - Arbitrary File Writing via distutils Module Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution, Information disclosure
- 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-502 and CWE-552.
Summary
picklescan before 0.0.33 contains an arbitrary file writing vulnerability that allows attackers to bypass the dangerous blocklist by using distutils.file_util.write_file. Attackers can construct malicious pickle objects to overwrite critical system files and achieve denial of service or remote code execution.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- 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-m273-6v24-x4m4 |
- 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-m273-6v24-x4m4
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-m273-6v24-x4m4 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-43441 picklescan - Remote Code Execution via Incomplete Disallowed InputsPriority HIGH 81
- TI-2025-43443 PickleScan - Unsafe Globals Check Bypass via pty.spawn FunctionPriority MEDIUM 40
Timeline
- 2026-10-02 Threatist record created from CVE-2025-71321
- 2026-10-03 Alias added: GHSA-m273-6v24-x4m4
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-71321 · CVE Program
- CVE-2025-71321 · NVD
- FIRST EPSS
- GHSA-m273-6v24-x4m4 · 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