Traefik
Traefik: Kubernetes Gateway crossProviderNamespaces bypass allows HTTPRoute outside the allowlist to expose internal Traefik services
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.6.21
- >= 3.7.0-ea.1, < 3.7.5
Fixed in 3.6.21, 3.7.5
Mitigation
Upgrade traefik to 3.6.21 or 3.7.5 or later.
References
- Vendor advisory github.com/traefik/traefik/security/advisories…
- Release notes github.com/traefik/traefik/releases/tag/v3.6.2…
- Release notes github.com/traefik/traefik/releases/tag/v3.7.5
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 pending
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Saku0512/CVE-2026-54761-poc | 19 Jun 2026 −4.2 d | 0 | Pending · mkdir /quarantine/Saku0512__CVE-2026-54761-poc-c8b577b155bb: permission denied |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.