Exploit database

Vulnerability

CVE-2026-23631

redis-server Lua use-after-free may allow remote code execution

Vulnerability details

Score
6.1
Severity
medium

CVSS 4.0 · GitHub_M

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

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.

CVE Program

Exploit source choices

1 source
yoyosh/darkreplica
GH-baa3752fd39e3895667c8fbc596488a3GitHubUnofficial GitHub sourcePreferred

CVE-2026-23631 (DarkReplica) Redis Exploit

2026-05-0738 files · 33 stars