CVE-2026-23631 PUBLISHED

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

Assigner: GitHub_M
Reserved: 14.01.2026 Published: 05.05.2026 Updated: 06.05.2026

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.

Metrics

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
CVSS Score: 6.1

Product Status

Vendor redis
Product redis
Versions
  • Version < 8.6.3 is affected

References

Problem Types

  • CWE-416: Use After Free CWE