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

- Severity: Medium 6.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.09%, higher than 88% of CVEs (2026-12-01)
- Published: 2026-05-05T16:39:32.337Z
- Modified: 2026-09-10T16:01:48.381Z
- Also known as: BIT-KEYDB-2026-23631, BIT-REDIS-2026-23631, BIT-VALKEY-2026-23631, GHSA-8ghh-qpmp-7826
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- redis redis: < 8.6.3; before 8.6.3
- valkey: no versions given (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 *)
- redis:7: no versions given (not affected: from 9080020260521083756.9 before *; from 9040020260625094332.9 before *; from 9060020260602115714.9 before *)
- valkey-main: no versions given (not affected: from 9.0.4-0.1.hum1 before *)
- redis:6/redis: no versions given
- redis: no versions given
- boost: no versions given
- 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.3
- 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.3
- 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.4

## Every score

- GitHub_M: CVSS:4.0 6.1 Medium `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`
- redhat-SADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

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

## Sources

- CVE List: [CVE-2026-23631](https://www.cve.org/CVERecord?id=CVE-2026-23631), CVE Terms of Use, modified 2026-07-16
- NVD: [CVE-2026-23631](https://nvd.nist.gov/vuln/detail/CVE-2026-23631), Public domain, modified 2026-07-25
- Bitnami Vulnerability Database: [BIT-KEYDB-2026-23631](https://osv.dev/vulnerability/BIT-KEYDB-2026-23631), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-REDIS-2026-23631](https://osv.dev/vulnerability/BIT-REDIS-2026-23631), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-VALKEY-2026-23631](https://osv.dev/vulnerability/BIT-VALKEY-2026-23631), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-23631 · Whole record: https://cve.day/CVE-2026-23631.json · Rebuilt by cve.day 2026-11-25T22:59:20.623Z
