GitHub Advisoryadvisory · Go
GHSA-f53h-mxv9-cp98 ingress-nginx comment-based nginx configuration injection
HIGH
Official page ↗
- Aliases
- CVE-2026-4342
- Ecosystem
- Go
- Packages
- k8s.io/ingress-nginx
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2026-03-20
Affected packages
• Go k8s.io/ingress-nginx: < 0.0.0-20260319175635-5183b7d86137 → fixed in 0.0.0-20260319175635-5183b7d86137
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.)
Related
Alias · CVE (1)
- CVE-2026-4342 A security issue was discovered in ingress-nginx where a combination of Ingress annotations can be used to inject configuration into nginx. vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-4342 advisory
- https://github.com/kubernetes/kubernetes/issues/137893 web
- https://github.com/kubernetes/ingress-nginx/commit/5183b7d861377a9a2f6d2acaf44f8f6abd5cd0aa web
- https://github.com/kubernetes/ingress-nginx package
- http://www.openwall.com/lists/oss-security/2026/03/19/9 web