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.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.8%top 42.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIpicklescan0.0.33GHSA-m273-6v24-x4m4
PyPIpicklescan0.0.33PYSEC-2026-1791

Affected products (as reported)

VendorProductVersions
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