Description
Traefik is an HTTP reverse proxy and load balancer. Prior to 2.11.48, 3.6.19, and 3.7.3, there is a high severity vulnerability in Traefik's StripPrefix middleware that allows an unauthenticated attacker to bypass route-level authentication and authorization. When a public router matches on a PathPrefix rule and applies the StripPrefix middleware, a request path containing .. or its percent-encoded form %2e%2e can match the public route at routing time and then, after the prefix is stripped and the path is normalized, resolve to a path served by a separate, authenticated router. As a result, an attacker can reach protected backend paths — such as admin or internal configuration endpoints — without satisfying the authentication middleware attached to the protected router. This vulnerability is fixed in 2.11.48, 3.6.19, and 3.7.3.
Published: 2026-06-23
Score: 7.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Traefik’s StripPrefix middleware can allow an unauthenticated attacker to bypass route‑level authentication and authorization. In versions prior to 2.11.48, 3.6.19, and 3.7.3, a public router that matches a PathPrefix rule and applies the StripPrefix middleware may accept a request path containing .. or its percent‑encoded form %2e%2e. The request is routed to the public route; after the prefix is stripped and the path normalized, it resolves to a path served by a separate, authenticated router, enabling access to protected backend paths such as admin or internal configuration endpoints without satisfying the authentication middleware attached to the protected router. This flaw provides direct unauthorized access to routes protected by authentication and authorization middlewares. The vulnerability is fixed in the specified releases.

Affected Systems

Traefik versions earlier than 2.11.48, 3.6.19, and 3.7.3 are affected. Any deployment using a public router with a PathPrefix rule combined with the StripPrefix middleware in those versions is vulnerable. Upgrading to the specified releases or later resolves the issue.

Risk and Exploitability

The vulnerability has a CVSS score of 7.8, indicating high severity. The EPSS score is not available, so the current exploitation probability cannot be quantified. The flaw is not listed in the CISA KEV catalog, but it permits remote attackers to send crafted HTTP requests to the Traefik instance. Because no local privilege escalation or user authentication is required, an attacker can reach protected paths simply by constructing a request path that includes .. or its percent‑encoded form.

Generated by OpenCVE AI on June 23, 2026 at 23:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Traefik 2.11.48, 3.6.19, or 3.7.3 or a newer release.
  • If an upgrade cannot be performed immediately, remove or disable the StripPrefix middleware on any public routers that use PathPrefix rules.
  • Verify router configurations to ensure no public route forwards requests to authenticated backends after path normalization.

Generated by OpenCVE AI on June 23, 2026 at 23:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xf64-8mw2-4gr2 Traefik has a StripPrefix Route-Level Auth Bypass via Path Normalization
History

Tue, 23 Jun 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Traefik
Traefik traefik
Vendors & Products Traefik
Traefik traefik

Tue, 23 Jun 2026 19:45:00 +0000

Type Values Removed Values Added
Description Traefik is an HTTP reverse proxy and load balancer. Prior to 2.11.48, 3.6.19, and 3.7.3, there is a high severity vulnerability in Traefik's StripPrefix middleware that allows an unauthenticated attacker to bypass route-level authentication and authorization. When a public router matches on a PathPrefix rule and applies the StripPrefix middleware, a request path containing .. or its percent-encoded form %2e%2e can match the public route at routing time and then, after the prefix is stripped and the path is normalized, resolve to a path served by a separate, authenticated router. As a result, an attacker can reach protected backend paths — such as admin or internal configuration endpoints — without satisfying the authentication middleware attached to the protected router. This vulnerability is fixed in 2.11.48, 3.6.19, and 3.7.3.
Title Traefik StripPrefix Route-Level Auth Bypass via Path Normalization
Weaknesses CWE-288
References
Metrics cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-23T19:10:31.557Z

Reserved: 2026-05-20T17:44:09.587Z

Link: CVE-2026-48020

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T00:00:09Z

Weaknesses
  • CWE-288

    Authentication Bypass Using an Alternate Path or Channel