CVE-2026-54761
HIGHTraefik < 3.6.21 and 3.7.0-ea.1-3.7.4 - Gateway Namespace Bypass
Title source: manualExploitation Summary
EIP tracks 1 public exploit for CVE-2026-54761. PoCs published by Saku0512.
AI-analyzed exploit summary This repository contains a functional proof-of-concept exploit for CVE-2026-54761, demonstrating a vulnerability in Traefik v3.7.1 where improper handling of mixed backendRefs in HTTPRoute allows exposure of internal APIs. The exploit uses a Kubernetes Kind cluster to reproduce the issue, showing how an attacker can bypass intended access controls.
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.
Exploits (1)
This repository contains a functional proof-of-concept exploit for CVE-2026-54761, demonstrating a vulnerability in Traefik v3.7.1 where improper handling of mixed backendRefs in HTTPRoute allows exposure of internal APIs. The exploit uses a Kubernetes Kind cluster to reproduce the issue, showing how an attacker can bypass intended access controls.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N