Skip to main content

CVE-2025-1097 — Vulnerability in k8s.io/ingress-nginx — CVE Details

HIGH

ngress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation

Published March 25, 2025Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (9.19%). Schedule for your next planned update.

Does your project use an affected k8s.io/ingress-nginx version?

Paste your go.sum to check it for CVE-2025-1097 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.

Check my go.sum

Summary

A security issue was discovered in ingress-nginx where the auth-tls-match-cn Ingress annotation can be used to inject 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
Update k8s.io/ingress-nginx to 1.11.5 or later
go get k8s.io/ingress-nginx@v1.11.5
Go
Update k8s.io/ingress-nginx to 1.12.1 or later
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).

PackageFixed In
k8s.io/ingress-nginx Go · Affected: All versions1.11.5
k8s.io/ingress-nginx Go · Affected: All versions1.12.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-1097?
ngress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation. 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-1097?
CVE-2025-1097 affects k8s.io/ingress-nginx. It has a 9.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-1097 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
9.19%
EPSS percentile: 96.1

This places it in the top 5% of EPSS-scored vulnerabilities — 96.1% 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

GHSA-823x-fv5p-h7hw
GO-2025-3565

Related CVEs

  • CVE-2025-1974
    CRITICAL

    ingress-nginx admission controller RCE escalation

  • CVE-2026-1580
    HIGH

    ingress-nginx's `nginx.ingress.kubernetes.io/auth-method` Ingress annotation can be used to inject configuration into nginx

  • CVE-2026-108262
    HIGH

    DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885

  • CVE-2026-4342
    HIGH

    ingress-nginx comment-based nginx configuration injection

  • CVE-2025-24514
    HIGH

    ingress-nginx controller - configuration injection via unsanitized auth-url annotation

  • CVE-2026-24512
    HIGH

    ingress-nginx's `rules.http.paths.path` Ingress field can be used to inject configuration into nginx

  • CVE-2026-130007
    HIGH

    k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution

  • CVE-2025-1098
    HIGH

    ingress-nginx controller - configuration injection via unsanitized mirror annotations

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum