Skip to navigation

Threat reportVulnerabilityTL-2026-0682

Redis RCE CVE-2026-23479 — Use-After-Free in unblockClientOnKey() (Authenticated, CVSS 8.8)

highACTIVE

An authenticated use-after-free (CWE-416) in Redis's unblock-client flow (unblockClientOnKey() in src/blocked.c) enables heap corruption that chains to remote code execution as the redis-server process. Surfaced after 2+ years by Theori's autonomous Xint Code AI tool at ZeroDay.Cloud 2025 and reported by Team Xint Code; a full 3-stage exploit write-up (heap leak -> heap reclaim -> GOT overwrite) is now public.

Key facts

IdentifiersTL-2026-0682, CVE-2026-23479
SeverityHIGH
CVSS8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Exploitation statusPublic proof-of-concept exploit for a linked CVE
EPSSCVE-2026-23479: 1.5% (73.6th percentile)
Affected productsRedis Redis CE/OSS; Redis Redis Software (Enterprise); Redis Redis Cloud
Weaknesses (CWE)CWE-416
MITRE ATT&CK techniquesT1059 Command and Scripting Interpreter, T1059.004 Command and Scripting Interpreter: Unix Shell, T1068 Exploitation for Privilege Escalation, T1082 System Information Discovery, T1106 Native API, T1190 Exploit Public-Facing Application, T1211 Exploitation for Stealth, T1499.004 Endpoint Denial of Service: Application or System Exploitation
MotivationUNKNOWN
Target sectorstechnology, financial, ecommerce, saas, gaming, telecommunications
Target regionsGlobal
Detection rules9 (1 shown free)
Sources7 cited sources

Detection coverage

As of 2026-06-04, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0682 across Splunk SPL, Microsoft KQL and Sigma, covering 12 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Redis CVE-2026-23479 maxmemory-clients Eviction Tied to Stream Wake — Post-Exploitation UAF Trigger

Detects Stage 2 of CVE-2026-23479: a runtime CONFIG SET maxmemory-clients to 1 (or a very low value) correlated within seconds with an XREAD BLOCK stream park and an XADD wake from a separate connection, plus a pipelined SET to a reclaim-style key. This sequence forces client eviction during reprocessing, triggering the use-after-free and reclaiming the freed client slot with a forged structure.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1068, T1211
  • Data sources: redis_command_logs, redis_config_audit
  • Severity: critical
  • Confidence: high

Splunk SPL

index=redis sourcetype="redis:commands" (command="CONFIG SET maxmemory-clients*" OR command="XREAD*BLOCK*" OR command="XADD*" OR command="SET reclaim:*") 
| eval stage=case(like(command,"CONFIG SET maxmemory-clients%"),"groom", match(command,"XREAD.*BLOCK"),"park", like(command,"XADD%"),"wake", like(command,"SET reclaim:%"),"reclaim") 
| bin _time span=30s 
| stats dc(stage) as stage_variety values(stage) as stages values(command) as commands min(_time) as first_seen max(_time) as last_seen by dest_host, _time 
| where stage_variety >= 3 AND (isnotnull(mvfind(stages,"groom")) AND isnotnull(mvfind(stages,"wake"))) 
| table first_seen, last_seen, dest_host, stages, commands, stage_variety

Microsoft KQL

RedisCommands_CL
| where TimeGenerated > ago(24h)
| extend Stage = case(Command_s has "CONFIG SET maxmemory-clients", "groom", Command_s has "XREAD" and Command_s has "BLOCK", "park", Command_s startswith "XADD", "wake", Command_s has "SET reclaim:", "reclaim", "other")
| where Stage != "other"
| summarize StageVariety=dcount(Stage), Stages=make_set(Stage), Commands=make_list(Command_s), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by DestHost_s, bin(TimeGenerated, 30s)
| where StageVariety >= 3 and Stages has "groom" and Stages has "wake"

Sigma

title: Redis Aggressive maxmemory-clients Eviction Tied to Stream Wake — CVE-2026-23479 UAF Trigger
id: b2e1d3c5-2026-4682-8c22-redisuaf0002
status: experimental
description: Detects the CVE-2026-23479 stage-2 pattern — runtime CONFIG SET maxmemory-clients to 1 (or very low) closely followed by XADD waking a client blocked via XREAD BLOCK, forcing client eviction during reprocessing
references:
    - https://zeroday.cloud/blog/redis-cve-2026-23479-deep-dive
    - https://redis.io/blog/security-advisory-cve202623479-cve202625243-cve-2026-25588-cve202625589-cve-2026-23631/
author: Threadlinqs Team
date: 2026/06/04
tags:
    - attack.privilege_escalation
    - attack.t1068
    - attack.initial_access
    - attack.t1190
    - cve.2026.23479
logsource:
    product: redis
    service: commands
detection:
    selection_cfg:
        command|contains: 'CONFIG SET maxmemory-clients'
    selection_wake:
        command|contains:
            - 'XREAD'
            - 'BLOCK'
            - 'XADD'
    timeframe: 30s
    condition: selection_cfg and selection_wake
fields:
    - src_ip
    - acl_user
    - command
falsepositives:
    - Operators legitimately tuning maxmemory-clients while stream workloads run
level: high

Known false positives:

  • Operators legitimately lowering maxmemory-clients during capacity tuning while stream workloads (XREAD/XADD) are active
  • Load-testing harnesses that exercise blocking stream reads

Tuning notes: Tighten the correlation window if normal admin tuning produces noise. Restrict the maxmemory-clients selection to changes to a value <= 4. Alert with higher confidence when the source ACL user is a non-administrative application identity.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • Redis CVE-2026-23479 Lua Introspection Leak (KQL) — Exploitation Phase · unlock with TL Creds
  • Redis CVE-2026-23479 Forged-Client Reclaim & SIGSEGV Correlation (KQL) — Post-Exploitation · unlock with TL Creds
  • Redis CVE-2026-23479 Post-RCE Child Process & Outbound C2 (KQL) — C2 / Lateral Movement · unlock with TL Creds
  • Redis CVE-2026-23479 Lua Heap Leak (Sigma) — Exploitation Phase · unlock with TL Creds
  • Redis CVE-2026-23479 maxmemory-clients + Stream Wake UAF (Sigma) — Post-Exploitation · unlock with TL Creds
  • Redis CVE-2026-23479 Server Spawning Shell / C2 (Sigma) — C2 / Lateral Movement · unlock with TL Creds
  • Redis CVE-2026-23479 Lua Heap-Address Leak Probe — Exploitation Phase · unlock with TL Creds
  • Redis CVE-2026-23479 Server Spawning Shell / Outbound C2 — Post-RCE & Lateral Movement · unlock with TL Creds

Indicators of compromise

As of 2026-06-04, Threadlinqs Intelligence tracks 12 indicators of compromise for TL-2026-0682.

12 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

CVE-2026-23479 is a use-after-free vulnerability in the Redis blocked-client wake-up path. unblockClientOnKey() dispatches a queued, previously-blocked command through processCommandAndResetClient() and then continues to dereference the same client pointer. The function header explicitly warns that the client may be freed as a side effect of processing the command, yet the return value is ignored. The defect was introduced by two separate changes: PR #11012 (January 2023) added the unchecked processCommandAndResetClient() call, and PR #11568 (March 2023) added further client access after that call. It shipped in Redis 7.2.0 (late 2023) and survived multiple security review rounds across every stable branch through 8.6.2 for over two years.

Exploitation is a three-stage chain. Stage 1 (information leak): an authenticated attacker runs the Lua one-liner EVAL "return tostring(redis.call)" 0, which returns a function pointer exposing a stable Redis heap address used to populate fake-client fields. Stage 2 (UAF trigger and reclaim): the attacker grooms memory via CONFIG SET maxmemory-clients and client-output-buffer-limit, parks a bloated client blocked on a stream (XREAD BLOCK 0), then on a second connection lowers maxmemory-clients to 1 and issues XADD to wake the blocked client. The wake-up frees the blocked client during eviction, but unblockClientOnKey() keeps using the dangling pointer (zfree() does not zero memory) and queueClientForReprocessing() re-appends the freed pointer to server.unblocked_clients for same-iteration processing. A pipelined SET reclaim:<rand> <fake-client-bytes> reclaims the freed slot with an attacker-crafted client structure (controlled last_memory_type as an OOB index, last_memory_usage as a decrement, CLIENT_PENDING_COMMAND flag set, and leaked heap pointers to avoid crashes). Stage 3 (RCE): when Redis drains server.unblocked_clients it processes the reclaimed allocation via updateClientMemoryUsage(), executing server.stat_clients_type_memory[c->last_memory_type] -= c->last_memory_usage as an out-of-bounds write. With partial RELRO (default in official Redis Docker images) the .got.plt is writable, so the attacker corrupts the GOT entry for strcasecmp to point at system(). The next command parsed invokes strcasecmp() and instead runs the command string as a shell command with redis-server privileges.

The exploit requires post-authentication access with ACL categories @admin (CONFIG SET), @scripting (EVAL), @stream (XREAD/XADD), and @read/@write (SET/GET) — all granted to the default user in standard deployments. Redis reports no in-the-wild exploitation as of the 2026-05-05 advisory, but the complete technical chain is now public, elevating follow-on risk for internet-exposed or weakly-segmented instances.

MITRE ATT&CK techniques by tactic:

Execution

T1059 Command and Scripting Interpreter; T1059.004 Command and Scripting Interpreter: Unix Shell; T1106 Native API

Privilege Escalation

T1068 Exploitation for Privilege Escalation

Discovery

T1082 System Information Discovery

Initial Access

T1190 Exploit Public-Facing Application

Defense Evasion

T1211 Exploitation for Stealth

Impact

T1499.004 Endpoint Denial of Service: Application or System Exploitation

Remediation

Patches

  • Redis CE/OSS 6.2.22 / 7.2.14 / 7.4.9 / 8.2.6 / 8.4.3 / 8.6.3
  • Redis Software 8.0.10-64 / 7.22.2-79 / 7.8.6-253 / 7.4.6-279 / 7.2.4-153

Immediate actions

  • Upgrade Redis CE/OSS to a fixed release: 6.2.22, 7.2.14, 7.4.9, 8.2.6, 8.4.3, or 8.6.3
  • For Redis Software upgrade to 8.0.10-64, 7.22.2-79, 7.8.6-253, 7.4.6-279, or 7.2.4-153
  • Restrict Redis network access to private subnets; block 6379/tcp at the perimeter and require TLS
  • Remove @admin, CONFIG, and @scripting from non-administrative ACL roles; disable scripting if unused
  • Rotate broadly-distributed Redis credentials

Workarounds

  • ACL: deny EVAL/EVALSHA, CONFIG, XADD/XREAD, and maxmemory-clients changes to application users
  • Run redis-server as an unprivileged, sandboxed user with no outbound network egress
  • Front Redis with an authenticating proxy and IP allowlist

Longer-term hardening

  • Enforce least-privilege ACLs per application identity
  • Enable protected-mode on CE/OSS deployments
  • Deploy host/EDR monitoring for redis-server spawning child shells
  • Subscribe to Redis security advisories and patch on a defined SLA

Affected and fixed versions

  • Redis — Redis CE/OSS
    Vulnerable versions: 7.2.0-7.2.13; 7.4.0-7.4.8; 8.2.0-8.2.5; 8.4.0-8.4.2; 8.6.0-8.6.2
    Fixed in: 6.2.22; 7.2.14; 7.4.9; 8.2.6; 8.4.3; 8.6.3
  • Redis — Redis Software (Enterprise)
    Vulnerable versions: <= 8.0.6
    Fixed in: 8.0.10-64; 7.22.2-79; 7.8.6-253; 7.4.6-279; 7.2.4-153
  • Redis — Redis Cloud
    Vulnerable versions: pre-2026-05-05
    Fixed in: Auto-patched by Redis as of 2026-05-05

Timeline

  • Redis PR #11012 adds an unchecked call to processCommandAndResetClient() in the unblock-client flow.
  • Redis PR #11568 adds further client-pointer access after the unchecked call, completing the use-after-free condition.
  • Vulnerable code ships in Redis 7.2.0 and propagates to every stable branch through 8.6.2.
  • Theori's autonomous Xint Code AI tool surfaces the UAF in src/blocked.c during the ZeroDay.Cloud 2025 competition in London.
  • Redis publishes the security advisory and fixed releases (6.2.22/7.2.14/7.4.9/8.2.6/8.4.3/8.6.3); Redis Cloud auto-patched. No ITW exploitation reported.
  • The Hacker News reports the flaw and the ZeroDay.Cloud deep-dive publishes the full 3-stage exploit chain, making the technical details public.

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats