CVE-2025-1098 — Vulnerability in k8s.io/ingress-nginx — CVE Details
ingress-nginx controller - configuration injection via unsanitized mirror annotations
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 11.95% in 30 days. Address in your next planned sprint.
Does your project use an affected k8s.io/ingress-nginx version?
Paste your go.sum to check it for CVE-2025-1098 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.)
Advisory Timeline
- First published March 25, 2025 (613 days ago).
- Last revised September 10, 2026 — 534 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get k8s.io/ingress-nginx@v1.11.5
go get k8s.io/ingress-nginx@v1.12.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| k8s.io/ingress-nginx Go · Affected: All versions | 1.11.5 |
| k8s.io/ingress-nginx Go · Affected: All versions | 1.12.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-15
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-1098ADVISORY
- https://github.com/kubernetes/kubernetes/issues/131008WEB
- https://github.com/kubernetes/ingress-nginxPACKAGE
- https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.11.5WEB
- https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.12.1WEB
- https://groups.google.com/g/kubernetes-security-announce/c/2qa9DFtN0cQWEB
- https://security.netapp.com/advisory/ntap-20250328-0008WEB
Frequently Asked Questions
- What is CVE-2025-1098?
- ingress-nginx controller - configuration injection via unsanitized mirror annotations. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2025-1098?
- CVE-2025-1098 affects k8s.io/ingress-nginx. It has a 12.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-1098 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 5% of EPSS-scored vulnerabilities — 96.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2025-1974CRITICAL
ingress-nginx admission controller RCE escalation
- CVE-2025-1097HIGH
ngress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation
- CVE-2026-1580HIGH
ingress-nginx's `nginx.ingress.kubernetes.io/auth-method` Ingress annotation can be used to inject configuration into nginx
- CVE-2026-108262HIGH
DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885
- CVE-2026-4342HIGH
ingress-nginx comment-based nginx configuration injection
- CVE-2025-24514HIGH
ingress-nginx controller - configuration injection via unsanitized auth-url annotation
- CVE-2026-24512HIGH
ingress-nginx's `rules.http.paths.path` Ingress field can be used to inject configuration into nginx
- CVE-2026-130007HIGH
k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution