CVE-2026-56304 picklescan - Arbitrary File Creation via logging.FileHandler Deserialization

Medium 6.9 Published Updated

Unauthenticated attackers can create arbitrary files via unsafe pickle deserialization in picklescan, potentially causing denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-56304?

CVE-2026-56304 is a medium-severity unsafe deserialization vulnerability in picklescan, published on 20 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

picklescan before 1.0.1 contains an unsafe pickle deserialization vulnerability allowing unauthenticated attackers to create arbitrary zero-byte files via logging.FileHandler class instantiation. Attackers can exploit this by crafting malicious pickle payloads to bypass RCE blocklists and create lock files or other filesystem artifacts, potentially causing denial of service or application disruption.

Weakness: CWE-502

Which versions are affected by CVE-2026-56304?

3 open source packages ship an affected version, including picklescan. It affects 1 product.

PackageAffectedFixed in
picklescan PyPIAll versions1.0.1
picklescan PyPIAll versions1.0.1
picklescan PyPIAll versions1.0.1

Products include Mmaitre314 Picklescan.

How do I fix CVE-2026-56304?

Upgrade picklescan to 1.0.1 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2026-56304 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56304 exists.

Sources

Also known as GHSA-hqgf-f82p-fjh7, GHSA-m7j5-r2p5-c39r, PYSEC-2026-225.

Is CVE-2026-56304 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free