CVE-2025-1098: ingress-nginx controller - configuration injection via unsanitized mirror annotations

Published Mar 24, 2025
·
Updated

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

Other sources

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

GitHub

Ingress Controllers play a critical role within Kubernetes clusters by enabling the functionality of Ingress resources. Azure Kubernetes Service (AKS) is aware of several security vulnerabilities affecting the Kubernetes ingress-nginx controller, including CVE-2025-1098, CVE-2025-1974, CVE-2025-1097, CVE-2025-24514, and CVE-2025-24513. Customers running this controller on their AKS clusters are advised to update to the latest patched versions (v1.11.5 and v1.12.1) to mitigate potential risks.

Microsoft

Kubernetes: Vulnerability in Kubernetes NGINX Ingress Controller

Microsoft

Affected Software

4 affected componentsFixes available
Microsoft Azure Kubernetes Service
go/k8s.io/ingress-nginx>=1.12.0-beta.0<1.12.1
1.12.1
go/k8s.io/ingress-nginx<1.11.5
1.11.5
F5 BIG-IP Next Central Manager

Event History

Mar 24, 2025
CVE Published
via Microsoft·07:00 AM
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
CVE Published
via MITRE·11:29 PM
Data Sourced
via MITRE·11:29 PM
DescriptionSeverityWeakness
Mar 25, 2025
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:30 AM
News Published
via The Register·03:12 AM
News Published
via The Register·03:16 AM
Feb 4, 2026
Exploit Published
via ExploitDB·12:00 AM
Known Exploited
03:50 PM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-1098?

CVE-2025-1098 has been classified with a high severity level due to its potential impact on Kubernetes cluster security.

2

How do I fix CVE-2025-1098?

To remediate CVE-2025-1098, update the ingress-nginx controller to the latest version recommended by Microsoft.

3

What systems are affected by CVE-2025-1098?

CVE-2025-1098 affects Azure Kubernetes Service running the ingress-nginx controller.

4

What are the potential consequences of CVE-2025-1098?

Exploitation of CVE-2025-1098 could lead to remote code execution within the Kubernetes cluster.

5

Is there a workaround for CVE-2025-1098?

While the best solution is to apply the updates, temporarily restricting ingress resources may serve as a workaround until a patch is implemented.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203