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-24112

CVE-2022-24112: Apache Apisix Auth Bypass Vulnerability

CVE-2022-24112 is an authentication bypass flaw in Apache Apisix that allows attackers to abuse the batch-requests plugin to bypass IP restrictions and potentially execute remote code. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: February 18, 2026

CVE-2022-24112 Overview

CVE-2022-24112 is a critical authentication bypass vulnerability in Apache APISIX that allows attackers to abuse the batch-requests plugin to bypass IP restrictions on the Admin API. A default configuration of Apache APISIX using the default API key is vulnerable to remote code execution. The vulnerability stems from a bug in the batch-requests plugin's IP validation logic that should override the client IP with its real remote IP, but this check can be bypassed due to a flaw in the code implementation.

Critical Impact

This vulnerability enables unauthenticated remote code execution on Apache APISIX instances using default configurations. It has been added to CISA's Known Exploited Vulnerabilities catalog, indicating active exploitation in the wild.

Affected Products

  • Apache APISIX (versions prior to security patch)
  • Apache APISIX with batch-requests plugin enabled
  • Apache APISIX with default API key configuration

Discovery Timeline

  • 2022-02-11 - CVE-2022-24112 published to NVD
  • 2025-10-23 - Last updated in NVD database

Technical Details for CVE-2022-24112

Vulnerability Analysis

This vulnerability is classified under CWE-290 (Authentication Bypass by Spoofing). The batch-requests plugin in Apache APISIX is designed to allow multiple API requests to be bundled and sent in a single HTTP request. The plugin includes a security check intended to validate the client's real IP address to enforce Admin API access restrictions.

The core issue lies in how the batch-requests plugin processes incoming requests. The plugin contains logic to override the client IP with the actual remote IP address to prevent IP spoofing attacks. However, due to a bug in this validation logic, attackers can craft requests that bypass this check entirely, allowing them to send requests to the Admin API as if they originated from a trusted IP address.

When Apache APISIX is deployed with the default API key (a common misconfiguration), successful exploitation of this bypass leads directly to remote code execution. Even when the admin key has been changed or the Admin API port differs from the data panel port, the vulnerability still enables bypassing IP restrictions on the data panel.

Root Cause

The root cause is a logic flaw in the batch-requests plugin's IP validation mechanism. The check designed to replace the spoofed client IP with the real remote IP can be circumvented, allowing attackers to impersonate trusted internal IP addresses. This authentication bypass, combined with the batch-requests functionality that forwards requests internally, creates a pathway to reach protected Admin API endpoints.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability remotely by sending specially crafted HTTP requests to the batch-requests endpoint. The attack flow involves:

  1. Sending a crafted batch request to the publicly accessible APISIX endpoint
  2. Exploiting the IP validation bypass to have the request appear from a trusted source
  3. Using the batch-requests plugin to forward malicious requests to the Admin API
  4. On default configurations, leveraging Admin API access to achieve remote code execution

The vulnerability is particularly severe because it can be exploited without any prior authentication. Technical details on exploitation techniques are available in the Packet Storm RCE Exploit and Packet Storm RCE Update publications.

Detection Methods for CVE-2022-24112

Indicators of Compromise

  • Unusual HTTP requests to the /apisix/batch-requests endpoint containing Admin API paths
  • Requests attempting to access Admin API endpoints from external IP addresses
  • Evidence of unauthorized route or plugin configuration changes in APISIX
  • Unexpected process execution or shell commands originating from APISIX service accounts

Detection Strategies

  • Monitor HTTP access logs for batch-requests endpoint activity with suspicious payloads
  • Implement network-level detection for requests containing Admin API paths within batch-request bodies
  • Deploy Web Application Firewall (WAF) rules to inspect and block malicious batch-request patterns
  • Enable detailed audit logging for all Admin API configuration changes

Monitoring Recommendations

  • Alert on any external network access attempts to Admin API endpoints
  • Monitor for configuration changes to routes, plugins, or upstream settings
  • Track APISIX process behavior for anomalous child process creation
  • Implement network segmentation monitoring between APISIX and backend services

How to Mitigate CVE-2022-24112

Immediate Actions Required

  • Change the default Admin API key immediately if still in use
  • Disable the batch-requests plugin if not required for operations
  • Restrict Admin API access to trusted internal IP addresses at the network level
  • Apply the latest security patches from Apache APISIX

Patch Information

Apache has released security patches addressing CVE-2022-24112. Organizations should update to the latest patched version of Apache APISIX immediately. Refer to the Apache Security Mailing List for official patch information and the Openwall OSS-Security Discussion for additional security guidance.

This vulnerability is listed in CISA's Known Exploited Vulnerabilities Catalog, making remediation mandatory for federal agencies and strongly recommended for all organizations.

Workarounds

  • Disable the batch-requests plugin by removing it from the enabled plugins list in the APISIX configuration
  • Configure firewall rules to block external access to the batch-requests endpoint
  • Change the Admin API to use a non-default port and bind it to localhost or internal network interfaces only
  • Implement network-level ACLs restricting Admin API access to specific management IP addresses
bash
# Configuration example - Disable batch-requests plugin in config.yaml
# Remove 'batch-requests' from the plugins list
plugins:
  - api-breaker
  - authz-keycloak
  - basic-auth
  # - batch-requests  # DISABLED for CVE-2022-24112 mitigation
  - consumer-restriction
  - cors
  
# Restrict Admin API to localhost only
apisix:
  admin_key:
    - name: "admin"
      key: "CHANGE_THIS_TO_UNIQUE_SECURE_KEY"  # Never use default key
      role: admin
  admin_listen:
    ip: 127.0.0.1  # Bind to localhost only
    port: 9180

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechApache Apisix

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.44%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-290
  • Technical References
  • Packet Storm RCE Exploit

  • Packet Storm RCE Update

  • CISA Known Exploited Vulnerability
  • Vendor Resources
  • Openwall OSS-Security Discussion

  • Apache Security Mailing List
  • Related CVEs
  • CVE-2022-25757: Apache APISIX Auth Bypass Vulnerability

  • CVE-2021-43557: Apache Apisix Auth Bypass Vulnerability

  • CVE-2020-13945: Apache APISIX Auth Bypass Vulnerability

  • CVE-2026-31908: Apache APISIX Header Injection 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