Description
Traefik is a HTTP reverse proxy and load balancer. In versions >= v3.7.0 and <= v3.7.11, the Kubernetes ingress-nginx provider mishandles Ingresses that carry both an authentication annotation and the nginx.ingress.kubernetes.io/from-to-www-redirect annotation. For such Ingresses the provider creates an additional 'sibling' router that matches on the host alone, carries only the RedirectRegex middleware, and still points at the parent router's protected backend service. Because RedirectRegex is not a terminal handler, a request its pattern does not match is forwarded to the backend, and because the redirect pattern only accepts a numeric port while Traefik's host matcher canonicalizes the authority via net.SplitHostPort, a request with a non-numeric or empty port (for example 'Host: www.example.com:x') selects the sibling router, misses the redirect, and is proxied to the protected backend with none of the Ingress's annotation-derived middlewares applied. This discards not only authentication (e.g. BasicAuth) but every annotation-derived middleware, including source-IP allowlisting. Traefik v2 and v3 releases before v3.7.0 are not affected. The issue is fixed in v3.7.12.
Published: 2026-09-10
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Authentication Bypass
Action: Immediate Patch
AI Analysis

Impact

The vulnerability occurs in Traefik releases 3.7.0 through 3.7.11 when the Kubernetes ingress-nginx provider processes Ingress resources that contain both an authentication annotation and the nginx.ingress.kubernetes.io/from-to-www-redirect annotation. The provider creates an additional sibling router that matches only on the host and applies a RedirectRegex middleware. Because the RedirectRegex middleware is not terminal, requests that do not match its pattern are forwarded to the backend service. The redirect pattern accepts only numeric ports, but Traefik canonicalizes host headers with net.SplitHostPort, permitting an attacker to send a request with a non-numeric or empty port (e.g., “Host: www.example.com:x”). This request selects the sibling router, skips the redirect, and reaches the protected backend without any of the authentication or other annotation‑derived middlewares. Consequently authentication and source‑IP allowlisting are bypassed, allowing unauthorized access to the backend service. This is an Auth‑Breach type flaw identified as CWE‑639.

Affected Systems

The affected product is Traefik, an HTTP reverse proxy and load balancer, when deployed with the Kubernetes ingress-nginx provider. Versions from 3.7.0 up to and including 3.7.11 are vulnerable. Traefik versions before 3.7.0 and Traefik v2 releases are not affected. The issue is addressed starting with Traefik 3.7.12.

Risk and Exploitability

With a CVSS score of 9.3 the vulnerability is classified as critical. No EPSS data is available at the time of this analysis, but the lack of restrictions on the attack surface – any user able to issue HTTP requests to the affected Ingress – makes exploitation likely. The issue is not listed in the CISA KEV catalog. The attack vector is inferred to be remote, as an adversary can craft a Host header with a non‑numeric or empty port to trigger the bypass, sending the request directly to the protected backend over the network.

Generated by OpenCVE AI on September 10, 2026 at 15:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Traefik to version 3.7.12 or later to receive the fix for the authentication bypass flaw.
  • If an upgrade cannot be performed immediately, remove or disable the nginx.ingress.kubernetes.io/from-to-www-redirect annotation from the affected Ingress resources to prevent the creation of the sibling router.
  • After disabling the redirection, validate that authentication annotations and other middleware are still applied and that no unauthorized requests reach the backend.

Generated by OpenCVE AI on September 10, 2026 at 15:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 10 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 10 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description Traefik is a HTTP reverse proxy and load balancer. In versions >= v3.7.0 and <= v3.7.11, the Kubernetes ingress-nginx provider mishandles Ingresses that carry both an authentication annotation and the nginx.ingress.kubernetes.io/from-to-www-redirect annotation. For such Ingresses the provider creates an additional 'sibling' router that matches on the host alone, carries only the RedirectRegex middleware, and still points at the parent router's protected backend service. Because RedirectRegex is not a terminal handler, a request its pattern does not match is forwarded to the backend, and because the redirect pattern only accepts a numeric port while Traefik's host matcher canonicalizes the authority via net.SplitHostPort, a request with a non-numeric or empty port (for example 'Host: www.example.com:x') selects the sibling router, misses the redirect, and is proxied to the protected backend with none of the Ingress's annotation-derived middlewares applied. This discards not only authentication (e.g. BasicAuth) but every annotation-derived middleware, including source-IP allowlisting. Traefik v2 and v3 releases before v3.7.0 are not affected. The issue is fixed in v3.7.12.
Title Traefik v3.7.0 Authentication Bypass via from-to-www-redirect
First Time appeared Traefik
Traefik traefik
Weaknesses CWE-639
CPEs cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:*
Vendors & Products Traefik
Traefik traefik
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-10T14:10:07.483Z

Reserved: 2026-09-10T11:24:26.196Z

Link: CVE-2026-88877

cve-icon Vulnrichment

Updated: 2026-09-10T14:10:01.417Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-10T14:17:16.023

Modified: 2026-09-10T15:17:57.790

Link: CVE-2026-88877

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T15:00:15Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key