kubernetes/ingress-nginx · Security
ingress-nginx controller - configuration injection via unsanitized mirror annotations
- GHSA ID
- GHSA-vg63-w3p9-jc9m
- CVE ID
- CVE-2025-1098
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
A security issue was discovered in 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.)
CWEs
- CWE-15 · External Control of System or Configuration Setting
- CWE-20 · Improper Input Validation
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-1098 ↗
- https://github.com/kubernetes/kubernetes/issues/131008 ↗
- https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.11.5 ↗
- https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.12.1 ↗
- https://groups.google.com/g/kubernetes-security-announce/c/2qa9DFtN0cQ ↗
- https://security.netapp.com/advisory/ntap-20250328-0008 ↗
- https://github.com/advisories/GHSA-vg63-w3p9-jc9m ↗