3.1low
ingress-nginx auth-url protection bypass
- Severity
- 3.1low CVSS:3.1 by kubernetes
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- kubernetes
- Also known as
- GHSA-4g2f-xcph-2335GO-2026-4419
Description
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. To trigger this issue requires an administrator to specifically configure ingress-nginx with a broken external component.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Kubernetes ingress-nginx | before 1.13.7, before 1.14.3 | CVE List |
| k8s.io/ingress-nginx (Go) | before 1.13.7, from 1.14.0 before 1.14.3, all versions | GitHub Advisory Database, Go Vulnerability Database |
All scores
| kubernetes | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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. To trigger this issue requires an administrator to specifically configure ingress-nginx with a broken external component.
GitHub Advisory Database
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.
Go Vulnerability Database
ingress-nginx has Improper Check for Unusual or Exceptional Conditions in k8s.io/ingress-nginx.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: k8s.io/ingress-nginx before v1.13.7, from v1.14.0 before v1.14.3.
NVD (es)
Se descubrió un problema de seguridad en ingress-nginx donde la protección ofrecida por la anotación Ingress 'auth-url' podría no ser efectiva en presencia de una configuración errónea específica. Si el controlador ingress-nginx está configurado con una configuración predeterminada de errores personalizados que incluye errores HTTP 401 o 403, y si el backend predeterminado de errores personalizados configurado es defectuoso y no respeta el encabezado HTTP X-Code, entonces se podría acceder a un Ingress con la anotación 'auth-url' incluso cuando la autenticación falla. Tenga en cuenta que el backend de errores personalizados integrado funciona correctamente. Para activar este problema se requiere que un administrador configure específicamente ingress-nginx con un componente externo defectuoso.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-24513 changed 2026-02-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4g2f-xcph-2335 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4419 changed 2026-06-19 | CC-BY-4.0 |
| NVD | CVE-2026-24513 changed 2026-06-17 | Public domain |