CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-65602

CVE-2026-65602: IngressRouteTCP ServersTransport Namespace Bypass in Traefik

Alon Barad
Alon Barad
Software Engineer

Aug 5, 2026·7 min read·1 visit

Executive Summary (TL;DR)

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.

Vulnerability Overview

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.

Root Cause Analysis

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.

Code Analysis and Patch Deep Dive

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 Methodology

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@file

Once 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.

Impact Assessment

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.

Remediation and Detection

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}'

Official Patches

Traefik LabsFix commit restricting crossProviderNamespaces lookup on the TCP pathway.

Fix Analysis (2)

Technical Appendix

CVSS Score
5.3/ 10
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
EPSS Probability
0.16%
Top 94% most exploited

Affected Systems

Traefik reverse proxy deployments running within Kubernetes clusters using IngressRouteTCP CRDs.

Affected Versions Detail

Product
Affected Versions
Fixed Version
Traefik
Traefik Labs
>= 3.6.0, <= 3.6.223.6.23
Traefik
Traefik Labs
>= 3.7.0, <= 3.7.63.7.7
AttributeDetail
CWE IDCWE-863 (Incorrect Authorization)
Attack VectorNetwork (Remote)
CVSS v4.05.3 (Medium)
Impact TypeSubsequent System Integrity and Confidentiality (High)
Exploit StatusNo public weaponized exploits or active exploitation reported
Mitre ATT&CK TechniqueT1068 (Exploitation for Privilege Escalation)

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-863
Incorrect Authorization

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.

References & Sources

  • [1]GHSA-42cj-m3vj-89wv: Traefik IngressRouteTCP ServersTransport Namespace Bypass
  • [2]Official Fix Commit
  • [3]Official Preparation Commit
  • [4]Official Release Information (v3.6.23)
  • [5]Official Release Information (v3.7.7)
  • [6]VulnCheck Security Advisory

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 2 hours ago•CVE-2026-71314
7.5

CVE-2026-71314: Out-of-Memory Denial of Service via Unbounded v-for Expansion in Nuxt Server Islands

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.

Amit Schendel
Amit Schendel
3 views•6 min read
•about 3 hours ago•CVE-2026-70610
5.4

CVE-2026-70610: Context Isolation Bypass via Prototype Pollution in Electron contextBridge

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.

Amit Schendel
Amit Schendel
3 views•5 min read
•about 4 hours ago•CVE-2026-70611
6.9

CVE-2026-70611: Sandbox Escape and Command Execution via DevTools Shell Integration in Electron

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.

Alon Barad
Alon Barad
4 views•6 min read
•about 5 hours ago•CVE-2026-70612
5.4

CVE-2026-70612: Iframe Sandbox Escape and Host Protocol Launch in Electron

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.

Amit Schendel
Amit Schendel
4 views•6 min read
•about 6 hours ago•CVE-2026-70607
5.3

CVE-2026-70607: Privileged Option Injection in Electron window.open Features

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.

Alon Barad
Alon Barad
6 views•6 min read
•about 7 hours ago•CVE-2026-70604
7.4

CVE-2026-70604: Cross-Origin Resource Sharing (CORS) Bypass in Electron Custom Schemes

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.

Amit Schendel
Amit Schendel
5 views•6 min read