BIT-valkey-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.
AI Analysis
Technical Summary
CVE-2026-23631 is a use-after-free vulnerability in the Lua scripting component of Redis 7 that can lead to remote code execution. Redis is an in-memory key-value store supporting various data structures. The vulnerability was identified and patched by Red Hat in their redis:7 module for Red Hat Enterprise Linux 9.4. The advisory indicates that the update fixes the issue and is rated as having an important security impact. No CVSS score is provided, and no known active exploitation has been reported.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code remotely via the Lua scripting feature in Redis. This could lead to full compromise of the affected Redis server. However, there are no known exploits in the wild currently.
Mitigation Recommendations
Red Hat has released an updated redis:7 module package for Red Hat Enterprise Linux 9.4 that fixes this vulnerability. Users should apply the official Red Hat update as described in the advisory (https://access.redhat.com/articles/11258) to remediate the issue. Since this is an official fix, applying the update fully mitigates the vulnerability.
BIT-valkey-2026-23631: redis-server Lua use-after-free may allow remote code execution
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 software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-23631 is a use-after-free vulnerability in the Lua scripting component of Redis 7 that can lead to remote code execution. Redis is an in-memory key-value store supporting various data structures. The vulnerability was identified and patched by Red Hat in their redis:7 module for Red Hat Enterprise Linux 9.4. The advisory indicates that the update fixes the issue and is rated as having an important security impact. No CVSS score is provided, and no known active exploitation has been reported.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code remotely via the Lua scripting feature in Redis. This could lead to full compromise of the affected Redis server. However, there are no known exploits in the wild currently.
Mitigation Recommendations
Red Hat has released an updated redis:7 module package for Red Hat Enterprise Linux 9.4 that fixes this vulnerability. Users should apply the official Red Hat update as described in the advisory (https://access.redhat.com/articles/11258) to remediate the issue. Since this is an official fix, applying the update fully mitigates the vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_vex
- Csaf Version
- 2.0
- Publisher
- Microsoft Security Response Center
- Advisory Id
- msrc_CVE-2026-23631
- Cve Count
- 1
- Additional Cves
- []
- Cvss Version
- null
Threat ID: 6a209840e29bf47b50ebe7b5
Added to database: 06/03/2026, 21:10:24 UTC
Last enriched: 07/01/2026, 00:26:09 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 116
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.