CVE-2025-1097: ingress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation

Published Mar 24, 2025
·
Updated

A security issue was discovered in ingress-nginx https://github.com/kubernetes/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.)

Other sources

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

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-1097?

CVE-2025-1097 is considered a high severity vulnerability that can potentially allow remote code execution.

2

How do I fix CVE-2025-1097?

To mitigate CVE-2025-1097, upgrade your ingress-nginx controller to the latest versions where the vulnerability is patched.

3

What are the potential impacts of CVE-2025-1097?

CVE-2025-1097 can lead to unauthorized access and control over the Kubernetes environment, impacting application security.

4

Which software is affected by CVE-2025-1097?

CVE-2025-1097 affects the Kubernetes ingress-nginx controller within Azure Kubernetes Service.

5

How can organizations detect CVE-2025-1097?

Organizations can detect CVE-2025-1097 by performing vulnerability assessments and reviewing the versions of their ingress-nginx controllers.

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