CVE-2026-24513
JSON

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 packageVersionsReported by
Kubernetes ingress-nginxbefore 1.13.7, before 1.14.3CVE List
k8s.io/ingress-nginx (Go)before 1.13.7, from 1.14.0 before 1.14.3, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

kubernetes3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-754

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

SourceRecordLicence
CVE ListCVE-2026-24513 changed 2026-02-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-4g2f-xcph-2335 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4419 changed 2026-06-19CC-BY-4.0
NVDCVE-2026-24513 changed 2026-06-17Public domain