Summary
Traefik before 2.11.62, 3.x before 3.7.18, and 3.8.0-rc.1 contain an authorization bypass (CWE-22, path traversal). The sanitizePath entry point option leaves dot-segments carrying path parameters, such as /..;x/, unresolved when matching routers and applying middlewares.
The attack is carried out over the network with low complexity. It requires no authentication and no user interaction, and its impact extends beyond the vulnerable component (changed scope). An attacker can send a request like /public/..;x/admin to a parameter-stripping backend shared with a protected router. This bypasses authentication or authorization middlewares and reaches protected resources.
The result is high confidentiality impact and limited integrity impact, with no availability impact. The CVSS score is 9.3 (critical). The vulnerability is not listed in CISA KEV. EPSS is about 1%.
Who is affected
This affects organizations using Traefik as a reverse proxy or ingress that route both protected and public routes to the same parameter-stripping backend.
What to do
- Upgrade Traefik to 2.11.62 (2.x branch), 3.7.18 (3.x branch), or 3.8.0-rc.2 (if running 3.8.0-rc.1).
- Inventory all Traefik instances and check their versions, including Kubernetes ingress controllers and container images.
- Identify whether public and protected routers share the same backend. Check whether protection relies solely on Traefik authentication or authorization middlewares.
- Until patched, consider enforcing authorization on the backend as well. Review access logs for requests containing segments like /..; in the path.
- Follow the official advisory GHSA-cp28-5662-543f for further guidance.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- High impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- github.com/traefik/traefik/security/advisories/GHSA-cp28-5662-543f vendor advisory
- www.vulncheck.com/advisories/traefik-before-2.11.62-authorization-bypass-via-sanitizepath-
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.