GHSA-vg63-w3p9-jc9m

ingress-nginx controller - configuration injection via unsanitized mirror annotations

At a glance

Published
Updated
CVE
CVE-2025-1098
Aliases
GO-2025-3568
CVSS_V3
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](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

PackageVersions
Go · k8s.io/ingress-nginxintroduced 0, fixed 1.11.5
Go · k8s.io/ingress-nginxintroduced 1.12.0-beta.0, fixed 1.12.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database