CVE-2026-23631: redis-server Lua use-after-free may allow remote code execution
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.
Security readout for executives and security teams
Plain-English summary
Redis servers before 8.6.3 can be exposed to a serious memory-safety flaw when Lua scripting and replica synchronization are in play. An authenticated attacker could potentially execute code on affected replicas if replica read-only protections are disabled or can be disabled.
Executive priority
Treat as a near-term remediation item for production Redis, especially customer-facing, shared, or replicated environments. Patch or restrict risky Lua and replica configurations promptly, but do not claim emergency exploitation without new evidence.
Technical view
CVE-2026-23631 is a CWE-416 use-after-free in redis-server Lua scripting. The described trigger involves master-replica synchronization and replicas where replica-read-only is disabled or disableable. CVSS is 8.8 with low attack complexity, network access, and low privileges required. Redis says 8.6.3 patches it.
Likely exposure
Exposure is most likely in Redis deployments below 8.6.3 that allow authenticated users to run Lua scripts and use replicas without enforced read-only mode. Internet exposure, shared Redis access, or weak Redis authentication materially increases urgency.
Exploitation context
The supplied sources do not show CISA KEV listing or confirmed active exploitation. The issue is still high risk because the vendor describes possible remote code execution by an authenticated attacker under specific replica and Lua conditions.
Researcher notes
Key constraints are authentication, Lua scripting, and replica read-only state. Validate exposure through configuration and version review rather than proof-of-concept testing. The supplied bundle does not include exploit availability, detailed affected build matrix, or non-Redis product impact.
Mitigation direction
Upgrade Redis to version 8.6.3 or later.
Apply relevant Red Hat errata for packaged Redis deployments.
Prevent untrusted users from executing Lua scripts.
Avoid replicas where replica-read-only is disabled or disableable.
Review Redis and OS vendor guidance for environment-specific fixes.
Validation and detection
Inventory Redis servers and confirm versions are below or at 8.6.3.
Identify deployments using Redis Lua scripting.
Check whether replicas enforce replica-read-only.
Review Redis ACLs for users allowed to run Lua scripts.
Confirm vendor patches are installed across images and hosts.
Prioritize externally reachable or multi-tenant Redis instances.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-416: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
13Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-416 · source CWE mapping
Use After Free
Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.