ZeroHour

CVE-2026-85594

large

Cross-namespace middleware access-control bypass in Traefik Kubernetes Ingress

CVSS 4.0
7.0 high
EPSS
<1%p12
Published
()
Modified
AI analysis

Traefik v3.7.1 and later fail to enforce crossProviderNamespaces allowlist restrictions when processing the traefik.ingress.kubernetes.io/service.middlewares annotation on Services in the Kubernetes Ingress provider. In a multi-tenant cluster, a tenant whose namespace is excluded from the allowlist can still attach an operator-owned middleware defined in another namespace to its own Service. If that middleware injects backend credentials (for example auth headers or tokens), the tenant can recover those credentials at a backend it controls, potentially exposing credentials that grant access to other resources in the cluster. Only Traefik v3.7.1+ deployments using the Kubernetes Ingress provider in multi-tenant configurations with cross-namespace middleware allowlists are affected. No public proof-of-concept, in-the-wild exploitation, or KEV listing is known, and EPSS assigns a low ~0.2% probability of exploitation within 30 days.

What to do: Upgrade Traefik to a release that enforces crossProviderNamespaces for the service.middlewares annotation (check the vendor advisory for the patched version, as none is specified here). In the meantime, audit tenant Services for the traefik.ingress.kubernetes.io/service.middlewares annotation referencing middlewares outside the tenant's namespace, and rotate any credentials injected by operator-owned middlewares that tenants could have captured via their own backends.

Affected
Traefik Labs Traefik Proxy (Kubernetes Ingress provider)v3.7.1 and later (fixed version not specified in the provided data)
Estimated exposure
large≈ tens of thousands of Traefik v3.7.1+ Kubernetes deployments (subset of the hundreds of thousands of internet-exposed Traefik instances visible in public… — Traefik is one of the most widely deployed Kubernetes ingress controllers, with public internet scans showing on the order of hundreds of thousands of Traefik instances, and the affected subset (v3.7.1+ with multi-tenant cross-namespace…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Traefik versions from v3.7.1 fail to enforce crossProviderNamespaces restrictions on the traefik.ingress.kubernetes.io/service.middlewares Service annotation in the Kubernetes Ingress provider. A namespace-limited tenant excluded from the allowlist can attach an operator-owned middleware to its Service, and if that middleware injects backend credentials, recover them at a controlled backend.

Weakness
CWE-639
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.