CVE-2026-23631CWE-416

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

Medium · published May 5, 2026

CVSS v4.0
6.1
EPSS
3%
Percentile
86.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.1 · MEDIUM
Vector
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
EPSS
0.02805 · 86.4th percentile
Weakness
CWE-416 · Use After Free
Published
2026-05-05T16:39Z
EPSS history
Timeline
  • 05 MAY 16:39Z
    redis-server Lua use-after-free may allow remote code execution
    cvelistv5