CVE-2026-66373
High · 7.5CVSS
7.5
EPSS
0.9%
Published
Jul 25, 2026
CISA due date
—
Cloudanix analysis
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
- Obtain valid low-privileged credentials
- Send crafted RESTORE payload referencing the same NACK twice
- Issue XGROUP DELCONSUMER for both consumers
- 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
- CVE-2026-121507 Double Free in µD3TN BPv6 Fragmenter Block Duplication allows Unauthenticated Remote… CWE-415
- CVE-2026-58968 In oapvd_vlc_metadata of oapv_vlc.c, there is a possible memory corruption due to a… CWE-415
- CVE-2026-20582 In usb, there is a possible memory corruption due to double free. CWE-415
- CVE-2026-20573 In afe, there is a possible memory corruption due to double free. CWE-415
- CVE-2026-119338 Tesseract is an open source OCR engine. CWE-415
- CVE-2026-119116 A use-after-free and double-free issue in the SetClient command handler of the… CWE-415
- CVE-2026-85890 Double free in Microsoft Edge (Chromium-based) allows an unauthorized attacker to execute… CWE-415
- CVE-2026-83831 Double free in Microsoft Edge (Chromium-based) allows an unauthorized attacker to execute… CWE-415