CVE-2026-40912
Traefik: StripPrefixRegex auth bypass via Path/RawPath desync
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
Fuente: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche v3.6.14 | github.com/traefik/traefik/v3 · -8 d desde divulgación | |
| Remediación | Parche v3.7.0-rc.2 | github.com/traefik/traefik/v3 · -8 d desde divulgación | |
| Remediación | Parche v2.11.43 | github.com/traefik/traefik/v2 · -8 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-40912 divulgada · CVSS 7.8 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a high severity authentication bypass vulnerability in Traefik's StripPrefixRegex middleware when used in combination with ForwardAuth, BasicAuth, or DigestAuth. The middleware matches the regex against the decoded URL path but uses the resulting byte length to slice the percent-encoded raw path. When a dot (or multiple dots) appears in the prefix portion of the URL, the raw path after stripping becomes a dot-segment (e.g. /./admin/secret). ForwardAuth receives this dot-segment path in X-Forwarded-Uri, which does not match the protected path patterns and therefore allows the request through. The backend then normalizes the dot-segment to the real path per RFC 3986 and serves the protected content An unauthenticated attacker can exploit this against any backend that performs dot-segment normalization. This issue has been patched in versions 2.11.43, 3.6.14, and 3.7.0-rc.2.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/traefik/traefik/v3 |
Corregida | v3.6.14, v3.7.0-rc.2 | -8 d · -8 d | v3.7.19 no afectada |
gogithub.com/traefik/traefik/v2 |
Corregida | v2.11.43 | -8 d | v2.11.63 no afectada |
gogithub.com/traefik/traefik |
Sin parche | — | — | v1.7.34 afectada |
2.11.43v2.11.433.6.14v3.6.143.7.0-rc.2v3.7.0-rc.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://access.redhat.com/errata/RHSA-2026:21772https://github.com/traefik/traefik/security/advisories/GHSA-6jwx-7vp4-9847https://bugzilla.redhat.com/show_bug.cgi?id=2464229https://github.com/traefik/traefik/releases/tag/v2.11.43https://github.com/traefik/traefik/releases/tag/v3.6.14https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2https://access.redhat.com/security/cve/CVE-2026-40912https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40912.jsonLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
