Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Ingress annotations
-
ExploitInject nginx configuration directives
-
ExecutionExecute arbitrary code in controller context
-
ImpactAccess cluster-wide Secrets
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Requires authenticated access to create or modify Ingress resources in a Kubernetes cluster running ingress-nginx. Attacker must craft specific Ingress annotations to inject nginx configuration. Default installations allow controllers cluster-wide Secret access, amplifying impact. |
| Impact | This vulnerability presents a critical risk with multiple concerning factors from the CVSS vector: network-accessible (AV:N), low attack complexity (AC:L), requires only low privileges (PR:L), and achieves complete compromise of confidentiality, integrity, and availability (C:H/I:H/A:H). The attack is highly automatable once an attacker gains basic Kubernetes access to create or modify Ingress resources. While not currently in CISA's KEV catalog indicating no known active exploitation, the technical impact is severe - full controller compromise and cluster-wide Secret exposure. The combination of low barrier to exploitation and high impact makes this a priority patch despite the lack of public exploitation evidence. The vulnerability requires authenticated access to create Ingress resources, which provides some mitigation in properly secured clusters. |
| Exploit ScenarioDerived | An attacker with basic Kubernetes access (such as a compromised developer account or application service account) creates or modifies an Ingress resource with malicious annotations that inject nginx configuration directives for command execution. The ingress-nginx controller processes these annotations without proper validation, incorporating the malicious configuration and executing arbitrary commands with its privileged context, potentially exfiltrating all cluster Secrets or establishing persistence. The attack requires only authenticated access to the Kubernetes API and knowledge of nginx configuration syntax, making it straightforward for motivated attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 19, 2026
A configuration injection vulnerability in Kubernetes ingress-nginx controller allows authenticated attackers to inject arbitrary nginx configuration through specially crafted Ingress annotations, leading to remote code execution with controller privileges and exposure of all cluster Secrets. The vulnerability has a high CVSS score of 8.8 and affects the ingress-nginx controller's annotation parsing mechanism. No active exploitation (not in KEV) or public POC has been reported, though the attack requires only low privileges and network access.
RemediationAI
Immediate patching to the latest ingress-nginx controller version that addresses CVE-2026-4342 is critical once a fix becomes available - monitor the Kubernetes security advisory at https://github.com/kubernetes/kubernetes/issues/137893 for patch releases. Until patching is possible, implement strict RBAC policies to limit who can create or modify Ingress resources, enable admission webhooks to validate Ingress annotations against an allowlist, and consider using Policy engines like OPA Gatekeeper to enforce annotation restrictions. Additionally, follow the principle of least privilege by limiting the ingress-nginx controller's access to only necessary Secrets rather than cluster-wide access where possible.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects the Kubernetes ingress-nginx controller (CPE: cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*), which manages nginx-based ingress resources in Kubernetes clusters. The root cause is improper input validation (CWE-20) when processing Ingress annotations that are translated into nginx configuration directives. Ingress annotations are key-value pairs used to customize nginx behavior, but insufficient sanitization allows malicious annotations to break out of their intended context and inject arbitrary nginx configuration, including directives that execute system commands. The ingress-nginx controller typically runs with privileged access to read all Secrets across the entire Kubernetes cluster for SSL certificate management.
Know when Kubernetes gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A security issue was discovered in ingress-nginx where a combination of Ingress annotations 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.)
Executive ViewAI
A critical vulnerability in ingress-nginx allows attackers to execute arbitrary code and steal sensitive data (including API credentials and passwords) accessible to the ingress controller. Since most Kubernetes clusters grant the controller cluster-wide Secret access by default, a successful exploit could compromise your entire infrastructure and all applications running on it.
- Implement Pod Security Policies or NetworkPolicies to restrict the ingress-nginx controller's network egress. 2) Use RBAC to limit the controller's Secret access—grant only access to Secrets in the ingress-nginx namespace rather than cluster-wide. 3) Deploy a ValidatingWebhook to reject Ingress objects with suspicious annotations known to enable code injection. 4) Restrict who can create or modify Ingress resources via RBAC. 5) Enable audit logging on all Ingress object modifications. 6) Consider temporarily disabling ingress-nginx if alternatives exist in your environment.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Kubernetes
View allA critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter
A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne
Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai
The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4
Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
Same weakness CWE-20 – Improper Input Validation
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-13343
GHSA-f53h-mxv9-cp98
NVD
CVE.org
EPSS
VulDB
Exploit-DB