Skip to main content
← All vulnerabilities
CVE-2026-54761GHSA-3G6V-2R68-PRFCGO-2026-5083

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.6.21, 3.7.5
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • traefik traefik

    fixed in 3.6.21; From 3.7.0-ea.1 · fixed in 3.7.5

  • github.com/traefik/traefik/v3Go

    fixed in 3.6.21

  • github.com/traefik/traefik/v2Go

    through 2.11.50

  • github.com/traefik/traefikGo

    through 1.7.34

  • github.com/traefik/traefik/v3Go

    From 3.7.0-ea.1 · fixed in 3.7.5

  • github.com/traefik/traefikGo

    All versions

  • github.com/traefik/traefik/v2Go

    All versions

  • github.com/traefik/traefik/v3Go

    fixed in 3.6.21; From 3.7.0-ea.1 · fixed in 3.7.5

References 4

GitHub · traefik/traefik

GitHub · Saku0512/CVE-2026-54761-poc