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
    • 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-2024-7646

CVE-2024-7646: Ingress-Nginx Auth Bypass Vulnerability

CVE-2024-7646 is an authentication bypass flaw in ingress-nginx allowing attackers to inject commands and access cluster secrets. This post covers the technical details, affected versions, impact, and mitigation strategies.

Published: January 28, 2026

CVE-2024-7646 Overview

A critical security vulnerability has been discovered in Kubernetes ingress-nginx that allows authenticated attackers to bypass annotation validation mechanisms and inject arbitrary commands. This command injection vulnerability enables malicious actors with permission to create Ingress objects (in the networking.k8s.io or extensions API group) to obtain the credentials of the ingress-nginx controller, which in the default configuration has access to all secrets in the cluster.

Critical Impact

Attackers can leverage this vulnerability to gain access to the ingress-nginx controller credentials, potentially compromising all secrets stored in the Kubernetes cluster and enabling lateral movement across the entire infrastructure.

Affected Products

  • Kubernetes ingress-nginx controller (unpatched versions)
  • Kubernetes clusters using default ingress-nginx configurations
  • Environments where users have Ingress object creation permissions

Discovery Timeline

  • August 16, 2024 - CVE-2024-7646 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-7646

Vulnerability Analysis

This vulnerability stems from improper input validation (CWE-20) in the ingress-nginx controller's annotation handling mechanism. The ingress-nginx controller processes annotations attached to Kubernetes Ingress objects to configure NGINX behavior. An attacker with permissions to create or modify Ingress objects can craft malicious annotations that bypass the existing validation checks, allowing them to inject arbitrary commands that execute within the context of the ingress-nginx controller.

The attack is particularly dangerous because it exploits a fundamental trust assumption in Kubernetes RBAC - that users authorized to create Ingress objects should be limited to defining routing rules, not executing commands on the controller. The vulnerability breaks this security boundary.

Root Cause

The root cause lies in insufficient validation of annotation values within the ingress-nginx controller. When processing Ingress object annotations, the controller fails to properly sanitize or validate certain input patterns, allowing specially crafted annotation values to escape the intended context and execute arbitrary commands. This improper input validation allows attackers to inject shell metacharacters or command sequences that are subsequently interpreted by the underlying system.

Attack Vector

The attack is network-accessible and requires low privileges - specifically, an attacker needs only the ability to create or modify Ingress objects within the Kubernetes cluster. This permission is commonly granted to developers and application teams in multi-tenant Kubernetes environments.

The exploitation flow involves:

  1. An attacker creates or modifies an Ingress object with malicious annotation values
  2. The ingress-nginx controller processes the Ingress object
  3. The validation bypass allows the injected commands to execute
  4. The attacker obtains the controller's credentials, which typically have access to all cluster secrets

This attack requires no user interaction and can be executed remotely through the Kubernetes API.

Detection Methods for CVE-2024-7646

Indicators of Compromise

  • Unusual Ingress object creation or modification events with suspicious annotation values containing shell metacharacters
  • Unexpected command execution or processes spawned by the ingress-nginx controller pod
  • Anomalous access patterns to Kubernetes secrets from the ingress-nginx service account
  • Log entries indicating annotation parsing errors or unexpected controller behavior

Detection Strategies

  • Monitor Kubernetes audit logs for Ingress object creation and modification events, particularly those with unusual annotation patterns
  • Implement admission controllers to validate and sanitize Ingress annotations before they reach the ingress-nginx controller
  • Deploy runtime security monitoring within the ingress-nginx controller pod to detect command injection attempts
  • Review and alert on any attempts to access cluster secrets outside of normal operational patterns

Monitoring Recommendations

  • Enable detailed audit logging for all Ingress-related API operations in Kubernetes
  • Configure alerting for unexpected shell command execution within the ingress-nginx controller namespace
  • Monitor network traffic originating from ingress-nginx pods for suspicious outbound connections
  • Implement anomaly detection for secret access patterns in your Kubernetes environment

How to Mitigate CVE-2024-7646

Immediate Actions Required

  • Update ingress-nginx controller to the latest patched version immediately
  • Review all existing Ingress objects for suspicious or unexpected annotations
  • Audit RBAC policies to ensure Ingress creation permissions follow the principle of least privilege
  • Consider implementing admission webhooks to validate Ingress annotations before processing

Patch Information

The Kubernetes security team has addressed this vulnerability through patches available in the ingress-nginx repository. Administrators should review the official patches documented in GitHub Pull Request #11719 and GitHub Pull Request #11721. Additional details are available in Kubernetes Issue #126744 and the Kubernetes Security Announcement.

Workarounds

  • Restrict Ingress object creation permissions to only trusted administrators until patches can be applied
  • Implement custom admission controllers that strictly validate all Ingress annotations against an allowlist
  • Consider temporarily disabling or limiting the annotations that the ingress-nginx controller processes
  • Deploy network policies to limit the blast radius if the controller is compromised
bash
# Example: Restrict Ingress creation to admin namespace only
kubectl create clusterrole ingress-admin --verb=create,update,patch --resource=ingresses
kubectl create clusterrolebinding ingress-admin-binding --clusterrole=ingress-admin --group=cluster-admins
# Review existing ingress objects for suspicious annotations
kubectl get ingress --all-namespaces -o jsonpath='{range .items[*]}{.metadata.namespace}/{.metadata.name}: {.metadata.annotations}{"\n"}{end}'

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechIngress Nginx

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability25.76%

  • 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
  • Technical References
  • GitHub Merge Request #11719

  • GitHub Merge Request #11721

  • Kubernetes Issue #126744

  • Kubernetes Security Announcement

  • Openwall OSS Security Discussion
  • Related CVEs
  • CVE-2026-24513: Ingress-Nginx Auth Bypass Vulnerability

  • CVE-2026-3288: Ingress-NGINX RCE Vulnerability

  • CVE-2025-15566: Ingress-Nginx RCE Vulnerability

  • CVE-2026-24512: ingress-nginx RCE Vulnerability
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