redis-server Lua use-after-free may allow remote code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA redis (redis) Fixed in 8.6.3
Red Hat 7 advisories
- RHSA-2026:33444 Released 2026-06-30 · Red Hat rating Importantredis:7 security update
- Red Hat Enterprise Linux AppStream E4S (v.9.4) redis-7.0.12-2.module+el9.4.0+24450+e284b512.8.aarch64::redis:7, redis-7.0.12-2.module+el9.4.0+24450+e284b512.8.ppc64le::redis:7, redis-7.0.12-2.module+el9.4.0+24450+e284b512.8.s390x::redis:7 +7
- RHSA-2026:26540 Released 2026-06-17 · Red Hat rating Importantvalkey security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) valkey-8.0.9-1.el10_0, valkey-devel-8.0.9-1.el10_0
- RHSA-2026:26306 Released 2026-06-16 · Red Hat rating Importantredis:7 security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) redis-7.2.14-1.module+el9.6.0+24344+1bc33ec7.aarch64::redis:7, redis-7.2.14-1.module+el9.6.0+24344+1bc33ec7.ppc64le::redis:7, redis-7.2.14-1.module+el9.6.0+24344+1bc33ec7.s390x::redis:7 +7
Show 4 more Red Hat advisories
- RHSA-2026:25925 Released 2026-06-15 · Red Hat rating Importantvalkey security update
- Red Hat Enterprise Linux AppStream (v. 9) valkey-8.0.9-1.el9_8, valkey-devel-8.0.9-1.el9_8
- RHSA-2026:25219 Released 2026-06-11 · Red Hat rating Importantredis:7 security update
- Red Hat Enterprise Linux AppStream (v. 9) redis-7.2.14-1.module+el9.8.0+24327+41ceb644.aarch64::redis:7, redis-7.2.14-1.module+el9.8.0+24327+41ceb644.ppc64le::redis:7, redis-7.2.14-1.module+el9.8.0+24327+41ceb644.s390x::redis:7 +7
- RHSA-2026:25216 Released 2026-06-11 · Red Hat rating Importantvalkey security update
- Red Hat Enterprise Linux AppStream (v. 10) valkey-8.0.9-1.el10_2, valkey-devel-8.0.9-1.el10_2
- RHSA-2026:14316 Released 2026-05-06 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images valkey-9.0.4-0.1.hum1@aarch64, valkey-9.0.4-0.1.hum1@src, valkey-9.0.4-0.1.hum1@x86_64 +10
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:25216 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:25219, RHSA-2026:25925 |
| Red Hat Enterprise Linux AppStream E4S (v.9.4) | Fixed | RHSA-2026:33444 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:26540 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:26306 |
| Red Hat Hardened Images | Fixed | RHSA-2026:14316 |
Not affected: 3 products
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-23631
- 2026-10-07 Affected versions changed · Red Hat
- 2026-10-29 Affected versions changed · Red Hat
References
More Redis vulnerabilities
- TI-2022-00463 Missing authorization in Debian redis KEVCVSS 3.1CRITICAL 10.0
- TI-2025-31759 Redis Lua Use-After-Free may lead to remote code execution CVSS 3.1CRITICAL 10.0
- TI-2023-18618 Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis CVSS 3.1HIGH 8.8
- TI-2024-20813 Lua library commands may lead to stack overflow and RCE in Redis CVSS 3.1HIGH 8.8
- TI-2022-08647 Heap overflow issue with the Lua cjson library used by Redis CVSS 3.1HIGH 8.8
- TI-2022-08549 Lua scripts can be manipulated to overcome ACL rules in Redis CVSS 3.1HIGH 7.8
Sources
- CVE-2026-23631 · CVE Program
- CVE-2026-23631 · NVD
- FIRST EPSS
- CVE-2026-23631 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences