Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/traefik/traefik/v2
  4. ›
  5. CVE-2026-48020

CVE-2026-48020: Traefik has a StripPrefix Route-Level Auth Bypass via Path Normalization

June 11, 2026

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.

A route-level authentication/authorization bypas was found in Traefik when PathPrefix-based public routes are combined with StripPrefix.

A request using /api../ or /api%2e%2e/ can avoid protected router rules at the routing stage, but after StripPrefix, the path is normalized and forwarded to the backend as a protected path such as /admin or /internal/config.

This is reproducible on patched/latest Traefik versions and appears related to, but distinct from, previously disclosed StripPrefixRegex / path-normalization issues.

This report specifically affects StripPrefix.

References

  • github.com/advisories/GHSA-xf64-8mw2-4gr2
  • github.com/traefik/traefik/releases/tag/v2.11.48
  • github.com/traefik/traefik/releases/tag/v3.6.19
  • github.com/traefik/traefik/releases/tag/v3.7.3
  • github.com/traefik/traefik/security/advisories/GHSA-xf64-8mw2-4gr2
  • nvd.nist.gov/vuln/detail/CVE-2026-48020

Code Behaviors & Features

Detect and mitigate CVE-2026-48020 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.11.48

Fixed versions

  • 2.11.48

Solution

Upgrade to version 2.11.48 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-288: Authentication Bypass Using an Alternate Path or Channel

Source file

go/github.com/traefik/traefik/v2/CVE-2026-48020.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 19 Jul 2026 12:17:03 +0000.