
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-4342 is a comment-based nginx configuration injection vulnerability in Kubernetes ingress-nginx, where a combination of Ingress annotations can be used to inject arbitrary configuration into nginx. Discovered and disclosed on March 19, 2026, it affects ingress-nginx versions prior to v1.13.9, v1.14.5, and v1.15.1. The vulnerability was reported by researcher wooseokdotkim and assigned a CVSS v3.1 base score of 8.8 (High) (GitHub Advisory, Kubernetes Issue, oss-security).
The root cause is improper input validation (CWE-20) in how ingress-nginx processes Ingress resource annotations. An attacker with low-level privileges (e.g., the ability to create or modify Ingress objects in a Kubernetes cluster) can craft annotation combinations that inject malicious directives into the nginx configuration, bypassing expected sanitization. The injection mechanism is comment-based, allowing configuration blocks to be smuggled past validation logic. Detection guidance from the Kubernetes Security Response Committee notes that suspicious data within the rules.http.paths.path field of an Ingress resource may indicate exploitation attempts (Kubernetes Issue, oss-security).
Successful exploitation allows a low-privileged attacker to achieve arbitrary code execution within the ingress-nginx controller process and access all Kubernetes Secrets the controller can reach. In the default ingress-nginx installation, the controller has cluster-wide access to Secrets, meaning a successful attack could expose sensitive credentials, TLS certificates, API tokens, and other secrets across the entire cluster. This creates significant risk for lateral movement and full cluster compromise (GitHub Advisory, Kubernetes Issue).
As of the time of disclosure, no confirmed in-the-wild exploitation has been observed, and the Feedly executive summary notes no public proof-of-concept was confirmed at the time of initial analysis. However, PoC references have been indexed (e.g., https://github.com/stuartMoorhouse/CVE-2026-4342), and the vulnerability has been tracked by Qualys scanners. The EPSS score is approximately 0.04–0.057%, placing it in the 18th percentile for exploitation likelihood. The vulnerability is not currently listed in the CISA KEV catalog based on available data (GitHub Advisory, Feedly).
kubectl get pods --all-namespaces --selector app.kubernetes.io/name=ingress-nginx or by scanning for exposed Kubernetes API endpoints. Confirm the ingress-nginx version is below v1.13.9, v1.14.5, or v1.15.1.rules.http.paths.path field of Ingress resources; annotations containing nginx directive syntax, comment characters (#), or newline sequences (\n) in unexpected fields.curl or wget)./tmp or nginx configuration directories (Kubernetes Issue, oss-security).The primary remediation is to upgrade ingress-nginx to a fixed version: v1.13.9, v1.14.5, or v1.15.1, depending on the currently deployed branch. As interim mitigations, restrict RBAC permissions so that only trusted principals can create or modify Ingress resources; limit the ingress-nginx controller's Secret access to only those namespaces and Secrets required for operation rather than cluster-wide. Implement admission controllers or OPA/Gatekeeper policies to validate and restrict Ingress annotations until patching is complete, and monitor Ingress object creation for suspicious annotation patterns (oss-security, GitHub Advisory).
The Kubernetes Security Response Committee disclosed the vulnerability via the oss-security mailing list on March 19, 2026, with Tabitha Sable authoring the disclosure on behalf of the committee. The Canadian Centre for Cyber Security (CCCS) issued advisory AV26-260, and Belgium's CCB published a warning urging immediate patching. Security news outlets including The Hacker Wire and Security Online covered the vulnerability, and it was included in The Hacker News weekly recap. The Kubernetes project's official Bluesky account also posted about the issue, indicating active community communication (oss-security, Kubernetes Issue).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."