All vulnerabilities

Servers and applications

GHSA-cxjq-mrr5-89rv

Authentication Bypass via Path Traversal in ReplacePathRegex Middleware

Severity
High 7.8
Published
9 Jul 2026
Last changed
9 Jul 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.11.52, 3.6.23, 3.7.7
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · No user action needed
CVSS 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
Sources
Project advisories (GitHub)

Description

There is a critical authentication-bypass vulnerability in Traefik's ReplacePathRegex middleware. When it is configured with a regular expression that captures user-controlled path segments without a mandatory separator (for example regex: "^/api(.*)", replacement: "/$1"), a crafted request can produce an un-normalized replacement path such as /../admin, which Traefik forwarded to the backend without validation. A backend that normalizes the path may resolve it to a protected route, letting an unauthenticated attacker reach resources located behind authentication middleware. This is the same class of issue that was fixed for StripPrefix in CVE-2026-48020; that post-replacement normalization check had not been applied to ReplacePathRegex. The fix rejects any request whose replaced path does not match its normalized form.

A path traversal vulnerability in the ReplacePathRegex middleware allows an unauthenticated remote attacker to bypass authentication middleware and access protected…

From traefik/traefik's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
TraefikServers and applications · github:traefik/traefik
  • Every version up to 1.7.34
  • Every version before 2.11.52
  • From 3.0.0 before 3.6.23
  • From 3.7.0 before 3.7.7

About Traefik

HTTP reverse proxy and load balancer

From Wikidata, CC0 1.0.
Docker Hub pulls
3,604,536,669Docker Hub, 15 Nov 2026
GitHub stars
65,551GitHub, 15 Nov 2026
Forks
6,312GitHub, 15 Nov 2026
Latest release
v3.7.19GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
Expat licenseWikidata
Written in
GoWikidata
First published on GitHub
13 Sept 2015GitHub

Release lines

ReleaseLatestSecurity fixes
3.73.7.19Yes
3.63.6.25Ended 16 Aug 2026
3.53.5.6Ended 7 Nov 2025
3.43.4.5Ended 23 Jul 2025
3.33.3.7Ended 5 May 2025
3.23.2.5Ended 6 Jan 2025

From endoflife.date.

References