NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

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

highCVSS 3.1 8.8GHSA-823x-fv5p-h7hw

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

Published Mar 25, 2025 · Updated Nov 3, 2025

Affected packages

k8s.io/ingress-nginx

Ecosystem
Go
Affected
< 1.11.5
Fixed in
1.11.5
Check
go list -m k8s.io/ingress-nginx

k8s.io/ingress-nginx

Ecosystem
Go
Affected
>= 1.12.0-beta.0, < 1.12.1
Fixed in
1.12.1
Check
go list -m k8s.io/ingress-nginx

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to dor-hayun.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries