CVE-2026-23631

Published May 5, 2026

Last updated a month ago

CVSS medium 6.1
Redis
Database

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-23631, also known as "DarkReplica," is a use-after-free vulnerability found in Redis, an in-memory data structure store. This flaw specifically impacts versions of `redis-server` that utilize Lua scripting. An authenticated attacker can exploit the master-replica synchronization mechanism to trigger the use-after-free condition on replicas where the `replica-read-only` setting is either disabled or can be disabled. Successful exploitation of this vulnerability can lead to remote code execution. The issue was discovered during a ZeroDay.Cloud 2025 research effort and has since been patched in Redis version 8.6.3. A recommended workaround involves preventing users from executing Lua scripts or avoiding the use of replicas where `replica-read-only` is not enabled.

Description
Redis is an in-memory data structure store. In all versions of redis-server with Lua scripting, an authenticated attacker can exploit the master-replica synchronization mechanism to trigger a use-after-free on replicas where replica-read-only is disabled or can be disabled, which may lead to remote code execution. A workaround is to prevent users from executing Lua scripts or avoid using replicas where replica-read-only is disabled. This is patched in version 8.6.3.
Source
security-advisories@github.com
NVD status
Analyzed
Products
redis

Risk scores

CVSS 4.0

Type
Secondary
Base score
6.1
Impact score
-
Exploitability score
-
Vector string
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity
MEDIUM

CVSS 3.1

Type
Primary
Base score
8.1
Impact score
5.2
Exploitability score
2.8
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Severity
HIGH

Weaknesses

security-advisories@github.com
CWE-416

Social media

Hype score
Not currently trending

Configurations