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.)
History

Fri, 20 Mar 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 20 Mar 2026 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Kubernetes
Kubernetes ingress-nginx
Vendors & Products Kubernetes
Kubernetes ingress-nginx

Thu, 19 Mar 2026 22:30:00 +0000

Type Values Removed Values Added
References

Thu, 19 Mar 2026 22:00:00 +0000

Type Values Removed Values Added
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.)
Title ingress-nginx comment-based nginx configuration injection
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: kubernetes

Published: 2026-03-19T21:50:17.878Z

Updated: 2026-03-21T04:01:49.391Z

Reserved: 2026-03-17T15:35:59.315Z

Link: CVE-2026-4342

cve-icon Vulnrichment

Updated: 2026-03-19T22:10:03.911Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-19T22:16:43.143

Modified: 2026-03-20T13:37:50.737

Link: CVE-2026-4342

cve-icon Redhat

No data.