CVE-2026-23631
JSON

6.1medium

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

Severity
6.1medium CVSS:4.0 by GitHub_M
Exploit likelihood
3.09% (higher than 88% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-KEYDB-2026-23631BIT-REDIS-2026-23631BIT-VALKEY-2026-23631GHSA-8ghh-qpmp-7826

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

Product or packageVersionsReported by
redis redis< 8.6.3, before 8.6.3CVE List, NVD
valkeyNot specified
Not affected: from 0:8.0.9-1.el10_2 before *, from 0:8.0.9-1.el10_0 before *, from 0:8.0.9-1.el9_8 before *
CVE List
redis:7Not specified
Not affected: from 9080020260521083756.9 before *, from 9040020260625094332.9 before *, from 9060020260602115714.9 before *
CVE List
valkey-mainNot specified
Not affected: from 9.0.4-0.1.hum1 before *
CVE List
redis:6/redisNot specifiedCVE List
redisNot specifiedCVE List
boostNot specifiedCVE List
keydb (Bitnami)from 7.2.0 before 7.2.14, from 7.3.0 before 7.4.9, from 8.0.0 before 8.2.6, from 8.3.0 before 8.4.3, from 8.5.0 before 8.6.3Bitnami Vulnerability Database
redis (Bitnami)from 7.2.0 before 7.2.14, from 7.3.0 before 7.4.9, from 8.0.0 before 8.2.6, from 8.3.0 before 8.4.3, from 8.5.0 before 8.6.3Bitnami Vulnerability Database
valkey (Bitnami)before 7.2.13, from 8.0.0 before 8.0.8, from 8.1.0 before 8.1.7, from 9.0.0 before 9.0.4Bitnami Vulnerability Database

All scores

GitHub_M6.1medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
redhat-SADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Redis es un almacén de estructuras de datos en memoria. En todas las versiones de redis-server con scripting Lua, un atacante autenticado puede explotar el mecanismo de sincronización maestro-réplica para desencadenar un uso después de liberación en réplicas donde replica-read-only está deshabilitado o puede ser deshabilitado, lo que puede conducir a ejecución remota de código. Una solución alternativa es evitar que los usuarios ejecuten scripts Lua o evitar el uso de réplicas donde replica-read-only está deshabilitado. Esto está parcheado en la versión 8.6.3.

References

https://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826advisory, mitigation, vendor-advisory
https://github.com/redis/redis/releases/tag/8.6.3article, release-notes
https://access.redhat.com/security/cve/CVE-2026-23631vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2466788issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23631.jsonweb
https://access.redhat.com/errata/RHSA-2026:26540vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:25216vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:33444vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:26306vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:25219vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:25925vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:14316vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2026-23631 changed 2026-07-16CVE Terms of Use
NVDCVE-2026-23631 changed 2026-07-25Public domain
Bitnami Vulnerability DatabaseBIT-KEYDB-2026-23631 changed 2026-09-10Apache-2.0
Bitnami Vulnerability DatabaseBIT-REDIS-2026-23631 changed 2026-09-10Apache-2.0
Bitnami Vulnerability DatabaseBIT-VALKEY-2026-23631 changed 2026-09-10Apache-2.0