{"id":"GHSA-cp28-5662-543f","aliases":[],"summary":"sanitizePath does not remove path-parameter dot-segments (/..;x/), enabling path-based authorization bypass","published_at":"2026-11-12T10:01:23Z","modified_at":"2026-11-12T10:01:23Z","products":[{"slug":"traefik","name":"Traefik","category":"proxy"}],"rating":{"severity":"high","score":7.8,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":9.8,"record_count":1,"vendors":["GitHub"],"details":"## Summary\r\n\r\nThere is a vulnerability in Traefik's request path sanitization. The `sanitizePath` entry point option, enabled by default, resolves the `..` and `.` dot-segments and removes the duplicate slashes from the request path before routing, but it leaves a dot-segment carrying a path parameter, such as `/..;x/`, untouched. Traefik matches its routers and applies its middlewares on this unresolved path and forwards it unchanged. When a backend that strips path parameters (Servlet containers, Spring, ...) is shared between an unauthenticated router and a router protected by an authentication or authorization middleware, an unauthenticated attacker can send a single request such as `/public/..;x/admin` to reach the protected resources and bypass the middleware.\r\n\r\nTraefik v2.11.62, v3.7.18 and v3.8.0-rc.2 resolve the `..`, `.` and empty segments carrying path parameters before the dot-segment removal, when `sanitizePath` is enabled (the default). Traefik v3.0 to v3.6 are also affected; these lines are end of life and will not receive a patch, the remedy is to upgrade to a patched release.\r\n\r\n## Patches\r\n\r\n- https://github.com/traefik/traefik/releases/tag/v2.11.62\r\n- https://github.com/traefik/traefik/releases/tag/v3.7.18\r\n- https://github.com/traefik/traefik/releases/tag/v3.8.0-rc.2\r\n\r\n## For more information\r\n\r\nIf you have any questions or comments about this advisory, please [open an issue](https://github.com/traefik/traefik/issues).","affected_stack":[{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"v2.11.62"}]}],"fixed":["v2.11.62"],"provider":"github-repo-advisories","source":"GHSA-cp28-5662-543f","relation":"self"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"v3.0.0"},{"fixed":"v3.7.18"}]}],"fixed":["v3.7.18"],"provider":"github-repo-advisories","source":"GHSA-cp28-5662-543f","relation":"self"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"v3.8.0-rc.1"},{"fixed":"v3.8.0-rc.2"}]}],"fixed":["v3.8.0-rc.2"],"provider":"github-repo-advisories","source":"GHSA-cp28-5662-543f","relation":"self"}],"affected_other":[],"product_status":[],"records":[{"provider":"github-repo-advisories","source_id":"GHSA-cp28-5662-543f","relation":"self","url":"https://github.com/traefik/traefik/security/advisories/GHSA-cp28-5662-543f","license":"GitHub Terms of Service","published_at":"2026-11-12T10:01:23Z","modified_at":"2026-11-12T10:01:23Z","summary":"sanitizePath does not remove path-parameter dot-segments (/..;x/), enabling path-based authorization bypass","details":"## Summary\r\n\r\nThere is a vulnerability in Traefik's request path sanitization. The `sanitizePath` entry point option, enabled by default, resolves the `..` and `.` dot-segments and removes the duplicate slashes from the request path before routing, but it leaves a dot-segment carrying a path parameter, such as `/..;x/`, untouched. Traefik matches its routers and applies its middlewares on this unresolved path and forwards it unchanged. When a backend that strips path parameters (Servlet containers, Spring, ...) is shared between an unauthenticated router and a router protected by an authentication or authorization middleware, an unauthenticated attacker can send a single request such as `/public/..;x/admin` to reach the protected resources and bypass the middleware.\r\n\r\nTraefik v2.11.62, v3.7.18 and v3.8.0-rc.2 resolve the `..`, `.` and empty segments carrying path parameters before the dot-segment removal, when `sanitizePath` is enabled (the default). Traefik v3.0 to v3.6 are also affected; these lines are end of life and will not receive a patch, the remedy is to upgrade to a patched release.\r\n\r\n## Patches\r\n\r\n- https://github.com/traefik/traefik/releases/tag/v2.11.62\r\n- https://github.com/traefik/traefik/releases/tag/v3.7.18\r\n- https://github.com/traefik/traefik/releases/tag/v3.8.0-rc.2\r\n\r\n## For more information\r\n\r\nIf you have any questions or comments about this advisory, please [open an issue](https://github.com/traefik/traefik/issues).","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:L/SA:N","source":"GHSA-cp28-5662-543f"}],"affected":[{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"v2.11.62"}]}],"fixed":["v2.11.62"],"provider":"github-repo-advisories","source":"GHSA-cp28-5662-543f","relation":"self"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"v3.0.0"},{"fixed":"v3.7.18"}]}],"fixed":["v3.7.18"],"provider":"github-repo-advisories","source":"GHSA-cp28-5662-543f","relation":"self"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"v3.8.0-rc.1"},{"fixed":"v3.8.0-rc.2"}]}],"fixed":["v3.8.0-rc.2"],"provider":"github-repo-advisories","source":"GHSA-cp28-5662-543f","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/traefik/traefik/security/advisories/GHSA-cp28-5662-543f"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/traefik/traefik/security/advisories/GHSA-cp28-5662-543f"}],"sources":[{"provider":"github-repo-advisories","source_id":"GHSA-cp28-5662-543f","url":"https://github.com/traefik/traefik/security/advisories/GHSA-cp28-5662-543f","license":"GitHub Terms of Service","modified_at":"2026-11-12T10:01:23Z","relation":"self"}]}
