Skip to content
OpenAdvisories
High · 8.8 Scanner template Public exploit CVE-2025-1098 EUVD-2025-8033GHSA-vg63-w3p9-jc9mGO-2025-3568

ingress-nginx controller - configuration injection via unsanitized mirror annotations

Published Mar 24, 2025 · Updated Feb 26, 2026 · Assigned by kubernetes

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 products

VendorProductAffectedFixed
kubernetes ingress-nginx ≤ 1.11.4, 1.12.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250327T184518-1.1 openSUSE-SU-2025:14937-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ingress-nginx-controller-1.12 1.12.1-r14 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Go k8s.io/ingress-nginx < 1.11.5 1.11.5 GHSA-vg63-w3p9-jc9m
Go k8s.io/ingress-nginx >= 1.12.0-beta.0, < 1.12.1 1.12.1 GHSA-vg63-w3p9-jc9m
Go k8s.io/ingress-nginx all versions — GO-2025-3568

Advisories 6

References