Skip to navigation

Threat reportVulnerabilityTL-2026-1690

Redis Streams Shared-NACK Double-Free (CVE-2026-25243) & RedisBloom RESTORE/TDigest Heap Overflow (CVE-2026-25589) — Authenticated RCE, Public PoC, Patch Bypass

highACTIVE

Security researchers 'Bera Buddies', using an AI agent (Kimi K3), publicly disclosed on 2026-07-23 that Redis's May 2026 fix for a Streams consumer-group shared-NACK double-free (CVE-2026-25243) was incomplete on 'patched' Redis 6.2.22, 7.4.9 and 8.6.4, and separately found a new, then-unpatched heap overflow in the bundled RedisBloom TDigest RDB loader affecting fresh Redis 8.8.0 installs (part of the CVE-2026-25589 RESTORE/RedisBloom family).

Key facts

IdentifiersTL-2026-1690, CVE-2026-25589, CVE-2026-25243
Also known asRedis Streams Shared-NACK Double-Free, RedisBloom TDigest Heap Overflow, Redis 0-Day Exploit (Kimi K3 / Bera Buddies), Redis RESTORE Patch-Bypass RCE
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-25243: 3.6% (89.3th percentile); CVE-2026-25589: 1.3% (69.2th percentile)
Affected productsRedis Redis (redis-server: OSS, Community Edition, Software, Cloud); Redis RedisBloom module; Redis RedisTimeSeries module
Weaknesses (CWE)CWE-122, CWE-415, CWE-20
ToolsKimi K3, libcrc64.so
MITRE ATT&CK techniquesT1059 Command and Scripting Interpreter, T1059.004 Unix Shell, T1068 Exploitation for Privilege Escalation, T1070 Indicator Removal, T1078 Valid Accounts, T1082 System Information Discovery, T1190 Exploit Public-Facing Application, T1210 Exploitation of Remote Services, T1489 Service Stop, T1518 Software Discovery, T1554 Compromise Host Software Binary, T1587.001 Malware and 4 more in the attack flow
MotivationUNKNOWN
Target sectorstechnology, cloud-computing, financial-services, ecommerce, saas, gaming
Target regionsGlobal
Detection rules9 (1 shown free)
Sources13 cited sources

Detection coverage

As of 2026-07-23, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-1690 across Splunk SPL, Microsoft KQL and Sigma, covering 20 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 RESTORE+XGROUP+EVAL Command Triad — Streams Shared-NACK Patch-Bypass Exploit Attempt (CVE-2026-25243)

Detects a single authenticated Redis client session issuing RESTORE together with XGROUP and EVAL within a 5-minute window — the minimum command surface documented in the public redis-poc exploit chain for the Streams shared-NACK double-free patch-bypass (CVE-2026-25243), which remains exploitable on 'patched' 6.2.22/7.4.9/8.6.4 builds because the May 2026 fix never actually shipped the NACK ownership guard.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1210, T1078
  • Data sources: redis:audit (Redis Enterprise/OSS command-audit log via syslog), RedisCommandAudit_CL (custom Sentinel log)
  • Severity: critical
  • Confidence: high

Splunk SPL

index=redis sourcetype="redis:audit" command IN ("RESTORE","XGROUP","EVAL")
| eval command=upper(command)
`comment("redis:audit is the Redis Enterprise / redis-cli command-audit sourcetype forwarded via syslog; adjust sourcetype for Redis OSS syslog-shipper deployments")`
| stats earliest(_time) as first_seen latest(_time) as last_seen values(command) as commands dc(command) as distinct_cmds count as total_cmds by client_ip, user, session_id
| where distinct_cmds>=3 AND (last_seen-first_seen)<=300
| eval duration_sec=round(last_seen-first_seen,1)
| eval first_seen=strftime(first_seen,"%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen,"%Y-%m-%d %H:%M:%S")
| table first_seen, last_seen, duration_sec, user, client_ip, session_id, commands, total_cmds
| sort -first_seen

Microsoft KQL

RedisCommandAudit_CL
| where TimeGenerated > ago(24h)
| where Command_s in ("RESTORE", "XGROUP", "EVAL")
| summarize Commands=make_set(Command_s), DistinctCmds=dcount(Command_s), TotalCmds=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by ClientIP_s, User_s, SessionId_s
| extend DurationSec = datetime_diff('second', LastSeen, FirstSeen)
| where DistinctCmds >= 3 and DurationSec <= 300
| project FirstSeen, LastSeen, DurationSec, User_s, ClientIP_s, SessionId_s, Commands, TotalCmds
| order by FirstSeen desc

Sigma

title: Redis RESTORE+XGROUP+EVAL Command Triad — Streams Patch-Bypass Exploit Attempt
id: 8f1c2a4e-6b3d-4a11-9c2e-1d5f7a9b3c01
status: experimental
description: Detects a single Redis client session invoking RESTORE together with XGROUP and EVAL within a short window, the minimum command surface required for the documented CVE-2026-25243 Streams shared-NACK patch-bypass exploit chain (public redis-poc).
references:
    - https://github.com/berabuddies/redis-poc
    - https://redis.io/blog/security-advisory-cve202623479-cve202625243-cve-2026-25588-cve202625589-cve-2026-23631/
    - https://nvd.nist.gov/vuln/detail/CVE-2026-25243
author: Threadlinqs Team
date: 2026-07-25
tags:
    - attack.initial-access
    - attack.execution
    - attack.t1190
    - attack.t1210
    - attack.t1078
    - attack.tool.redis_poc
    - cve.2026.25243
logsource:
    category: application
    product: redis
detection:
    selection_restore:
        Command: 'RESTORE'
    selection_xgroup:
        Command|startswith: 'XGROUP'
    selection_eval:
        Command|startswith: 'EVAL'
    timeframe: 5m
    condition: selection_restore and selection_xgroup and selection_eval | count(Command) by ClientIP >= 3
falsepositives:
    - Legitimate Streams-based application deployments that use EVAL for atomic consumer-group bookkeeping alongside routine RESTORE-based key migration (e.g. cluster resharding, RDB-based key import tooling)
    - Redis backup/restore tooling that legitimately issues RESTORE followed by application-level Lua housekeeping scripts
level: high

Known false positives:

  • Legitimate RDB-based key migration/resharding tooling that issues RESTORE plus Lua-based consumer-group bookkeeping scripts in the same session

Tuning notes: Tighten the timeframe to 60-120s in high-RESTORE-volume environments (e.g. active resharding) to cut false positives, and allow-list known migration-tool client identities/ACL usernames via a lookup table.

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)
  • [indicator] RESTORE From Untrusted/External Client Immediately Preceding EVAL (Exploit Payload Delivery, CVE-2026-25243/25589) · unlock with TL Creds
  • DEBUG Command Invocation From Non-Admin Client — Privilege-Escalation Surface Abuse · unlock with TL Creds
  • FLUSHALL or SAVE Issued Shortly After Anomalous RESTORE Activity — Forensic-Evidence Destruction · unlock with TL Creds
  • redis-cli / Scripted Client Issuing RESTORE, EVAL and XGROUP in a Single Command-Line Session · unlock with TL Creds
  • Single [indicator] Client Identity Authorized for RESTORE, EVAL and XGROUP Together (Over-Granted ACL Surface) · unlock with TL Creds
  • [indicator] Crash With Lua-Engine or Streams NACK Stack Trace (Exploitation Attempt / Failed Exploit Indicator) · unlock with TL Creds
  • [indicator] Heap-Grooming / Memory-Viewport Primitive Spray — SETRANGE/GETRANGE/INCRBYFLOAT Burst Post-RESTORE · unlock with TL Creds
  • [indicator] Child Process Spawning /bin/sh — Forced execve() via [indicator] (Full RCE Achieved) · unlock with TL Creds

Indicators of compromise

As of 2026-07-23, Threadlinqs Intelligence tracks 20 indicators of compromise for TL-2026-1690.

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

Technical analysis

Both give an authenticated client with access to commonly enabled commands (RESTORE, EVAL, XGROUP) a reliable primitive for remote code execution; a working public PoC is on GitHub, Redis shipped seven emergency releases the same day, and no in-the-wild exploitation or CISA KEV listing has been confirmed as of 2026-07-25.

On 2026-05-05 Redis published a coordinated security advisory covering five vulnerabilities discovered largely through the Wiz ZeroDay.Cloud research event: CVE-2026-23479 (unblock-client use-after-free), CVE-2026-25243 (RESTORE command double-free/invalid memory access in core Redis, reported by Emil Lerner and Joseph Surin), CVE-2026-25588 (RESTORE + RedisTimeSeries invalid memory access), CVE-2026-25589 (RESTORE + RedisBloom invalid memory access, reported by Daniel Firer and Joseph Surin), and CVE-2026-23631 (Lua scripting use-after-free on replicas). Redis shipped fixed releases the same day (OSS/CE 6.2.22, 7.2.14, 7.4.9, 8.2.6, 8.4.3, 8.6.3; RedisBloom 2.8.20; RedisTimeSeries 1.12.14) and stated no evidence of exploitation.

On 2026-07-23, the AI-agent security research group 'Bera Buddies' (researcher Chaofan Shou publicizing on X) disclosed that the May fix for the Streams shared-NACK ownership bug (CVE-2026-25243) never actually shipped in the 6.2.22, 7.4.9 and 8.6.4 releases users had been told to install — a patch-verification gap, not a new root cause — making a reliable authenticated RCE chain reproducible on 'patched' installs (10/10 on 6.2.22, 5/5 on 7.4.9, 25/25 on 8.6.4 in the public PoC). Separately, they found a genuinely new, previously unpatched heap overflow in the bundled RedisBloom TDigest RDB loader on fresh Redis 8.8.0 instances: the loader allocates a centroid array sized from the serialized compression value but then trusts a separate, attacker-controlled capacity field when deciding how many nodes to load, producing a small real allocation paired with inflated metadata and an out-of-bounds write. This TDigest bug is part of the broader RESTORE+RedisBloom vulnerability class tracked as CVE-2026-25589.

Both chains require RESTORE to deliver the malformed serialized payload; the Streams chain additionally needs EVAL and XGROUP. The published exploit chain proceeds: (1) a malformed RESTORE payload (corrupt zipmap or a stream with duplicate NACK entries) triggers the double-free; (2) the attacker sprays uniquely-marked Redis strings to find overlapping heap allocations; (3) SETRANGE overwrites object headers on the overlap to forge a ~1MB fake SDS string as a read/write memory viewport; (4) predictable INCRBYFLOAT float allocations are located and their pointers redirected through the viewport, giving arbitrary read/write via GETRANGE/SETRANGE; (5) the heap is scanned from known addresses for the global redisServer struct, identified by recognizable fields (pid, thread_id, executable path, config values); (6) server.executable and server.exec_argv are overwritten in memory to point at /bin/sh and shell arguments, the DEBUG command is enabled, and DEBUG CRASH-AND-RECOVER is issued to force execve() and hand the attacker a shell. The PoC notes the technique is layout-sensitive on 8.8.0 (jemalloc memory layout, retries needed on grooming misses) and that it leaves inert exploit keys and corrupted structures behind — operators are advised to avoid FLUSHALL/SAVE, which could mask forensic residue.

Redis responded the same day (2026-07-23) with seven emergency releases: 6.2.23, 7.2.15 and 7.4.10 fix the Streams shared-NACK use-after-free that the May releases had missed; 8.2.8, 8.4.5 and 8.6.5 fix both the Streams issue and the RedisBloom/TDigest out-of-bounds write; 8.8.1 fixes the RedisBloom/TDigest loader specifically (the Streams guard was already present in 8.8.0). As of 2026-07-25, CVE-2026-25243 carries CVSS v3.1 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and CVE-2026-25589 carries CVSS v4.0 7.7; neither CVE appears in the CISA Known Exploited Vulnerabilities catalog and Redis states it has no evidence of exploitation in its own environment or customer environments. Exploitation in all cases is strictly post-authentication and depends on the attacker's Redis identity being permitted to run RESTORE (and, for the Streams chain, EVAL/XGROUP) — a permission surface Redis's own advisory calls out as commonly over-granted in internal deployments.

MITRE ATT&CK techniques by tactic:

Execution

T1059 Command and Scripting Interpreter; T1059.004 Unix Shell

Privilege Escalation

T1068 Exploitation for Privilege Escalation

Defense Evasion

T1070 Indicator Removal; T1620 Reflective Code Loading

Initial Access

T1078 Valid Accounts; T1190 Exploit Public-Facing Application

Discovery

T1082 System Information Discovery; T1518 Software Discovery

lateral-movement

T1210 Exploitation of Remote Services

Impact

T1489 Service Stop

Persistence

T1554 Compromise Host Software Binary

Resource Development

T1587.001 Malware; T1588.006 Vulnerabilities

Reconnaissance

T1592.004 Client Configurations; T1595 Active Scanning

Remediation

Patches

  • Redis OSS/CE 6.2.23, 7.2.15, 7.4.10, 8.2.8, 8.4.5, 8.6.5, 8.8.1 (2026-07-23, Streams + RedisBloom/TDigest fixes)
  • RedisBloom 2.8.20 / 2.6.28 / 2.4.23 (2026-05-05, RESTORE OOB read/write fix)
  • RedisTimeSeries 1.12.14 / 1.10.24 / 1.8.23 (2026-05-05, RESTORE OOB read/write fix)
  • Redis Software 8.0.10-64, 7.22.2-79, 7.8.6-253, 7.4.6-279, 7.2.4-153 (2026-05-05 batch)

Immediate actions

  • Upgrade self-managed Redis to a fixed 2026-07-23 release: 6.2.23, 7.2.15, 7.4.10, 8.2.8, 8.4.5, 8.6.5, or 8.8.1 — do not treat the May releases (6.2.22/7.2.14/7.4.9/8.6.3) as sufficient; they did not include the Streams shared-NACK ownership guard
  • Upgrade RedisBloom to >= 2.8.20 (or the version bundled in the 2026-07-23 Redis releases) and RedisTimeSeries to >= 1.12.14/1.10.24/1.8.23
  • Restrict or remove RESTORE, EVAL, and XGROUP from non-essential ACL profiles; use `ACL SETUSER <user> -restore -eval` style rules
  • Disable the DEBUG command in production via ACL if not required operationally
  • Bind Redis to private/internal interfaces only; never expose port 6379 to the public internet
  • Rotate credentials for any account with RESTORE/EVAL/XGROUP permissions

Workarounds

  • Restrict RESTORE command access via Redis ACL rules until upgrade is complete
  • Use `rename-command` to obscure/disable EVAL, RESTORE and other high-risk commands where ACLs are unavailable
  • Enforce protected-mode and strong unique authentication credentials on every instance

Longer-term hardening

  • Disable unused bundled modules (RedisBloom, RedisTimeSeries) if not in active use
  • Adopt least-privilege ACLs for all Redis client identities rather than broad command access
  • Monitor for anomalous RESTORE/EVAL/XGROUP invocations and unexpected redis-server crashes with Lua-engine stack traces
  • Treat 'we set a password' as insufficient; pair authentication with command-surface restriction and network segmentation
  • Track Redis security advisories continuously — this disclosure shows a vendor-issued fix can itself be incomplete

Affected and fixed versions

  • Redis — Redis (redis-server: OSS, Community Edition, Software, Cloud)
    Vulnerable versions: 6.2.22 (patch-bypass; NACK guard missing); 7.2.14 (pre-7.2.15); 7.4.9 (patch-bypass; NACK guard missing); 8.2.6 (pre-8.2.8); 8.4.3 (pre-8.4.5); 8.6.3 and 8.6.4 (patch-bypass; NACK guard missing, pre-8.6.5); 8.8.0 (RedisBloom TDigest loader unpatched)
    Fixed in: 6.2.23; 7.2.15; 7.4.10; 8.2.8; 8.4.5; 8.6.5; 8.8.1
  • Redis — RedisBloom module
    Vulnerable versions: < 2.8.20 (RESTORE out-of-bounds read/write, CVE-2026-25589); bundled with Redis 8.8.0 (TDigest RDB loader out-of-bounds write, fixed only in the 2026-07-23 release train)
    Fixed in: 2.8.20; 2.6.28; 2.4.23; TDigest loader fix shipped in Redis 8.8.1 / 8.6.5 / 8.4.5 / 8.2.8
  • Redis — RedisTimeSeries module
    Vulnerable versions: < 1.12.14 / 1.10.24 / 1.8.23 (RESTORE out-of-bounds read/write, CVE-2026-25588)
    Fixed in: 1.12.14; 1.10.24; 1.8.23

Timeline

  • Redis ships OSS/CE 6.2.22, 7.2.14, 7.4.9, 8.2.6, 8.4.3, 8.6.3, RedisBloom 2.8.20 and RedisTimeSeries 1.12.14 as fixed releases; the Streams shared-NACK ownership guard is later found missing from 6.2.22, 7.4.9 and 8.6.4/8.6.3-line builds.
  • Redis publishes a coordinated security advisory for five CVEs (CVE-2026-23479, CVE-2026-25243, CVE-2026-25588, CVE-2026-25589, CVE-2026-23631), most discovered at the Wiz ZeroDay.Cloud event, and states no evidence of exploitation.
  • Redis ships seven emergency releases the same day: 6.2.23, 7.2.15, 7.4.10 (Streams shared-NACK fix); 8.2.8, 8.4.5, 8.6.5 (Streams + RedisBloom/TDigest fix); 8.8.1 (RedisBloom/TDigest loader fix).
  • The Hacker News publishes 'Kimi K3 Agents Found Redis Zero-Days and Built RCE Exploit, Researchers Say,' noting Redis attributes CVE-2026-25589 specifically to RedisBloom memory corruption during RESTORE, not the Streams shared-NACK flaw.
  • Cyber Security News publishes 'Redis Server 0-Day Exploit,' the article that seeded this threat record.
  • Bera Buddies publicly discloses and publishes a working PoC (github.com/berabuddies/redis-poc) demonstrating reliable authenticated RCE against 'patched' Redis 6.2.22/7.4.9/8.6.4 (patch bypass) and unpatched Redis 8.8.0 (RedisBloom TDigest).
  • Bera Buddies uses Kimi K3 AI agents to rediscover that the May Streams fix did not fully land and to find a new heap overflow in RedisBloom's TDigest RDB loader on fresh Redis 8.8.0, self-reporting rapid (minutes-scale) discovery and exploit generation.
  • CISA's Known Exploited Vulnerabilities catalog is checked and contains no entries for any of the five Redis CVEs or for Redis as a vendor, consistent with no confirmed in-the-wild exploitation.
  • NVD records for CVE-2026-25589 and CVE-2026-25243 show a last-modified date reflecting updated CVSS scoring and reference data.

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 13 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