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.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)86.1%top 0.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Nuclei

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

EcosystemPackageFixed inAdvisory
Gok8s.io/ingress-nginx1.11.5GHSA-vg63-w3p9-jc9m
Gok8s.io/ingress-nginx1.12.1GHSA-vg63-w3p9-jc9m
Gok8s.io/ingress-nginxno fix listedGO-2025-3568

Affected products (as reported)

VendorProductVersions
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

References