Public vulnerability disclosure

CVE-2025-71321

picklescan - Arbitrary File Writing via distutils Module Bypass

publishedCWE-502

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.

Technical severity9.3 criticalCVSS 4.0 · CNA: VulnCheck
Published2026-06-17Source updated 2026-11-08
Collected2026-11-083 attributed sources

Fixes and workarounds

Fix

picklescan (PyPI): OSV reports a fixed version 0.0.33. Check the advisory for supported release branches.

Source: OSV GHSA-m273-6v24-x4m4

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
picklescan
picklescan
picklescan
pypi
≥ 0; < 0.0.33 (affected, semver)
0.0.33 (unaffected, semver)
Other versions: unaffected
CNA: VulnCheck
picklescan

picklescan
PyPI
0.0.1 (affected, PyPI)
0.0.10 (affected, PyPI)
0.0.11 (affected, PyPI)
0.0.12 (affected, PyPI)
0.0.13 (affected, PyPI)
0.0.14 (affected, PyPI)
0.0.15 (affected, PyPI)
0.0.16 (affected, PyPI)
0.0.17 (affected, PyPI)
0.0.18 (affected, PyPI)
0.0.19 (affected, PyPI)
0.0.2 (affected, PyPI)
0.0.20 (affected, PyPI)
0.0.21 (affected, PyPI)
0.0.22 (affected, PyPI)
0.0.23 (affected, PyPI)
0.0.24 (affected, PyPI)
0.0.25 (affected, PyPI)
0.0.26 (affected, PyPI)
0.0.27 (affected, PyPI)
0.0.28 (affected, PyPI)
0.0.29 (affected, PyPI)
0.0.3 (affected, PyPI)
0.0.30 (affected, PyPI)
0.0.31 (affected, PyPI)
0.0.32 (affected, PyPI)
0.0.4 (affected, PyPI)
0.0.5 (affected, PyPI)
0.0.6 (affected, PyPI)
0.0.7 (affected, PyPI)
0.0.8 (affected, PyPI)
0.0.9 (affected, PyPI)
Ecosystem version events: introduced 0; fixed 0.0.33
Source events (ECOSYSTEM)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "0.0.33"
  }
]

Other versions: unaffected
OSV GHSA-m273-6v24-x4m4

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 9.3
critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCNA: VulnCheck
3.1 / 9.8
critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCNA: VulnCheck

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide