Skip to content

CVE-2026-4342 ingress-nginx comment-based nginx configuration injection

HighCVSS 8.8 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
k8s.io/ingress-nginx(Go) < 0.0.0-20260319175635-5183b7d86137 0.0.0-20260319175635-5183b7d86137
kubernetes ingress-nginx < 1.13.9 1.13.9
kubernetes ingress-nginx < 1.14.5 1.14.5
kubernetes ingress-nginx < 1.15.1 1.15.1
kubernetes nginx ingress controller < 1.13.9 1.13.9
kubernetes nginx ingress controller >= 1.14.0, < 1.14.5 1.14.5
kubernetes nginx ingress controller = 1.15.0 No fix listed

References