
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-66373 is a double free vulnerability in Redis that allows an authenticated attacker with the ability to execute the RESTORE command to achieve remote code execution (RCE). It affects Redis versions before 8.8.0 and exists because of an incomplete fix for the prior vulnerability CVE-2026-25243. The flaw was published on July 25, 2026, and has a CVSS v3.1 base score of 7.5 (High) (Github Advisory). A public PoC exploit is available targeting multiple Redis versions including 6.2.22, 7.4.9, and 8.6.4 (PoC Repo).
The root cause is a double free condition (CWE-415) in Redis's stream RDB/RESTORE loading logic within rdbLoadObject. When a crafted RESTORE payload is submitted where the same NACK (pending entry, streamNACK) is referenced by more than one consumer in a stream consumer group, the nack->consumer pointer is overwritten without checking if it was already assigned. When both consumers are subsequently deleted via XGROUP DELCONSUMER, the shared streamNACK structure is freed twice, resulting in heap corruption that can be leveraged for arbitrary code execution (Redis PR #15081). The fix adds a guard in rdbLoadObject that checks nack->consumer != NULL before assigning the consumer pointer, aborting with a "Bad data format" error on detection of this invariant violation (Redis PR #15081). Exploitation requires network access and low-privilege authentication (ability to run RESTORE, XGROUP, and EVAL commands), making it a network-based, high-complexity attack (Github Advisory).
Successful exploitation grants an attacker full remote code execution on the Redis server process, with high impact to confidentiality, integrity, and availability. An attacker can execute arbitrary shell commands, exfiltrate all data stored in Redis (including cached credentials, session tokens, or application secrets), corrupt or destroy data, and potentially pivot to other internal systems reachable from the Redis host (Github Advisory, PoC Repo). The NVD SSVC assessment rates the technical impact as "total," reflecting the complete compromise potential of a successful exploit (Github Advisory).
A public, functional PoC exploit repository (berabuddies/redis-poc) is available on GitHub, providing working exploit scripts for Redis versions 6.2.22, 7.4.9, and 8.6.4, with reported reliability rates of up to 25/25 on fresh containers (PoC Repo). The NVD SSVC classification lists exploitation status as "poc" and automatable as "no," reflecting that exploitation requires some manual setup and authenticated access (Github Advisory). The EPSS score is approximately 0.47–0.50%, placing it around the 40th percentile for exploitation probability within 30 days (Github Advisory). No confirmed in-the-wild exploitation or CISA KEV catalog listing has been reported as of the time of this report. No specific threat actor attribution is available.
INFO server command after authenticating.RESTORE, XGROUP, and EVAL commands.consumerA, consumerB) in a stream consumer group both reference the same NACK entry (e.g., entry ID 1-0). This violates the stream data structure invariant (Redis PR #15081).RESTORE command to load the malicious stream object into memory.XGROUP DELCONSUMER for both consumers referencing the shared NACK. This causes the streamNACK structure to be freed twice, corrupting the heap.P86_exploit.py for Redis 8.6.4) to control the double-freed memory and redirect execution flow, ultimately running an arbitrary shell command on the server (PoC Repo).RESTORE commands followed by XGROUP DELCONSUMER commands in rapid succession; log entries containing "Bad data format" or corrupt RDB error messages (on patched versions detecting the attack attempt); authentication events from unusual source IPs./bin/sh, bash, curl, wget, python3); unexpected files written under /data/ (e.g., files named pwned* as left by the PoC exploit).Upgrade Redis to version 8.8.0 or later, which includes the fix from PR #15081 that rejects corrupt stream RDB payloads with shared NACKs (Redis PR #15081, Github Advisory). Backports to older supported branches (6.2, 7.2, 7.4, 8.2, 8.4, 8.6) were initiated as of July 23, 2026 (Redis PR #15081). Debian LTS users should apply the security update announced in August 2026. As a workaround until patching is possible, restrict the RESTORE command to only fully trusted users using Redis ACLs (ACL SETUSER <user> -RESTORE), and enforce network-level access controls (firewall rules, VPC isolation) to limit who can connect to the Redis server.
The vulnerability generated notable community discussion on Hacker News (https://news.ycombinator.com/item?id=49024938) and was highlighted on social media by security researchers, including a post by @Fried_rice on X (https://x.com/Fried_rice/status/2080059356322918777). The public release of a working multi-version PoC exploit repository (berabuddies/redis-poc) with 490 stars and 118 forks on GitHub attracted significant attention from the security community (PoC Repo). Security news outlets including SecurityOnline.info covered the RCE aspect of the vulnerability. The Debian LTS team issued a security announcement, and AUSCERT published a bulletin (ESB-2026.9207), reflecting broad awareness across the security ecosystem.
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
redis
devel
redis
focal (esm-apps)
redis
jammy
redis
jammy (esm-apps)
redis
noble
redis
noble (esm-apps)
redis
resolute
redis
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."