CVE-2026-23631 MEDIUM

CVE-2026-23631: redis-server Lua use-after-free may allow remote code execution

Vendor Redis
Product redis
Weakness CWE-416
Published May 5, 2026
Last update June 30, 2026

CVSS base score

6.1/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 5, 2026 CVE published
June 30, 2026 Record updated