CVE-2026-65600Traefik before v2.11.52 Authentication Bypass via ReplacePathRegex
Traefik versions <= v2.11.51, >= v3.6.0 <= v3.6.22, and >= v3.7.0 <= v3.7.6 contain an authentication bypass via path traversal in the ReplacePathRegex middleware. When ReplacePathRegex is configured with a regex that captures user-controlled path segments without a mandatory path separator (e.g. regex "^/api(.*)", replacement "/$1"), the middleware forwards the replaced path to the backend without validating that it matches its normalized form. An unauthenticated remote attacker can send a crafted request (e.g. GET /api../admin) that produces an un-normalized path such as /../admin, which a backend that normalizes paths resolves to a protected route, bypassing authentication middleware. Fixed in v2.11.52, v3.6.23, and v3.7.7.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Go has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Go library | github.com/traefik/traefik | Fix pending | GHSA-cxjq-mrr5-89rv | |
| Go library | github.com/traefik/traefik/v2 | Fixed | 2.11.52 | GHSA-cxjq-mrr5-89rv |
| Go library | github.com/traefik/traefik/v3 | Fixed | 3.7.7 | GHSA-cxjq-mrr5-89rv |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- traefik: affected: before 2.11.52, 2.11.52 not affected; fixed in
2.11.52 - traefik: affected: 3.6.0 to before 3.6.23, 3.6.23 not affected; fixed in
3.6.23 - traefik: affected: 3.7.0 to before 3.7.7, 3.7.7 not affected; fixed in
3.7.7
Vendor advisories:
References
- https://github.com/traefik/traefik/security/advisories/GHSA-cxjq-mrr5-89rv
- https://www.vulncheck.com/advisories/traefik-before-authentication-bypass-via-replacepathregex
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.