Authentication bypass via path traversal in Traefik ReplacePathRegex
CVE-2026-65600 is a path-traversal authentication bypass in Traefik's ReplacePathRegex middleware, affecting versions through v2.11.51, v3.6.0–v3.6.22, and v3.7.0–v3.7.6. When a rewrite expression captures user-controlled path segments without requiring a path separator, the middleware can generate and forward an unnormalized path without checking whether it differs from its normalized form. A backend that normalizes the rewritten path can consequently resolve it to a protected route, allowing an unauthenticated remote attacker to bypass authentication middleware.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Unauthenticated remote attackers can access protected backend routes and perform read or write operations exposed by those routes. Potential consequences include disclosure of protected information and unauthorized modification of backend data, depending on the accessible endpoints and any independent backend authorization controls.
If you can’t patch tonight, do this now.
Until patched, remove or revise ReplacePathRegex expressions that capture user-controlled path segments without a mandatory separator. For prefix stripping, replace permissive patterns such as '^/api(.)' with structurally safer patterns requiring a separator, such as '^/api/(.)'. Review middleware ordering and backend path-normalization behavior, and ensure protected backend routes enforce authentication independently of proxy path matching.
Patch, then assume compromise.
Upgrade to Traefik v2.11.52, v3.6.23, or v3.7.7, or a later fixed release in the applicable branch. These releases reject rewritten paths whose normalized form differs from the forwarded path. For legacy v1.x deployments through v1.7.34, no fixed release is identified; migrate to a supported, patched branch.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.