What’s Vulnerable › Vulnerabilities
CVE-2026-23631: redis-server Lua use-after-free may allow remote code execution
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-05 · updated 2026-07-25
- Weakness: CWE-416
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 products
- Redis: before 8.6.3 — fixed in 8.6.3
How to fix
Upgrade to a fixed version: Redis 8.6.3. Check the vendor advisory for mitigations.
References
- https://github.com/redis/redis/releases/tag/8.6.3
- https://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826
- https://access.redhat.com/errata/RHSA-2026:14316
- https://access.redhat.com/errata/RHSA-2026:25216
- https://access.redhat.com/errata/RHSA-2026:25219
- https://access.redhat.com/errata/RHSA-2026:25925
- https://access.redhat.com/errata/RHSA-2026:26306
- https://access.redhat.com/errata/RHSA-2026:26540
- https://access.redhat.com/errata/RHSA-2026:33444
- https://access.redhat.com/security/cve/CVE-2026-23631
- https://bugzilla.redhat.com/show_bug.cgi?id=2466788
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23631.json
Get alerted when CVE-2026-23631 or the next vulnerability affects your stack