CVE-2026-4342

ingress-nginx comment-based nginx configuration injection

Published Mar 19, 2026 CVSS 3.1 · 8.8 High EPSS 1.5% KEV · Not listed
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.)

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f53h-mxv9-cp98 ingress-nginx comment-based nginx configuration injection
History
Type Values Removed Values Added
First Time appeared Kubernetes nginx Ingress Controller
CPEs cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*
cpe:2.3:a:kubernetes:ingress-nginx:1.15.0:*:*:*:*:*:*:*
cpe:2.3:a:kubernetes:nginx_ingress_controller:*:*:*:*:*:*:*:*
cpe:2.3:a:kubernetes:nginx_ingress_controller:1.15.0:*:*:*:*:*:*:*
Vendors & Products Kubernetes nginx Ingress Controller
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*
cpe:2.3:a:kubernetes:ingress-nginx:1.15.0:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Kubernetes
Kubernetes ingress-nginx
Vendors & Products Kubernetes
Kubernetes ingress-nginx
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Mar 21, 2026, 4:01 AM
Reserved
Mar 17, 2026, 3:35 PM
Status
Analyzed
Published
Mar 19, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:56 AM