CVE-2026-48020: Traefik has a StripPrefix Route-Level Auth Bypass via Path Normalization
(updated )
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
- access.redhat.com/errata/RHSA-2026:62260
- access.redhat.com/security/cve/CVE-2026-48020
- bugzilla.redhat.com/show_bug.cgi?id=2491915
- 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
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48020.json
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 →