{"id":"GHSA-rhg6-2vjh-j5qc","summary":"Duplicate Advisory: Traefik: Authentication Bypass via Path Traversal in ReplacePathRegex Middleware","details":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-cxjq-mrr5-89rv. This link is maintained to preserve external references.\n\n## Original Description\nTraefik versions \u003c= v2.11.51, \u003e= v3.6.0 \u003c= v3.6.22, and \u003e= v3.7.0 \u003c= 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.","modified":"2026-08-06T17:00:56.789959163Z","published":"2026-07-22T12:32:18Z","withdrawn":"2026-08-06T16:50:45Z","database_specific":{"github_reviewed_at":"2026-08-06T16:50:45Z","nvd_published_at":"2026-07-22T12:18:20Z","cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/traefik/traefik/security/advisories/GHSA-cxjq-mrr5-89rv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65600"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/traefik-before-authentication-bypass-via-replacepathregex"}],"affected":[{"package":{"name":"github.com/traefik/traefik/v2","ecosystem":"Go","purl":"pkg:golang/github.com/traefik/traefik/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.11.51"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-rhg6-2vjh-j5qc/GHSA-rhg6-2vjh-j5qc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}