Vulnerability · Published Mar 24, 2025 · Assigned by kubernetes
CVE-2025-1098ingress-nginx controller - configuration injection via unsanitized mirror annotations
High 8.8
In plain English
A high-severity improper input validation in ingress-nginx from kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 86.1% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official 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.)
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | k8s.io/ingress-nginx | 1.11.5 | GHSA-vg63-w3p9-jc9m |
| Go | k8s.io/ingress-nginx | 1.12.1 | GHSA-vg63-w3p9-jc9m |
| Go | k8s.io/ingress-nginx | no fix listed | GO-2025-3568 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| kubernetes | ingress-nginx | 0 – through 1.11.41.12.0 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H