Cloudanix VulnDB

CVE-2026-66373

High · 7.5

CVSS

7.5

EPSS

0.9%

Published

Jul 25, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in the database server can let an attacker who already has login rights run their own code on the machine if they send specially crafted commands.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
High
Impact
Remote Code Execution
Component
Network Service
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Authenticated attacker can trigger a double-free memory corruption condition in the stream consumer group handling code by supplying a crafted RESTORE payload that references the same NACK entry multiple times; subsequent XGROUP DELCONSUMER operations on both consumers free the same pending entry twice.

Why it matters to the business

Successful exploitation grants remote code execution on the database server, allowing an attacker to take full control of the process, read or alter data, and pivot within the environment; the issue affects organizations running the listed vulnerable package even though public exploitation remains rare.

How an attack unfolds

An attacker who already possesses a valid Redis/Valkey account crafts a RESTORE command containing duplicate NACK references, then issues XGROUP DELCONSUMER commands that trigger the double free; the resulting memory corruption is turned into arbitrary code execution.

How to fix it

Upgrade valkey-main (redhat) to version 9.0.5-0.1.hum1 or later as provided in RHSA-2026:43236; if an immediate upgrade is not possible, restrict RESTORE and XGROUP commands to trusted administrative accounts via ACLs.

How to confirm the fix worked

Verify the installed package version matches or exceeds the fixed release; confirm that ACL rules deny RESTORE and XGROUP DELCONSUMER to non-administrative users; re-test the double-free path in a lab environment after patching.

Typical attack path

  1. Obtain valid low-privileged credentials
  2. Send crafted RESTORE payload referencing the same NACK twice
  3. Issue XGROUP DELCONSUMER for both consumers
  4. Trigger the double-free and gain code execution

How to detect it

Search Redis/Valkey logs and audit trails for repeated or malformed RESTORE commands followed by XGROUP DELCONSUMER operations from the same client; correlate with unexpected process crashes or memory-related error messages.

What your security team should do

  • Apply the vendor-supplied update within the next maintenance window
  • Review and tighten ACLs to limit RESTORE and stream consumer group commands
  • Monitor EPSS and threat intelligence feeds for any change in exploit maturity
  • Include the affected component in the next vulnerability scan cycle

The record

Redis before 8.8.0, in the unusual case where an authenticated attacker can execute RESTORE, allows remote code execution via a RESTORE payload where the same NACK (pending entry) is referenced by more than one consumer, because deleting both consumers via XGROUP DELCONSUMER leads to a double free. NOTE: this issue exists because of an incomplete fix for CVE-2026-25243.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities