Skip to content
OpenAdvisories
Medium · 6.0 Public exploit CVE-2026-54761 EUVD-2026-38577GHSA-3g6v-2r68-prfcGO-2026-5083

Traefik: Kubernetes Gateway crossProviderNamespaces bypass allows HTTPRoute outside the allowlist to expose internal Traefik services

Published Jun 23, 2026 · Updated Jun 25, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
traefik traefik < 3.6.21, >= 3.7.0-ea.1, < 3.7.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed traefik 3.7.7-1.1 openSUSE-SU-2026:11251-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/traefik/traefik <= 1.7.34 — GHSA-3g6v-2r68-prfc
Go github.com/traefik/traefik all versions — GO-2026-5083
Go github.com/traefik/traefik/v2 <= 2.11.50 — GHSA-3g6v-2r68-prfc
Go github.com/traefik/traefik/v2 all versions — GO-2026-5083
Go github.com/traefik/traefik/v3 < 3.6.21 3.6.21 GHSA-3g6v-2r68-prfc
Go github.com/traefik/traefik/v3 >= 3.7.0-ea.1, < 3.7.5 3.7.5 GHSA-3g6v-2r68-prfc
Go github.com/traefik/traefik/v3 < 3.6.21 · >= 3.7.0-ea.1, < 3.7.5 3.6.21, 3.7.5 GO-2026-5083

Advisories 2

References