Traefik doesn't Prevent Path Normalization Bypass in Router + Middleware Rules
Description
Traefik is an HTTP reverse proxy and load balancer. For versions prior to 2.11.32 and 2.11.31 through 3.6.2, requests using PathPrefix, Path or PathRegex matchers can bypass path normalization. When Traefik uses path-based routing, requests containing URL-encoded restricted characters (/, \, Null, ;, ?, #) can bypass the middleware chain and reach unintended backends. For example, a request to http://mydomain.example.com/admin%2F could reach service-a without triggering my-security-middleware, bypassing security controls for the /admin/ path. This issue is fixed in versions 2.11.32 and 3.6.3.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/traefik/traefikGo | <= 1.7.34 | — |
github.com/traefik/traefik/v2Go | < 2.11.32 | 2.11.32 |
github.com/traefik/traefik/v3Go | < 3.6.3 | 3.6.3 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-gm3x-23wp-hc2cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-66490ghsaADVISORY
- github.com/traefik/traefik/releases/tag/v2.11.32ghsax_refsource_MISCWEB
- github.com/traefik/traefik/releases/tag/v3.6.4ghsax_refsource_MISCWEB
- github.com/traefik/traefik/security/advisories/GHSA-gm3x-23wp-hc2cghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.