CVE-2026-35052: Python Unsafe Pickle Deserialization Storage Backend

Unrestricted pickle deserialization detected. `pickle.loads()` / `pickle.load()` and `shelve.open()` (which internally uses pickle) will execute arbitrary code via `__reduce__` gadgets when given attacker-controlled bytes. If the input originates from a network-reachable store (Redis, memcached, shelve/DBM file, message queue, HTTP body, file uploaded by use

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-35052-python-unsafe-pickle-deserialization-storage-backend --engine opengrep

Description

Unrestricted pickle deserialization detected. `pickle.loads()` / `pickle.load()` and `shelve.open()` (which internally uses pickle) will execute arbitrary code via `__reduce__` gadgets when given attacker-controlled bytes. If the input originates from a network-reachable store (Redis, memcached, shelve/DBM file, message queue, HTTP body, file uploaded by use