CVE-2026-23631
HIGH8.1EPSS 0.08%redis-server Lua use-after-free may allow remote code execution
Published: 5/5/2026Modified: 5/14/2026
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.
Affected packages (5)
- Alpine/valkeyfrom 0, < 7.2.13-r0
- Bitnami/keydb>= 7.2.0, < 7.2.14, >= 7.3.0, < 7.4.9, >= 8.0.0, < 8.2.6, >= 8.3.0, < 8.4.3, >= 8.5.0, < 8.6.3
- Bitnami/redis>= 7.2.0, < 7.2.14, >= 7.3.0, < 7.4.9, >= 8.0.0, < 8.2.6, >= 8.3.0, < 8.4.3, >= 8.5.0, < 8.6.3
- Bitnami/valkeyfrom 0, < 7.2.13, >= 8.0.0, < 8.0.8, >= 8.1.0, < 8.1.7, >= 9.0.0, < 9.0.4
- Debian/redisfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
References (5)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2026-23631
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-23631
- WEBhttps://github.com/redis/redis/releases/tag/8.6.3
- WEBhttps://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2026-23631