Skip to content

CVE-2025-1097 ingress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation

HighCVSS 8.8 EPSS 37.0% Public exploit
Published
Updated
Exploit status
Public exploit available

Description

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the auth-tls-match-cn Ingress annotation 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) < 1.11.5 1.11.5
k8s.io/ingress-nginx(Go) >= 1.12.0-beta.0, < 1.12.1 1.12.1
k8s.io/ingress-nginx(Go) All versions No fix listed
Microsoft azure kubernetes service All versions No fix listed
kubernetes ingress-nginx <= 1.11.4 No fix listed
kubernetes ingress-nginx = 1.12.0 No fix listed

References