The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23631

CVE-2026-23631: Redis Redis RCE Vulnerability

CVE-2026-23631 is a remote code execution vulnerability in Redis Redis affecting all versions with Lua scripting. Attackers can exploit master-replica synchronization to execute code. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 7, 2026

CVE-2026-23631 Overview

CVE-2026-23631 is a use-after-free vulnerability [CWE-416] affecting all versions of Redis with Lua scripting enabled. An authenticated attacker can abuse the master-replica synchronization mechanism to trigger memory corruption on replicas where replica-read-only is disabled or can be disabled. Successful exploitation may lead to remote code execution on the affected replica node. Redis has patched the issue in version 8.6.3. The vulnerability requires authenticated access and high attack complexity, but the impact on integrity and availability is significant.

Critical Impact

Authenticated attackers can achieve remote code execution on Redis replicas through a use-after-free condition triggered via Lua scripting and master-replica synchronization.

Affected Products

  • Redis (all versions with Lua scripting prior to 8.6.3)
  • Deployments where replica-read-only is disabled
  • Deployments where replica-read-only can be disabled at runtime

Discovery Timeline

  • 2026-05-05 - CVE-2026-23631 published to NVD
  • 2026-05-06 - Last updated in NVD database

Technical Details for CVE-2026-23631

Vulnerability Analysis

The vulnerability resides in how Redis handles Lua scripts during master-replica synchronization. When a master node executes a Lua script and propagates state to replicas, an attacker with authenticated access can craft conditions that cause a replica to access memory after it has been freed. This use-after-free condition [CWE-416] allows attackers to manipulate freed memory regions, potentially achieving arbitrary code execution within the Redis server process. Exploitation requires the replica to have replica-read-only disabled or be reachable in a configuration where the attacker can disable it. The network attack vector and authenticated privilege requirement narrow the attack surface, but compromised application credentials or insider access make this exploitable in production environments.

Root Cause

The root cause is improper memory lifetime management in the Lua scripting subsystem during replication. Objects allocated on the master are referenced by the replica synchronization path after their backing memory has been released. The interaction between script execution context and the replication buffer creates a window where freed memory is dereferenced on the replica side.

Attack Vector

An authenticated user with permission to execute Lua scripts on the master sends a script designed to manipulate replication state. The replica processes the propagated commands and accesses freed memory during synchronization. Because the corruption occurs on the replica node, the attacker targets writable replicas where command execution is permitted. The flaw cannot be triggered without valid Redis authentication.

No public proof-of-concept code is available. See the GitHub Security Advisory GHSA-8ghh-qpmp-7826 for vendor technical details.

Detection Methods for CVE-2026-23631

Indicators of Compromise

  • Unexpected Redis replica process crashes or segmentation faults during or after Lua script execution
  • Anomalous EVAL or EVALSHA command volume from authenticated clients targeting replication-enabled deployments
  • Replica nodes resynchronizing repeatedly with the master without configuration changes
  • Configuration changes that disable replica-read-only outside of approved change windows

Detection Strategies

  • Monitor Redis logs for replica disconnection events, assertion failures, and crash dumps correlated with Lua command execution
  • Audit CONFIG SET replica-read-only no commands and alert on any occurrence in production environments
  • Track Redis ACL events for users granted Lua scripting permissions and review whether those permissions are necessary

Monitoring Recommendations

  • Enable Redis ACL logging and forward events to a centralized logging platform for correlation
  • Baseline normal EVAL/EVALSHA patterns per client and alert on deviations
  • Monitor process integrity of redis-server instances on replica hosts using endpoint telemetry

How to Mitigate CVE-2026-23631

Immediate Actions Required

  • Upgrade Redis to version 8.6.3 or later on all master and replica nodes
  • Audit all replicas to confirm replica-read-only is enabled and that ACLs prevent runtime modification
  • Restrict Lua scripting permissions through Redis ACLs to only the accounts that require them
  • Rotate Redis credentials if shared or long-lived authentication tokens are in use

Patch Information

The vulnerability is patched in Redis version 8.6.3. Refer to the GitHub Security Advisory GHSA-8ghh-qpmp-7826 for vendor guidance and full version applicability.

Workarounds

  • Disallow Lua script execution by removing +@scripting permissions from Redis ACL user definitions
  • Ensure replicas run with replica-read-only yes and prevent the configuration from being changed at runtime
  • Isolate Redis replication traffic on a private network segment with strict authentication and access controls
bash
# Configuration example: enforce read-only replicas and restrict Lua scripting
# /etc/redis/redis.conf
replica-read-only yes

# Redis ACL: deny scripting commands for application users
# redis-cli
ACL SETUSER appuser on >STRONG_PASSWORD ~* -@scripting +@read +@write

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRedis

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • GitHub Redis Release 8.6.3
  • Vendor Resources
  • GitHub Security Advisory GHSA-8ghh-qpmp-7826
  • Related CVEs
  • CVE-2026-25243: Redis Redis RCE Vulnerability

  • CVE-2026-23479: Redis In-Memory Store RCE Vulnerability

  • CVE-2025-46817: Redis Lua Scripting RCE Vulnerability

  • CVE-2025-62507: Redis RCE Vulnerability via XACKDEL
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English