Skip to navigation

Threat reportVulnerabilityTL-2026-7189

Redis Cluster Bus Use-After-Free in clusterProcessPingExtensions Leading to RCE (No CVE Assigned; Fixed in 8.12.0)

highMONITORING

JFrog Security Research documented a use-after-free in Redis cluster-bus PING extension handling (FORGOTTEN_NODE followed by SHARDID) and chained it, via CLUSTER SHARDS heap leaks and a Lua VM use-after-free, into remote code execution with a reverse shell in a lab PoC. First disclosed .

By

Key facts

IdentifiersTL-2026-7189, CVE-2026-81934
Also known asUse-After-Forget
SeverityHIGH
First disclosed
EPSSCVE-2026-81934: 0.5% (45.3th percentile)
Affected productsRedis Redis Open Source (cluster mode, cluster-enabled yes)
Weaknesses (CWE)CWE-416
MITRE ATT&CK techniquesT1018 Remote System Discovery, T1059 Command and Scripting Interpreter, T1059.004 Unix Shell, T1059.011 Lua, T1190 Exploit Public-Facing Application, T1499.004 Application or System Exploitation
MotivationUNKNOWN
Target sectorscross-sector any organization running clustered redis
Target regionsGlobal
Detection rules9 (1 shown free)
Sources7 cited sources

Detection coverage

As of 2026-12-01, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7189 across Splunk SPL, Microsoft KQL and Sigma, covering 3 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-server Spawning Shell or Interpreter - Use-After-Forget RCE Success (TL-2026-7189)

Detects the redis-server process spawning a shell, scripting interpreter or network utility. In the public Use-After-Forget chain (FORGOTTEN_NODE bus UAF followed by a Lua closure use-after-free) the corrupted closure dispatches to system(), yielding a reverse shell. redis-server should never spawn such children in normal operation, so this is a high-fidelity post-exploitation signal for TL-2026-7189 and also for other Redis RCE routes. Reverse-shell idioms in the command line are flagged.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1059.004, T1059.011, T1190
  • Data sources: sysmon_for_linux (index=linux sourcetype=sysmon:linux), MDE DeviceProcessEvents (Linux), linux process_creation
  • Severity: critical
  • Confidence: high

Splunk SPL

index=linux sourcetype="sysmon:linux" EventCode=1 earliest=-24h
  ParentImage="*/redis-server"
  Image IN ("*/sh", "*/bash", "*/dash", "*/zsh", "*/ash", "*/ksh", "*/busybox", "*/python*", "*/perl*", "*/ruby*", "*/nc", "*/ncat", "*/socat", "*/curl", "*/wget")
| eval reverse_shell_pattern=if(match(CommandLine,"(?i)/dev/tcp/|bash -i|mkfifo|socat .*exec|nc .* -e|python.*socket"),"yes","no")
```redis-server child process = system() reached via corrupted Lua closure, TL-2026-7189 T1059.004```
| table _time host User ParentImage ParentCommandLine Image CommandLine reverse_shell_pattern
| sort - _time

Microsoft KQL

// redis-server spawning a shell or interpreter - TL-2026-7189 Use-After-Forget RCE
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName =~ "redis-server"
| where FileName in~ ("sh", "bash", "dash", "zsh", "ash", "ksh", "busybox", "python", "python3", "perl", "ruby", "nc", "ncat", "socat", "curl", "wget")
| extend ReverseShellPattern = ProcessCommandLine matches regex @"(?i)(/dev/tcp/|bash -i|mkfifo|socat .*exec|nc .* -e|python.*socket)"
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, ReverseShellPattern
| order by Timestamp desc

Sigma

title: Redis Server Spawning Shell or Interpreter
id: 7f3a1c52-8e4b-4d19-a6c0-1b2d3e4f5a02
status: experimental
description: Detects redis-server as the parent of a shell, scripting interpreter or network utility. Matches the success condition of the Use-After-Forget Redis cluster bus UAF to Lua UAF to system() chain (TL-2026-7189, no CVE, fixed in Redis 8.12.0).
references:
  - https://jfrog.com/blog/from-cluster-bus-bug-to-rce-in-redis/
  - https://github.com/redis/redis/pull/15685
author: Threadlinqs Team
date: 2026-12-01
tags:
  - attack.execution
  - attack.t1059.004
  - attack.t1059.011
  - attack.initial-access
  - attack.t1190
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|endswith: '/redis-server'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/zsh'
      - '/ash'
      - '/ksh'
      - '/busybox'
      - '/python'
      - '/python3'
      - '/perl'
      - '/ruby'
      - '/nc'
      - '/ncat'
      - '/socat'
      - '/curl'
      - '/wget'
  condition: selection_parent and selection_child
falsepositives:
  - Custom Redis modules or wrapper builds that deliberately fork helper scripts
  - Administrators debugging on the host while redis-server is the foreground parent
level: critical

Known false positives:

  • Custom Redis modules or wrapper builds that intentionally spawn helper scripts
  • Interactive administration when redis-server is run in the foreground from a shell session (parent is the shell, not redis-server, so rare)

Tuning notes: Requires Sysmon for Linux (or auditd/EDR with parent process data) on Redis hosts, including container hosts. Adjust index/sourcetype to your Linux telemetry. Image paths may differ (redis-server vs redis-stack-server); extend the ParentImage match accordingly. Redis RDB/AOF background saves fork the same binary and are not matched because the child image is redis-server, not a shell.

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 Heap Spray: Burst Of Large SET Commands Followed By CLUSTER SHARDS (TL-2026-7189) · unlock with TL Creds
  • Redis EVAL Lua Closure Address Leak via tostring (TL-2026-7189) · unlock with TL Creds
  • Redis Cluster Reconnaissance: CLUSTER NODES plus CLUSTER MYSHARDID From Same Client (TL-2026-7189) · unlock with TL Creds
  • Redis Patched-Node Warning: FORGOTTEN_NODE Naming Sender (TL-2026-7189) · unlock with TL Creds
  • redis-server Crash Indicators In Syslog - Possible UAF Exploitation (TL-2026-7189) · unlock with TL Creds
  • Redis DEBUG or SAVE Command From Client (TL-2026-7189) · unlock with TL Creds
  • Redis Cluster Bus Port Contacted By Non-Member Host (Use-After-Forget, TL-2026-7189) · unlock with TL Creds
  • redis-server Outbound Connection To Non-Redis Port - Reverse Shell (TL-2026-7189) · unlock with TL Creds

Indicators of compromise

As of 2026-12-01, Threadlinqs Intelligence tracks 3 indicators of compromise for TL-2026-7189.

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

Technical analysis

Affects cluster-mode Redis 7.2.0 up to versions before 8.12.0; no CVE had been assigned at publication.

The flaw is a use-after-free in clusterProcessPingExtensions(), the function that walks the extension trailer of Redis Cluster Bus PING/PONG packets. The FORGOTTEN_NODE extension (introduced in July 2022, PR #10869) instructs the receiver to remove a node and calls clusterDelNode(), which frees the clusterNode struct (about 2,560 bytes on x86-64). The loop, however, keeps using a single 'sender' pointer captured at the start. If the FORGOTTEN_NODE extension names the packet's own sender, the sender (and per the fix PR, the inbound clusterLink and its receive buffer) is freed while the parser still references it. A subsequent SHARDID extension (introduced in November 2022, PR #10536) then reaches updateShardId(sender, ext_shardid), which appends the dangling sender pointer to the shard list in server.cluster->shards. The receive buffer is also freed while still parsed, so a process crash is possible, though the process stayed up in JFrog's runs.

JFrog (Eddy Tsalolikhin, Ori Hollander, Or Peles) chained the dangling node into RCE in a two-master cluster running the Redis 8.6.2 Docker image (Debian trixie, x86-64) with a default non-TLS bus and an unauthenticated client port. The chain: (1) stage a command in the keyspace and persist it with SAVE to dump.rdb in the configured dir; (2) use EVAL to leak the addresses of the Lua closures 'tostring' and '__redis__err__handler' (tostring is still permitted by the Lua sandbox); (3) send one crafted bus PING with a FORGOTTEN_NODE naming a known peer followed by a SHARDID carrying a different shard ID; (4) spray many same-size SET commands (keys in one hash slot) to reclaim the freed slot with a fake node structure, then use CLUSTER SHARDS to read the hostname field and leak a code pointer (PIE base); (5) use SETRANGE to repoint the fake hostname at a GOT entry and a second CLUSTER SHARDS to leak a libc address and thus system(); (6) set the fake node's slot_info_pairs to the error-handler closure address so CLUSTER SHARDS frees it via clusterFreeNodesSlotsInfo(), creating a use-after-free in the Lua VM; (7) drain a size bin with dummy SADD operations, reclaim the slot with a crafted SADD payload, and call the closure via EVAL so a C-closure path dispatches into a gadget that calls system(), yielding a reverse shell. Several stages are probabilistic and offsets are specific to the tested build.

Prerequisites per the source: cluster mode enabled (cluster-enabled yes); network reachability of the cluster bus (client port + 10000 unless cluster-port is set, i.e. 16379 for default 6379); the bus has no authentication of its own unless tls-cluster is enabled and bus packets need not be signed; the full RCE chain additionally needs client-port access with SAVE, CLUSTER SHARDS and EVAL permissions, and the peer node ID and victim shard ID (obtainable via CLUSTER NODES and CLUSTER MYSHARDID, which may be reachable without authentication when ACLs are absent and protected mode is disabled). Bus access alone does not reproduce the RCE chain. Standalone Redis is not affected. A separate write-up by Daniele Berardinelli (19 Oct 2026, 'Redis: from TLS reuse to RCE') reportedly reaches the same UAF through a resumed TLS session on the cluster bus and achieves code execution through DEBUG, so bus TLS is not a substitute for patching. JFrog reports Redis told them the issue duplicated a report filed on 9 March 2026. The source does not state exploitation in the wild, and no CVE, CVSS score, IOCs or attribution were published; the HIGH severity is an analyst assessment based on the demonstrated RCE.

The fix (PR #15685, 'Fix Remote UAF in Redis Cluster bus FORGOTTEN_NODE handling with demonstrated RCE impact') passes the resolved sender into clusterProcessPingExtensions() and skips, with a warning, any FORGOTTEN_NODE that names the sender or link->node, and precomputes the next-extension cursor before running each handler. It shipped in Redis 8.12.0 (released 2026-11-22 per JFrog). Note: the unrelated TLS pending-data UAF CVE-2026-81934 is a different bug and should not be conflated with this one.

MITRE ATT&CK techniques by tactic:

Discovery

T1018 Remote System Discovery

Execution

T1059 Command and Scripting Interpreter; T1059.004 Unix Shell; T1059.011 Lua

Initial Access

T1190 Exploit Public-Facing Application

Impact

T1499.004 Application or System Exploitation

Remediation

Patches

  • Upgrade to Redis 8.12.0 or later (fix: PR #15685)

Immediate actions

  • Restrict the Redis cluster bus port (client port + 10000, default 16379, or the configured cluster-port) with firewall/security-group rules so only cluster members can reach it
  • Require client authentication and least-privilege ACLs so untrusted clients cannot run SAVE, CLUSTER SHARDS, CLUSTER NODES, CLUSTER MYSHARDID or EVAL
  • Hunt for bus PINGs with a FORGOTTEN_NODE naming the sender followed by a SHARDID with a different shard ID, and for bursts of large SET commands followed by CLUSTER SHARDS

Workarounds

  • Firewall the cluster bus port to cluster members only
  • Do not rely on tls-cluster alone: a TLS-session-reuse variant reaching the same UAF was reported
  • Disable or restrict EVAL and SAVE via ACLs to block the client-side stages of the public chain (does not remove the underlying UAF)

Longer-term hardening

  • Enable bus TLS (tls-cluster yes) with a dedicated CA or tls-expected-peer-name, as defense in depth only
  • Restrict Lua scripting (EVAL) with ACLs where scripting is not needed
  • Keep cluster nodes on isolated network segments and monitor cluster-bus traffic

Affected and fixed versions

  • Redis — Redis Open Source (cluster mode, cluster-enabled yes)
    Vulnerable versions: 7.2.0 through all releases before 8.12.0
    Fixed in: 8.12.0

Timeline

  • FORGOTTEN_NODE cluster bus ping extension introduced in Redis (PR #10869); date is month-granular (July 2022) per JFrog.
  • SHARDID cluster bus ping extension introduced in Redis (PR #10536); date is month-granular (November 2022) per JFrog.
  • Earlier report of the same issue filed with the Redis security team; Redis told JFrog its report was a duplicate of this one.
  • Fix PR #15685 'Fix Remote UAF in Redis Cluster bus FORGOTTEN_NODE handling with demonstrated RCE impact' opened in redis/redis, referencing issue #15672.
  • Daniele Berardinelli publishes 'Redis: from TLS reuse to RCE', describing the same UAF reached via a resumed TLS session on the cluster bus with code execution through DEBUG.
  • PR #15685 approved and merged into redis:unstable (merge commit a013fd9).
  • Redis 8.12.0 released with the fix (JFrog cites commit c779245); the Redis 8.12 notes page seen via search showed only 8.12-RC1 (October 2026), so the GA date rests on JFrog.
  • JFrog Security Research publishes 'Use-After-Forget: From Cluster Bus Bug to RCE in Redis' with the full exploit chain; no CVE assigned.

Sources cited

AI-drafted from 7 cited 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