CVE-2025-24513: ingress-nginx controller - auth secret file path traversal vulnerability
A security issue was discovered in ingress-nginx where attacker-provided data are included in a filename by the ingress-nginx Admission Controller feature, resulting in directory traversal within the container. This could result in denial of service, or when combined with other vulnerabilities, limited disclosure of Secret objects from the cluster.
Published Mar 25, 2025 · Updated Nov 4, 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 attacker-provided data are included in a filename by the ingress-nginx Admission Controller feature, resulting in directory traversal within the container. This could result in denial of service, or when combined with other vulnerabilities, limited disclosure of Secret objects from the cluster.
Credited to dor-hayun.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-24513
- https://github.com/kubernetes/kubernetes/issues/131005
- https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.11.5
- https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.12.1
- https://groups.google.com/g/kubernetes-security-announce/c/2qa9DFtN0cQ
- https://security.netapp.com/advisory/ntap-20250328-0008
- https://github.com/advisories/GHSA-242m-6h72-7hgp
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 entriesCVE-2026-4342
ingress-nginx comment-based nginx configuration injection
high8.8Mar 20, 2026CVE-2026-1580
ingress-nginx's `nginx.ingress.kubernetes.io/auth-method` Ingress annotation can be used to inject configuration into nginx
high8.8Feb 4, 2026CVE-2026-24512
ingress-nginx's `rules.http.paths.path` Ingress field can be used to inject configuration into nginx
high8.8Feb 4, 2026CVE-2026-24513
ingress-nginx has Improper Check for Unusual or Exceptional Conditions
low3.1Feb 4, 2026CVE-2026-24514
ingress-nginx vulnerable to Allocation of Resources Without Limits or Throttling
medium6.5Feb 4, 2026CVE-2025-1097
ngress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation
high8.8Mar 25, 2025
