Traefik StripPrefix Route-Level Auth Bypass via Path Normalization
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-48020. PoCs published by Hunt-Benito.
AI-analyzed exploit summary This repository contains a functional proof-of-concept exploit for CVE-2026-48020, demonstrating an authentication bypass in Traefik's StripPrefix middleware due to path normalization occurring after routing decisions. The PoC includes a backend server, a Dockerized vulnerable Traefik instance, and a script to test the bypass payloads.
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.
Exploits (1)
This repository contains a functional proof-of-concept exploit for CVE-2026-48020, demonstrating an authentication bypass in Traefik's StripPrefix middleware due to path normalization occurring after routing decisions. The PoC includes a backend server, a Dockerized vulnerable Traefik instance, and a script to test the bypass payloads.
References (7)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N