Patchfirst
CVE-2025-1098 Public exploit High · 8.8 EPSS 86.1%

ingress-nginx controller - configuration injection via unsanitized mirror annotations

No fixed version listed yet.Check the vendor advisory. References ↓

kubernetes · ingress-nginx

Summary

A configuration injection flaw in the ingress-nginx controller of the Kubernetes ingress-nginx product lets unsanitized values in the mirror-target and mirror-host Ingress annotations inject arbitrary directives into the generated nginx configuration. An attacker with network access and low-privilege authenticated access who can create or modify Ingress resources can exploit it without user interaction, potentially gaining code execution in the controller's context and reading Secrets the controller can reach, which in a default installation includes Secrets cluster-wide.

Official description · CVE.org

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

Breakdown
32.2 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Exploit-DB) appeared 10 months after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codeExploit-DB+10 mo

Affected versions and fixes

as published in the CVE record

kubernetes ingress-nginx

Affected: <= 1.11.4 · 1.12.0

Attack pattern (CAPEC)

CAPEC-137 Parameter Injection

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: k8s.io/ingress-nginx.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 2 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close