Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2022-24735

CVE-2022-24735: Redis Privilege Escalation Vulnerability

CVE-2022-24735 is a privilege escalation vulnerability in Redis that allows attackers to inject Lua code executing with higher privileges. This article covers the technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-24735 Overview

CVE-2022-24735 is a Code Injection vulnerability affecting Redis, the popular in-memory database. By exploiting weaknesses in the Lua script execution environment, an attacker with access to Redis prior to version 7.0.0 or 6.2.7 can inject Lua code that will execute with the potentially higher privileges of another Redis user. This vulnerability became particularly significant with the introduction of ACLs (Access Control Lists) in Redis 6.0, as these weaknesses can now be exploited by less privileged users to inject malicious Lua code that executes later when a privileged user runs a Lua script.

Critical Impact

Attackers with low-privilege Redis access can inject Lua code that executes with elevated privileges when higher-privileged users run Lua scripts, potentially leading to complete database compromise and unauthorized data access.

Affected Products

  • Redis versions prior to 7.0.0 and 6.2.7
  • Fedora 34, 35, and 36
  • NetApp Management Services for Element Software
  • NetApp Management Services for NetApp HCI
  • Oracle Communications Operations Monitor 4.3, 4.4, and 5.0

Discovery Timeline

  • April 27, 2022 - CVE-2022-24735 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-24735

Vulnerability Analysis

The vulnerability exists within the Lua script execution environment of Redis. The Lua scripting feature in Redis provides measures intended to prevent scripts from creating persistent side effects that could affect the execution of the same or different scripts at a later time. However, several weaknesses in these protective measures have been publicly known for an extended period.

Prior to Redis 6.0, these weaknesses had no security implications because the Redis security model did not include the concept of users or privileges. With the introduction of Access Control Lists (ACLs) in Redis 6.0, the security landscape changed significantly. Now, attackers with lower privilege levels can exploit these weaknesses to inject Lua code that persists and executes when a more privileged user subsequently runs a Lua script.

Root Cause

The root cause is classified as CWE-94 (Improper Control of Generation of Code - Code Injection). The fundamental issue lies in the insufficient isolation of the Lua script execution environment. The measures designed to prevent scripts from creating persistent side effects that could influence future script executions are inadequate. When combined with the ACL system introduced in Redis 6.0, this allows privilege escalation through carefully crafted Lua code injection.

Attack Vector

The attack requires local access and user interaction. An attacker must first gain access to a Redis instance with at least minimal privileges. The attacker then injects malicious Lua code that exploits the weak isolation in the Lua execution environment. This injected code remains dormant until a user with higher privileges executes a Lua script, at which point the malicious code runs with the elevated privileges of that user.

The attack flow proceeds as follows: The attacker uses commands like SCRIPT LOAD or EVAL to introduce malicious Lua code into the Redis environment. The malicious payload exploits weaknesses in how Redis prevents side effects from persisting across script executions. When a privileged user later executes any Lua script, the injected code executes with their elevated permissions, potentially granting the attacker unauthorized access to data or functionality.

Detection Methods for CVE-2022-24735

Indicators of Compromise

  • Unusual or unauthorized use of SCRIPT LOAD or EVAL commands by low-privilege users
  • Unexpected Lua script execution patterns or errors in Redis logs
  • Privilege escalation attempts detected in Redis ACL audit logs
  • Anomalous data access patterns following Lua script execution by privileged users

Detection Strategies

  • Monitor Redis command logs for SCRIPT LOAD and EVAL commands from unexpected users or sources
  • Implement alerting on ACL violations or unusual privilege usage patterns in Redis
  • Review Redis slow log and command statistics for anomalous Lua scripting activity
  • Deploy endpoint detection solutions capable of monitoring Redis process behavior and script execution

Monitoring Recommendations

  • Enable Redis logging with sufficient verbosity to capture command execution details
  • Configure SIEM rules to correlate Redis command patterns with user privilege levels
  • Establish baseline Lua script usage patterns and alert on deviations
  • Monitor for Redis version information to ensure vulnerable instances are identified

How to Mitigate CVE-2022-24735

Immediate Actions Required

  • Upgrade Redis to version 7.0.0 or 6.2.7 or later immediately
  • If immediate patching is not possible, implement ACL rules to block SCRIPT LOAD and EVAL commands for untrusted users
  • Audit current Redis ACL configurations to ensure proper privilege separation
  • Review Redis access patterns to identify potentially compromised instances

Patch Information

Redis has released fixed versions addressing this vulnerability. Version 7.0.0 and version 6.2.7 contain the security patches. Organizations should upgrade to these versions or later as the primary remediation strategy. Detailed information about the fixes can be found in the GitHub Security Advisory GHSA-647m-2wmq-qmvq and the GitHub Pull Request. Additional vendor advisories are available from Oracle, NetApp, and Gentoo.

Workarounds

  • If Lua scripting is not required, block access to SCRIPT LOAD and EVAL commands using ACL rules
  • Restrict Redis network access to trusted hosts and users only
  • Implement network segmentation to limit exposure of Redis instances
  • Consider running Redis with minimal privileges and in isolated environments
bash
# ACL configuration to block Lua scripting commands for untrusted users
# Add to redis.conf or apply via ACL SETUSER command
ACL SETUSER untrusted_user -@scripting
# Or specifically block SCRIPT LOAD and EVAL
ACL SETUSER untrusted_user -SCRIPT|LOAD -EVAL -EVALSHA

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechRedis

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability1.68%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Pull Request

  • GitHub Release v6.2.7

  • GitHub Release v7.0.0

  • GitHub Security Advisory GHSA-647m-2wmq-qmvq

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA-202209-17

  • NetApp Security Advisory NTAP-20220715-0003
  • Vendor Resources
  • Oracle Security Alert July 2022
  • Related CVEs
  • CVE-2026-27022: LangGraph Redis Checkpoint SQL Injection

  • CVE-2025-46819: Redis Database DoS Vulnerability

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

  • CVE-2025-27151: Redis Buffer Overflow Vulnerability
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