CVE-2026-54761
Description
Traefik is an HTTP reverse proxy and load balancer. Prior to 3.6.21 and 3.7.5, there is a high severity vulnerability in Traefik's Kubernetes Gateway provider affecting the crossProviderNamespaces allowlist. For HTTPRoute rules that declare multiple (WRR) backendRefs, Traefik evaluates the allowlist against the target backendRef.namespace instead of the route's own namespace. As a result, an HTTPRoute created in a namespace that is not allow-listed can reference a cross-provider TraefikService such as api@internal, dashboard@internal or rest@internal by pointing backendRef.namespace at an allow-listed namespace covered by a Gateway API ReferenceGrant, exposing internal Traefik services on the data plane. Exploitation requires the ability to create an accepted HTTPRoute and a matching ReferenceGrant from an allow-listed namespace; it does not require any change to Traefik static configuration, RBAC, or the deployment itself. This vulnerability is fixed in 3.6.21 and 3.7.5.
How to fix
- traefik traefik3.6.21, 3.7.5 or later
- github.com/traefik/traefik/v33.6.21, 3.7.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| traefik traefik | v < 3.6.21, 3.7.0 ≤ v < 3.7.5 | 3.6.21, 3.7.5 |
| github.com/traefik/traefik/v3Go | v < 3.6.21, 3.7.0-ea.1 ≤ v < 3.7.5 | 3.6.21, 3.7.5 |
| github.com/traefik/traefik/v2Go | v ≤ 2.11.50, No range specified | — |
| github.com/traefik/traefikGo | v ≤ 1.7.34, No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.