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

Medium 6.0 Published Updated

Attackers can expose internal Traefik services by bypassing namespace allowlists in Kubernetes Gateway HTTPRoute configurations.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-54761?

CVE-2026-54761 is a medium-severity missing authorization vulnerability in Traefik Traefik, published on 23 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-863, CWE-284

Which versions are affected by CVE-2026-54761?

11 open source packages ship an affected version, including github.com/traefik/traefik/v3, github.com/traefik/traefik and github.com/traefik/traefik/v2. It affects 1 product.

PackageAffectedFixed in
github.com/traefik/traefik/v3 GoAll versions3.6.21, 3.7.5
github.com/traefik/traefik/v3 GoAll versions3.6.21
github.com/traefik/traefik/v3 GoAll versions3.6.21
github.com/traefik/traefik/v3 GoFrom 3.7.0-ea.13.7.5
github.com/traefik/traefik/v3 GoFrom 3.7.0-ea.13.7.5
github.com/traefik/traefik GoAll versionsNone
5 more packages
github.com/traefik/traefik GoAll versions to 1.7.34None
github.com/traefik/traefik GoAll versions to 1.7.34None
github.com/traefik/traefik/v2 GoAll versionsNone
github.com/traefik/traefik/v2 GoAll versions to 2.11.50None
github.com/traefik/traefik/v2 GoAll versions to 2.11.50None

Products include Traefik Traefik.

How do I fix CVE-2026-54761?

Upgrade github.com/traefik/traefik/v3 to a fixed version for your release line: 3.6.21 or 3.7.5.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-54761 being exploited?

There is no known exploitation of CVE-2026-54761 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Traefik Traefik vulnerabilities

Sources

Also known as GHSA-3g6v-2r68-prfc, GO-2026-5083, MINI-85w5-hj2c-f94g, MINI-cfrm-3mmp-vww9, MINI-mxxh-j2pp-8vgh.

Is CVE-2026-54761 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free