CVE-2026-53874 picklescan - Arbitrary Code Execution via Obfuscated eval Call

Critical 9.3 Published Updated

Attackers can execute arbitrary code by crafting malicious pickle files that evade detection in the picklescan library.

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-53874?

CVE-2026-53874 is a critical unsafe deserialization vulnerability in picklescan, published on 17 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 deserialization vulnerability allowing unauthenticated users to execute arbitrary code by hiding eval calls nested under callable objects via getattr. Attackers can embed malicious code in pickle files that evades detection but executes when the pickle is loaded from untrusted sources.

Weakness: CWE-502

Which versions are affected by CVE-2026-53874?

3 open source packages ship an affected version, including picklescan.

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

How do I fix CVE-2026-53874?

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-53874 being exploited?

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

Sources

Also known as GHSA-9m3x-qqw2-h32h, PYSEC-2026-1789.

Is CVE-2026-53874 in your software?

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

Check your SBOMs for free