Skip to content

CVE-2026-54761 Traefik: Kubernetes Gateway crossProviderNamespaces bypass allows HTTPRoute outside the allowlist to expose internal Traefik services

MediumCVSS 6.0 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
KubernetesRed HatNetwork Appliances

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/devspaces/traefik-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
traefik(Go) < 3.6.21; <= 1.7.34; <= 2.11.50; <= 3.6.20 +3 more 3.6.21, 3.7.5 Partially fixed
traefik < 3.6.21; = < 3.6.21; = >= 3.7.0-ea.1, < 3.7.5; >= 3.7.0, < 3.7.5 3.6.21, 3.7.5 Fixed

Affected products

ProductAffected versionsFixed in
traefik = < 3.6.21 No fix listed
traefik = >= 3.7.0-ea.1, < 3.7.5 No fix listed
traefik(Go) < 3.6.21 3.6.21
traefik(Go) <= 2.11.50 No fix listed
traefik(Go) <= 1.7.34 No fix listed
traefik(Go) >= 3.7.0-ea.1, < 3.7.5 3.7.5
traefik(Go) All versions No fix listed
redhat/devspaces/traefik-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
traefik(Go) <= 3.6.20 No fix listed
traefik(Go) >= 3.7.0-ea.1, <= 3.7.4 No fix listed
traefik < 3.6.21 3.6.21
traefik >= 3.7.0, < 3.7.5 3.7.5

References