Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-24512: CWE-20 Improper Input Validation in Kubernetes ingress-nginx

0
High
VulnerabilityCVE-2026-24512cvecve-2026-24512cwe-20
Published: Tue Feb 03 2026 (02/03/2026, 22:17:08 UTC)
Source: CVE Database V5
Vendor/Project: Kubernetes
Product: ingress-nginx

Description

A security issue was discovered in ingress-nginx where the `rules.http.paths.path` Ingress field can be used to inject configuration into nginx. This can lead to arbitrary code execution in the context of the ingress-nginx controller, and disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/10/2026, 16:28:59 UTC

Technical Analysis

CVE-2026-24512 is a vulnerability in the Kubernetes ingress-nginx controller stemming from improper input validation (CWE-20) of the `rules.http.paths.path` field in Ingress resources. The ingress-nginx controller uses this field to configure nginx routing rules. Due to insufficient sanitization, an attacker can craft malicious path values that inject arbitrary nginx configuration directives. This injection can escalate to arbitrary code execution within the ingress-nginx controller's runtime environment. Since the ingress-nginx controller typically runs with permissions that allow it to access all Kubernetes Secrets cluster-wide, successful exploitation can lead to disclosure of sensitive credentials and secrets. The vulnerability has a CVSS 3.1 score of 8.8, indicating high severity, with an attack vector over the network, low attack complexity, requiring privileges but no user interaction, and impacts confidentiality, integrity, and availability. Although no public exploits are known yet, the risk is significant given the widespread use of ingress-nginx in Kubernetes clusters. The vulnerability affects all versions of ingress-nginx prior to the fix, and the lack of patch links suggests a patch may be forthcoming or in progress. Organizations should monitor vendor advisories closely and prepare to update ingress-nginx promptly.

Potential Impact

The impact of CVE-2026-24512 is substantial for organizations running Kubernetes clusters with ingress-nginx controllers. Exploitation can lead to arbitrary code execution within the ingress-nginx controller, enabling attackers to execute commands with the controller's privileges. Since ingress-nginx typically has cluster-wide access to Kubernetes Secrets, attackers can exfiltrate sensitive information such as credentials, tokens, and private keys, potentially compromising the entire cluster and connected systems. This can lead to further lateral movement, data breaches, and disruption of services. The vulnerability affects the confidentiality, integrity, and availability of Kubernetes environments, potentially causing severe operational and reputational damage. Given the critical role of ingress-nginx in routing external traffic, exploitation could also disrupt application availability and user access.

Mitigation Recommendations

To mitigate CVE-2026-24512, organizations should: 1) Immediately monitor official Kubernetes and ingress-nginx project channels for patches or updates addressing this vulnerability and apply them as soon as they become available. 2) Restrict permissions to create or modify Ingress resources to trusted administrators only, minimizing the risk of malicious configuration injection. 3) Implement strict admission controls and validation policies (e.g., using Kubernetes Admission Controllers or OPA Gatekeeper) to enforce safe values in the `rules.http.paths.path` field and reject suspicious or malformed inputs. 4) Limit the privileges of the ingress-nginx controller where possible, for example by using least privilege service accounts and RBAC policies to reduce access to Secrets. 5) Monitor ingress-nginx logs and Kubernetes audit logs for unusual Ingress resource modifications or suspicious nginx configuration changes. 6) Consider network segmentation and runtime security tools to detect and contain anomalous behavior in the ingress-nginx controller. 7) Educate DevOps and security teams about this vulnerability to ensure rapid response and remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
kubernetes
Date Reserved
2026-01-23T06:54:35.912Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69827a75f9fa50a62fe57fe6

Added to database: 2/3/2026, 10:45:09 PM

Last enriched: 3/10/2026, 4:28:59 PM

Last updated: 3/21/2026, 3:14:03 AM

Views: 392

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses