Aug 5, 2026·7 min read·1 visit
Traefik fails to validate the crossProviderNamespaces allowlist for IngressRouteTCP service serversTransport configurations, enabling cross-provider namespace bypass.
An authorization bypass vulnerability in Traefik allows low-privileged users within unauthorized Kubernetes namespaces to reference privileged file-provider TCP serversTransports via IngressRouteTCP resources, bypassing the crossProviderNamespaces constraint.
Traefik is a modern HTTP reverse proxy and load balancer designed to integrate with cluster orchestrators like Kubernetes. In multi-tenant environments, security isolation between different namespaces is critical to ensure that tenants cannot interfere with or access administrative configurations. To enforce this boundary, Traefik implements a security configuration known as 'crossProviderNamespaces'. This setting acts as an access control list, defining which Kubernetes namespaces are allowed to reference resources across provider boundaries.
Historically, the 'crossProviderNamespaces' configuration array was correctly evaluated when processing standard IngressRoute HTTP configurations. This prevented unauthorized namespaces from accessing file-based resources, which often contain highly sensitive parameters such as mTLS client certificates, SPIFFE workload identities, or custom proxy-protocol setups. By maintaining strict provider-namespace isolation, administrators could ensure that low-privileged users in localized tenant namespaces could not use cluster-wide privileged configuration definitions.
However, a verification gap was introduced in the parsing path of the IngressRouteTCP configuration parser. Specifically, the parser failed to evaluate the namespace allowlist constraints when evaluating serversTransport bindings. As a result, any user capable of creating an IngressRouteTCP resource could bypass the intended namespace barriers to reference privileged, administrative-level transports. This logical flaw effectively allowed any low-privileged Kubernetes tenant to exploit sensitive backend transport layers, undermining the core multi-tenant security architecture of the host cluster.
The root cause of this vulnerability lies within the configuration compilation engine of Traefik's Kubernetes Custom Resource Definition (CRD) provider. When configuring network ingress, Traefik allows routers to bind to specific 'serversTransport' resources, which define the underlying TLS settings, socket options, and proxy behaviors for backend communication. These transports are defined across various providers, with the static file provider ('@file') typically reserved for cluster-wide, highly privileged transport definitions.
In the Kubernetes CRD provider codebase, specifically within the function 'makeTCPServersTransportKey' in 'pkg/provider/kubernetes/crd/kubernetes_tcp.go', the code parses references to administrative server transports. When a reference containing a provider separator (the '@' symbol) is parsed, the code must check whether the originating namespace is authorized to access the destination provider. While the HTTP parsing pipeline enforced this restriction using the 'isCrossProviderNamespaceAllowed' validator, the TCP configuration pipeline omitted this verification step.
Specifically, the vulnerable implementation of 'makeTCPServersTransportKey' checked for the presence of the provider namespace separator using a basic string evaluation. If the separator was detected, the method immediately returned the transport reference key, executing a fast return path without performing any validation against the 'crossProviderNamespaces' configuration. This programming oversight bypassed the authorized namespace collection completely, letting any IngressRouteTCP manifest bind to external provider configurations.
Analyzing the patch applied in commit 67501cbe7bc7774e26ecbd1c29af97f098e14b0b clarifies the exact missing validation step and the fix implementation. In the vulnerable release of pkg/provider/kubernetes/crd/kubernetes_tcp.go, the processing logic returned early upon encountering a provider separator.
// Vulnerable Code Logic
if strings.Contains(serversTransportName, providerNamespaceSeparator) {
return serversTransportName, nil
}This early return completely bypassed the namespace containment check. The patch corrected this behavior by embedding the proper verification check directly into the provider-separated evaluation block. By invoking the authorization checker helper function, the TCP configuration engine now validates the originating namespace against the active allowlist.
// Patched Code Logic
if strings.Contains(serversTransportName, providerNamespaceSeparator) {
if !p.AllowCrossNamespace && strings.HasSuffix(serversTransportName, providerNamespaceSeparator+providerName) {
return "", fmt.Errorf("invalid reference to serversTransport %s: namespace-name@kubernetescrd format is not allowed when crossnamespace is disallowed", serversTransportName)
}
if !isCrossProviderNamespaceAllowed(p.CrossProviderNamespaces, parentNamespace) {
return "", fmt.Errorf("serversTransport %q reference is not allowed: namespace %q is not in crossProviderNamespaces", serversTransportName, parentNamespace)
}
return serversTransportName, nil
}With this update, if an unauthorized namespace attempts to leverage a transport containing the @file suffix, the validation fails. The parsing sequence aborts, throwing an error and refusing to reconcile the unauthorized route. This ensures complete parity between the HTTP and TCP configurations and effectively closes the authorization bypass.
Exploitation of CVE-2026-65602 requires low-privileged administrative access inside a restricted namespace in a multi-tenant Kubernetes cluster. The attacker must target a cluster where a privileged, global transport is configured in a static file provider, such as an mTLS connection profile used for secure database or API gateway tunnels. The attacker does not need any administrative permissions outside of their local, designated namespace.
To execute the exploit, the malicious tenant crafts an IngressRouteTCP manifest that references the target file-provider transport. By applying this configuration to their namespace, they instruct the Traefik proxy controller to bind their custom backend service to the administrative-grade TCP transport. The key component of the exploit is the use of the @file provider suffix in the serversTransport key.
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: bypass-route
namespace: untrusted-tenant-namespace
spec:
entryPoints:
- websecure
routes:
- match: HostSNI(`exploit.internal.corp`)
services:
- name: internal-attacker-service
port: 443
serversTransport: admin-mtls-transport@fileOnce the controller reconciles this resource, the attacker can establish a TLS session targeting exploit.internal.corp. Traefik then routes the traffic to the specified internal backend service while using the sensitive client identity, proxy protocol flags, or backend certificates configured in admin-mtls-transport@file. This enables unauthorized operations, such as authenticating to downstream resources using administrative certificates.
The security impact of this vulnerability is characterized as an incorrect authorization check (CWE-863) resulting in privilege escalation (T1068). Although scored at 5.3 (Medium) under CVSS v4.0, the subsequent system confidentiality and integrity impacts are high. In modern enterprise environments, serversTransports are the standard mechanism for housing mutual TLS (mTLS) identities, making them critical security boundaries.
An attacker who successfully exploits this bypass can reuse backend connections established under a different security profile. This allows the attacker to compromise data integrity on target backends by masquerading as an administrative process. For instance, if the target transport utilizes SPIFFE workload certificates to prove microservice identity, the attacker can spoof this identity to access restricted internal components.
Furthermore, because the vulnerability allows the extraction of trust context via downstream service binding, it completely subverts the isolation model expected in multi-tenant environments. Although the attacker cannot directly read the raw certificate private keys from the file provider, they can route arbitrary TCP streams that use these keys, rendering the logical segregation of the Kubernetes cluster ineffective.
The primary remediation path is to upgrade the Traefik controller to a non-vulnerable version. Organizations running the 3.6 branch must upgrade to version 3.6.23 or higher, while those on the 3.7 branch must upgrade to 3.7.7 or higher. These patched releases correctly validate all TCP serversTransport references against the configured crossProviderNamespaces allowlist, halting the processing of unauthorized resources.
If upgrading immediately is not possible, administrators should actively review their static Traefik configurations. If the crossProviderNamespaces attribute is omitted or nil, Traefik defaults to a permissive configuration where all cross-provider boundaries are allowed. Ensuring this setting is defined and restricted to only administrative namespaces (e.g., kube-system or traefik-admin) is a vital step in reducing the exposure window.
To proactively audit existing environments for exploitation, security engineers can execute a target scan using kubectl. The following command extracts all IngressRouteTCP configurations across the cluster and filters for references to file-provider transports. The results can then be manually compared against the list of authorized namespaces:
kubectl get ingressroutetcp --all-namespaces -o json | jq '.items[] | select(.spec.routes[].services[].serversTransport | strings | contains("@file")) | {name: .metadata.name, namespace: .metadata.namespace, transport: .spec.routes[].services[].serversTransport}'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N| Product | Affected Versions | Fixed Version |
|---|---|---|
Traefik Traefik Labs | >= 3.6.0, <= 3.6.22 | 3.6.23 |
Traefik Traefik Labs | >= 3.7.0, <= 3.7.6 | 3.7.7 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-863 (Incorrect Authorization) |
| Attack Vector | Network (Remote) |
| CVSS v4.0 | 5.3 (Medium) |
| Impact Type | Subsequent System Integrity and Confidentiality (High) |
| Exploit Status | No public weaponized exploits or active exploitation reported |
| Mitre ATT&CK Technique | T1068 (Exploitation for Privilege Escalation) |
The software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly execute the check, allowing an attacker to bypass intended security policies.
An unauthenticated remote denial of service (DoS) vulnerability exists in Nuxt's server component ('island') rendering mechanism. Due to a deterministic signature generation scheme and missing input constraints on server-side v-for directive expansion, an attacker can trigger unconstrained memory allocations on the hosting Node.js server, leading to immediate process crash.
A security vulnerability in Electron's contextBridge allows untrusted renderer contexts to bypass context isolation. By passing an object with a crafted __proto__ property, an attacker can pollute the prototype chain of objects copied into the privileged preload context. This occurs because Electron's C++ property copying layer used standard V8 property assignment, which executes prototype setters. This bypasses Electron's context isolation security boundary, potentially enabling remote code execution (RCE) or privileges escalation. The vulnerability has been addressed in Electron versions 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.4.
A high-severity sandbox escape and arbitrary command execution vulnerability exists in the Electron desktop framework prior to versions 39.8.9, 40.9.2, 41.2.1, and 42.0.0-beta.3. The flaw lies in the handling of DevTools embedder messages during file manager reveal actions, allowing an attacker to execute arbitrary binaries with main process privileges.
Improper access control in Electron versions prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3 allowed sandboxed iframes to bypass sandbox restrictions and trigger external application protocols on the host operating system. The application's custom permission handler was also not provided with the frame's sandbox state, preventing effective validation of the request context.
An input validation vulnerability in the Electron desktop framework allows untrusted web content running in a renderer process to inject privileged configuration options when creating child windows via window.open. Under Windows environments, this allows attackers to pass a remote Universal Naming Convention (UNC) path to the window icon configuration parameter, forcing the host system to make an SMB connection to a remote listener and leak the current user's NetNTLM authentication hash.
Electron custom schemes registered with supportFetchAPI: true but without corsEnabled: true failed to apply CORS enforcement in versions prior to 39.8.10, 40.9.3, 41.4.0, and 42.0.0. This mapping discrepancy allowed malicious remote pages to issue cross-origin requests, read sensitive local response data, and bypass Same-Origin Policy (SOP) mechanisms.