GitHub Advisoryadvisory · Go

GHSA-vg63-w3p9-jc9m ingress-nginx controller - configuration injection via unsanitized mirror annotations

HIGH Published 2025-03-25 Modified 2025-11-03 Official page ↗
Aliases
CVE-2025-1098
Ecosystem
Go
Packages
k8s.io/ingress-nginx
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-15, CWE-20
Reviewed
2025-03-25

Affected packages

• Go k8s.io/ingress-nginx: < 1.11.5 → fixed in 1.11.5 • Go k8s.io/ingress-nginx: >= 1.12.0-beta.0, < 1.12.1 → fixed in 1.12.1

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.)

Related

Alias · CVE (1)

  • CVE-2025-1098 A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `mirror-target` and `mirror-host`… vulnerability

Weakness · CWE (2)

  • CWE-15 External Control of System or Configuration Setting weakness
  • CWE-20 Improper Input Validation weakness

References