Vulnerability · Published Mar 19, 2026 · Assigned by kubernetes
CVE-2026-4342ingress-nginx comment-based nginx configuration injection
High 8.8
In plain English
A high-severity improper input validation in ingress-nginx from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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.)
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | k8s.io/ingress-nginx | 0.0.0-20260319175635-5183b7d86137 | GHSA-f53h-mxv9-cp98 |
| Go | k8s.io/ingress-nginx | 0.0.0-20260319175635-5183b7d86137 | GO-2026-4796 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | ingress-nginx | 0 – before 1.13.90 – before 1.14.50 – before 1.15.1 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H