NetSight
high8.8

CVE-2026-4342

ingress-nginx comment-based nginx configuration injection

Impact

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 packages

EcosystemPackageAffectedFixed in
gok8s.io/ingress-nginx< 0.0.0-20260319175635-5183b7d861370.0.0-20260319175635-5183b7d86137

Affected products

VendorProductAffected versions
KubernetesNginx Ingress Controller
before 1.13.9
from 1.14.0 before 1.14.5
Version 1.15.0

Weakness classification

References