Code executionin Kubernetes ingress-nginx.
Proof of concept public (GitHub).
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.)
- Upgrade ingress-nginx to 1.13.9, 1.14.5, 1.15.1 or later, whichever matches your release line.
- Upgrade k8s.io/ingress-nginx (Go) to 0.0.0-20260319175635-5183b7d86137 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 17 Mar 2026CVE ID reserved by kubernetes.
- 19 Mar 2026Published in the CVE List.
- 20 Mar 2026First public proof of concept on GitHub.
- 21 Mar 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other ingress-nginx vulnerabilities
Same weakness: Improper input validation
Patchminder. CVE-2026-4342: Code execution in Kubernetes ingress-nginx. https://patchminder.com/cve/cve-2026-4342/ (accessed 5 December 2026).