Skip to main content
VulnerabilityPublished

A two-year-old RCE bug in Redis was just made public. An AI tool found it. The full exploit chain is out.

Source Reddit Cybersecurity

0

Mentioned vulnerabilities

Fixed in 8.6.3 : patch affected systems as a priority.

Data as of 3 Jun 2026, 16:18 UTC

Severity
Critical

Rated by Threat Radar

Patch
Available – fixed in 8.6.3, 8.4.3, 8.2.6 +2

What to do

AI-suggested

Official patches addressing CVE-2026-23479 were released on May 5, 2026, for multiple Redis branches (7.2.14, 7.4.9, 8.2.6, 8.4.3, 8.6.3). Immediate upgrading to these patched versions is strongly recommended. For environments where immediate patching is not feasible, mitigate by removing Redis instances from public internet exposure, enforcing TLS encryption, tightening ACLs to prevent any single role from holding both u/admin and u/scripting permissions simultaneously, and disabling Lua scripting if it is not required, which blocks the initial stage of the exploit chain. Managed Redis service users should verify patch status with their providers; Redis Cloud is confirmed patched. Review the official Redis security advisory covering this and related RCE vulnerabilities for comprehensive guidance.

Discussion

CVE-2026-23479 is a critical use-after-free vulnerability in Redis introduced in version 7.2.0 and publicly disclosed in 2026. It allows an authenticated user to execute arbitrary OS commands via a three-stage exploit chain involving Lua scripting and memory manipulation. The vulnerability survived multiple security reviews and affects many Redis deployments, especially those without password protection. Official patches were released on May 5, 2026, across multiple Redis branches. Mitigations include immediate patching, restricting Redis exposure to the public internet, enforcing TLS, tightening ACLs, and disabling Lua scripting if unused. This vulnerability is part of a broader set of Redis RCE flaws disclosed simultaneously.

r/cybersecurity (opens in a new tab)u/Aureliand0 points0 comments

CVE-2026-23479 has been sitting in Redis since 7.2.0, introduced in mid-2023 across two separate commits that were not dangerous individually but created a use-after-free condition together. It survived multiple rounds of security review and remained in every stable branch until patches landed on May 5. The flaw was not found by a human security researcher going through the code. An autonomous AI tool called Xint Code, built by Theori specifically to hunt bugs in large codebases, found it at Wiz's ZeroDay.Cloud hacking competition in London last December. The full technical writeup and working exploit chain are now public.

Here's why this matters beyond the patch urgency. Redis runs in roughly 75% of cloud environments according to Wiz. Most of those instances run without a password. The exploit technically requires an authenticated session, but in a default Redis deployment the default user already holds every permission the attack chain needs: u/admin, u/scripting, u/stream, and read/write access. So for a significant portion of exposed instances, the authentication requirement is not much of a barrier in practice.

The exploit itself is a three-stage chain. First a one-line Lua script leaks a heap pointer. Then the attacker grooms client memory, parks a large client on a stream, drops the memory limits to trigger the free, and immediately reclaims the freed slot with a fake client structure via a pipelined SET. Finally Redis's own memory accounting routine gets turned against itself to overwrite a function pointer in the Global Offset Table, redirecting a standard string function to system(). The next command Redis parses runs as a shell command on the host.

The official Redis Docker image makes the last step easier because it ships with only partial RELRO, leaving the GOT writable at runtime. ASLR and PIE do not help here since the write targets a global with a fixed offset at build time.

Patches are out. Minor upgrades within a series are designed to be drop-in, so there is no good reason to delay. If you are on a managed Redis service, check your provider's status. Redis Cloud is already patched.

Patched versions by branch: 7.2.x fixed in 7.2.14, 7.4.x fixed in 7.4.9, 8.2.x fixed in 8.2.6, 8.4.x fixed in 8.4.3, 8.6.x fixed in 8.6.3.

If patching immediately is not possible, keep Redis off the public internet, put it behind TLS, tighten ACLs so no single role holds u/admin and u/scripting together, and disable Lua scripting entirely if you do not use it. That last step kills Stage 1 of the exploit chain.

Worth noting this is one of five RCE-class Redis flaws disclosed in the same May 5 advisory. CVE-2026-23479 is the one that got the full public exploit writeup, but the others are worth reviewing too. Redis's official security advisory covers all five.

This assumes some familiarity with your environment and Redis configuration. If any of this is unclear, drop a comment and the community or myself can help.

References

Community reviews

Loading reviews…