Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-65602 — traefik

🟠 CVSS 8.8 — High ✅ No Known Exploit NVD
8.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Traefik CRD IngressRouteTCP ServersTransport Cross-Provider Namespace Bypass

Summary

There is a medium-severity cross-provider reference vulnerability in Traefik's Kubernetes CRD provider. The crossProviderNamespaces allowlist is enforced for HTTP serversTransport references but was not enforced for IngressRouteTCP service serversTransport references. A low-privileged Kubernetes user in a namespace that is not listed in crossProviderNamespaces could set serversTransport: foo@file on an IngressRouteTCP service, causing Traefik to accept the forbidden cross-provider reference and use the file-provider TCPServersTransport — including privileged backend mTLS client certificates, SPIFFE identity, or PROXY-protocol settings. The fix applies the crossProviderNamespaces allowlist to TCP serversTransport references.

Patches

  • https://github.com/traefik/traefik/releases/tag/v3.6.23
  • https://github.com/traefik/traefik/releases/tag/v3.7.7

For more information

If you have any questions or comments about this advisory, please [open an issue](https://github.com/traefik/traefik/issues).

<details>

<summary>Original Description</summary>

Summary

Traefik's Kubernetes CRD provider enforces crossProviderNamespaces for several

cross-provider references, but IngressRouteTCP service

serversTransport references skip that allowlist. A low-privileged Kubernetes

user in a namespace that is not listed in crossProviderNamespaces can still

set serversTransport: foo@file on an IngressRouteTCP service. Traefik

accepts the forbidden cross-provider reference and later uses the referenced

TCPServersTransport, including privileged backend mTLS client certificates,

SPIFFE identity, or PROXY protocol settings.

Description

crossProviderNamespaces is documented and implemented as an allowlist for

namespaces that may declare cross-provider references from Kubernetes CRD

objects. HTTP serversTransport references enforce that allowlist. TCP

serversTransport references do not.

An attacker with low Kubernetes privileges in namespace default can create an

IngressRouteTCP service with:

```yaml

serversTransport: foo@file

```

Even when the provider is configured with:

```yaml

crossProviderNamespaces:

  • operator-only

```

Traefik still emits a TCP dynamic service whose load balancer points to

foo@file. At runtime, DialerManager.Build() uses the exact referenced

transport name and applies that transport's TLS client certificates and related

backend-connection settings.

Impact

The PoC demonstrates two positive facts:

1. A namespace outside crossProviderNamespaces can cause Traefik to accept and

store LoadBalancer.ServersTransport = "foo@file" from an

IngressRouteTCP service.

2. A qualified foo@file TCPServersTransport with a client certificate is

actually consumed by the TCP dialer and presented to an mTLS backend.

This proves a backend identity relay primitive: a lower-privileged CRD author

can make Traefik connect to a backend using an operator-defined cross-provider

transport identity that the namespace should not be allowed to reference.

Proof Of Concept

Files

  • run.sh: portable runner.
  • poc_crd_test.go: positive CRD provider proof.
  • with_servers_transport_cross_provider_poc.yml: minimal

IngressRouteTCP fixture.

  • poc_tcp_mtls_test.go: positive runtime mTLS identity-use proof.

<details>

<summary>run.sh</summary>

```bash

#!/usr/bin/env sh

set -eu

TARGET_REF="${TARGET_REF:-v3.7.5}"

REPO_URL="${REPO_URL:-https://github.com/traefik/traefik.git}"

SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"

WORKDIR="${WORKDIR:-$(mktemp -d "${TMPDIR:-/tmp}/traefik-tcp-st-poc.XXXXXX")}"

if [ "${KEEP_WORKDIR:-0}" != "1" ]; then

trap 'rm -rf "$WORKDIR"' EXIT INT TERM

fi

echo "[*] target_ref=$TARGET_REF"

echo "[*] workdir=$WORKDIR"

if [ -n "${TRAEFIK_SRC:-}" ]; then

echo "[*] cloning from local source: $TRAEFIK_SRC"

git clone -q "$TRAEFIK_SRC" "$WORKDIR/traefik"

cd "$WORKDIR/traefik"

git -c advice.detachedHead=false checkout -q "$TARGET_REF"

else

echo "[*] cloning from remote: $REPO_URL"

git -c advice.detachedHead=false clone -q --depth 1 --branch "$TARGET_REF" "$REPO_URL" "$WORKDIR/traefik"

cd "$WORKDIR/traefik"

fi

mkdir -p pkg/provider/kubernetes/crd/fixtures/tcp

cp "$SCRIPT_DIR/poc_crd_test.go" \

pkg/provider/kubernetes/crd/tcp_serverstransport_cross_provider_poc_test.go

cp "$SCRIPT_DIR/with_servers_transport_cross_provider_poc.yml" \

pkg/provider/kubernetes/crd/fixtures/tcp/with_servers_transport_cross_provider_poc.yml

cp "$SCRIPT_DIR/poc_tcp_mtls_test.go" \

pkg/tcp/dialer_cross_provider_identity_poc_test.go

echo "[*] running CRD provider policy-bypass PoC"

go test ./pkg/provider/kubernetes/crd \

-run '^TestPoCTCPServersTransportCrossProviderNamespacesBypass$' \

-count=1 -v

echo "[*] running TCPServersTransport mTLS identity-use PoC"

go test ./pkg/tcp \

-run '^TestPoCQualifiedTCPServersTransportPresentsFileMTLS

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

CVE-2026-65602 is recorded against 4 packages.

  • github.com/traefik/traefik
  • github.com/traefik/traefik/v2
  • github.com/traefik/traefik/v3
  • traefik (from 3.7.0 up to 3.7.7)

Timeline and source

Published on 18 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Advisory)
nvd.nist.gov (Advisory)
github.com (Fix)
github.com (Fix)
github.com (Web)
github.com (Web)
www.vulncheck.com (Web)

Other advisories for this package

github.com/traefik/traefik has other advisories on record. If you are patching this one, these are worth checking on the same host:

Details

Severity High
CVSS Score 8.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2026-08-18
Updated 2026-08-20
Modified 2026-08-18

Affected Packages

Software From version Fixed in
github.com/traefik/traefik
github.com/traefik/traefik/v2
github.com/traefik/traefik/v3
traefik 3.7.0 3.7.7

Similar Threats

Site Security Check

Is traefik part of your stack?

CVE-2026-65602 is rated CVSS 8.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026