Vulnerability · Published Jun 17, 2026 · Assigned by VulnCheck
CVE-2025-71321picklescan - Arbitrary File Writing via distutils Module Bypass
Critical 9.8
In plain English
A critical-severity unsafe deserialization in picklescan from picklescan. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | picklescan | 0.0.33 | GHSA-m273-6v24-x4m4 |
| PyPI | picklescan | 0.0.33 | PYSEC-2026-1791 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| picklescan | picklescan | 0 – before 0.0.33 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- GHSA Advisory GHSA-m273-6v24-x4m4 vendor-advisory
- VulnCheck Advisory: picklescan - Arbitrary File Writing via distutils Module Bypass third-party-advisory