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
    • 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-2023-5043

CVE-2023-5043: Kubernetes Ingress-nginx RCE Vulnerability

CVE-2023-5043 is a remote code execution vulnerability in Kubernetes Ingress-nginx caused by annotation injection. Attackers can exploit this flaw to execute arbitrary commands. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: February 11, 2026

CVE-2023-5043 Overview

CVE-2023-5043 is a command injection vulnerability affecting Kubernetes Ingress-nginx that allows attackers to execute arbitrary commands through malicious annotation injection. This vulnerability stems from improper input validation in how the Ingress-nginx controller processes user-supplied annotations, enabling authenticated attackers with the ability to create or modify Ingress resources to inject and execute arbitrary commands on the underlying system.

Critical Impact

Authenticated attackers can achieve arbitrary command execution on Kubernetes clusters running vulnerable Ingress-nginx controllers, potentially compromising the entire cluster infrastructure.

Affected Products

  • Kubernetes Ingress-nginx (all vulnerable versions prior to patch)

Discovery Timeline

  • 2023-10-25 - CVE-2023-5043 published to NVD
  • 2025-02-13 - Last updated in NVD database

Technical Details for CVE-2023-5043

Vulnerability Analysis

This vulnerability falls under CWE-20 (Improper Input Validation) and CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component). The Ingress-nginx controller processes annotations defined in Kubernetes Ingress resources to configure the underlying nginx web server. When these annotations are not properly sanitized, an attacker can craft malicious annotation values that escape the intended context and inject arbitrary commands.

The attack requires network access and low-privilege authentication—specifically, the attacker needs permissions to create or modify Ingress resources within the Kubernetes cluster. Once exploited, the vulnerability can result in complete compromise of confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause lies in insufficient input validation and sanitization of user-controlled annotation values before they are processed by the Ingress-nginx controller. The controller trusts annotation content and incorporates it into nginx configuration or executes it in contexts where special characters can break out of the intended processing flow, leading to command injection.

Attack Vector

The attack is conducted over the network by an authenticated user with permissions to manipulate Ingress resources. The attacker crafts an Ingress manifest with maliciously crafted annotations containing command injection payloads. When the Ingress-nginx controller processes this resource, the injected commands are executed with the privileges of the controller process.

The exploitation mechanism involves inserting shell metacharacters or command separators within annotation values that are later processed without proper escaping. This allows the attacker to append or inject arbitrary commands that execute in the context of the nginx controller, potentially granting access to secrets, service accounts, and other cluster resources.

Detection Methods for CVE-2023-5043

Indicators of Compromise

  • Unexpected or malformed annotations on Ingress resources containing shell metacharacters (;, |, $(), backticks)
  • Unusual process execution from the ingress-nginx controller pods
  • Kubernetes audit logs showing creation or modification of Ingress resources with suspicious annotation content
  • Network connections from ingress-nginx pods to unexpected external destinations

Detection Strategies

  • Enable and review Kubernetes audit logging for Ingress resource creation and modification events
  • Implement admission controllers or OPA/Gatekeeper policies to validate and restrict annotation content
  • Monitor ingress-nginx controller logs for configuration errors or unusual processing patterns
  • Deploy runtime security monitoring on ingress-nginx pods to detect unexpected process execution

Monitoring Recommendations

  • Configure alerting on Ingress resource modifications in production namespaces
  • Implement network policy monitoring for egress connections from ingress-nginx pods
  • Review ingress-nginx controller pod resource utilization for anomalies indicating exploitation
  • Utilize SentinelOne Kubernetes Workload Protection to detect and alert on suspicious container behavior

How to Mitigate CVE-2023-5043

Immediate Actions Required

  • Update Kubernetes Ingress-nginx to the latest patched version immediately
  • Audit existing Ingress resources for suspicious or unexpected annotations
  • Implement RBAC policies to restrict which users and service accounts can create or modify Ingress resources
  • Deploy admission control policies to validate annotation content before acceptance

Patch Information

Kubernetes has addressed this vulnerability in updated versions of the Ingress-nginx controller. Organizations should consult the GitHub Ingress-NGINX Issue and the Kubernetes Security Announcement for specific version information and patch details. Additional guidance is available from the Openwall OSS Security Update and the NetApp Security Advisory.

Workarounds

  • Restrict Ingress resource creation permissions using Kubernetes RBAC to only trusted administrators
  • Implement OPA Gatekeeper or Kyverno policies to block Ingress resources with annotations containing dangerous characters
  • Consider network segmentation to limit the blast radius if the ingress-nginx controller is compromised
  • Enable read-only root filesystem for ingress-nginx pods to limit post-exploitation impact
bash
# Example: Restrict Ingress creation with RBAC
# Create a ClusterRole that denies Ingress modification for untrusted users
kubectl create clusterrole ingress-readonly \
  --verb=get,list,watch \
  --resource=ingresses.networking.k8s.io

# Bind to service accounts that should not create/modify Ingress
kubectl create clusterrolebinding restrict-ingress \
  --clusterrole=ingress-readonly \
  --serviceaccount=default:restricted-sa

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechKubernetes

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability4.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • CWE-74
  • Technical References
  • Openwall OSS Security Update

  • NetApp Security Advisory
  • Vendor Resources
  • GitHub Ingress-NGINX Issue

  • Kubernetes Security Announcement
  • Related CVEs
  • CVE-2026-34940: KubeAI Command Injection RCE Vulnerability

  • CVE-2025-1974: Kubernetes ingress-nginx Controller RCE Flaw

  • CVE-2023-5044: Kubernetes Ingress-nginx RCE Vulnerability

  • CVE-2024-10220: Kubernetes kubelet RCE 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