Skip to content

CVE-2025-1098 ingress-nginx controller - configuration injection via unsanitized mirror annotations

HighCVSS 8.8 EPSS 86.1% Public exploit
Published
Updated
Exploit status
Public exploit available
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
NginxKubernetesCloud Platforms

Description

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the mirror-target and mirror-host Ingress annotations can be used to inject arbitrary 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.)

Upgrade path

3 packages: 1 fixed, 1 partially fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
Microsoft azure kubernetes service All versions No fix listed No fix yet
k8s.io/ingress-nginx(Go) < 1.11.5; >= 1.12.0-beta.0, < 1.12.1; All versions 1.11.5, 1.12.1 Partially fixed
kubernetes ingress-nginx <= 1.11.4; = 1.12.0 after 1.11.4 Fixed

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