CVE-2026-54761

HIGH

Traefik < 3.6.21 and 3.7.0-ea.1-3.7.4 - Gateway Namespace Bypass

Title source: manual
STIX 2.1

Exploitation 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)

github WORKING POC
by Saku0512 · shellpoc
https://github.com/Saku0512/CVE-2026-54761-poc

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.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Traefik v3.7.1
No auth needed
Prerequisites: Docker · Kind · kubectl · curl · Kubernetes Gateway API CRDs
devstral-2 · analyzed Jun 28, 2026 Full analysis →

References (3)

Core 3
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/traefik/traefik/releases/tag/v3.7.5

Scores

CVSS v3 7.1
EPSS 0.0032
EPSS Percentile 23.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-284 CWE-863
Status published
Products (2)
traefik/traefik < 3.6.21 (2 CPE variants)
traefik/traefik >= 3.7.0-ea.1, < 3.7.5
Published Jun 23, 2026
Tracked Since Jun 24, 2026