CVE-2026-24513: ingress-nginx has Improper Check for Unusual or Exceptional Conditions
A security issue was discovered in ingress-nginx where the protection afforded by the auth-url Ingress annotation may not be effective in the presence of a specific misconfiguration. If the ingress-nginx controller is configured with a default custom-errors configuration that includes HTTP errors 401 or 403, and if the configured default custom-errors backend is defective and fails to respect the X-Code HTTP header,…
Published Feb 4, 2026
Affected packages
k8s.io/ingress-nginx
- Ecosystem
- Go
- Affected
- < 1.13.7
- Fixed in
- 1.13.7
- Check
go list -m k8s.io/ingress-nginx
k8s.io/ingress-nginx
- Ecosystem
- Go
- Affected
- >= 1.14.0, < 1.14.3
- Fixed in
- 1.14.3
- 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 protection afforded by the auth-url Ingress annotation may not be effective in the presence of a specific misconfiguration.
If the ingress-nginx controller is configured with a default custom-errors configuration that includes HTTP errors 401 or 403, and if the configured default custom-errors backend is defective and fails to respect the X-Code HTTP header, then an Ingress with the auth-url annotation may be accessed even when authentication fails.
Note that the built-in custom-errors backend works correctly. Triggering this issue requires an administrator to specifically configure ingress-nginx with a broken external component.
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 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-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, 2025CVE-2025-1098
ingress-nginx controller - configuration injection via unsanitized mirror annotations
high8.8Mar 25, 2025
