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.
Published: 2026-09-04
Score: 7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Traefik v3.7.1 allows a tenant that has only namespace‑level privileges to attach an operator‑owned middleware to a Service via the traefik.ingress.kubernetes.io/service.middlewares annotation. When that middleware injects backend credentials, the compromised tenant can retrieve those credentials from a controlled backend. The vulnerability effectively bypasses the intended crossProviderNamespaces restriction, enabling unauthorized credential access. Based on the description, the likely attack vector involves modifying a Service annotation to reference operator‑owned middleware, which then injects secrets that the tenant can recover.

Affected Systems

Affected systems are Traefik deployments using the Kubernetes Ingress provider. Only the version that contains the flaw is v3.7.1; later releases are presumed corrected. Customers running v3.7.1 or earlier that have not updated should verify their deployment version and upgrade accordingly.

Risk and Exploitability

The CVSS score of 7.0 classifies this flaw as moderate severity, but the absence of EPSS data and its absence from CISA’s KEV list suggest lower exploitation probability at present. However, the ability to manipulate Service annotations is a common configuration capability in Kubernetes, and the missing cross‑namespace check means attackers do not need elevated privileges beyond normal namespace permissions. In environments where operator‑owned middleware already exists, the risk is elevated, and the attacker can directly recover backend secrets. Therefore organizations should treat this as a significant risk, especially if internal RBAC is not constructed to limit Service annotation changes.

Generated by OpenCVE AI on September 4, 2026 at 12:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Traefik release that fixes the crossProviderNamespaces enforcement (e.g., v3.7.2 or newer).
  • If an immediate upgrade is not possible, restrict or disable the traefik.ingress.kubernetes.io/service.middlewares annotation in the Ingress provider configuration, or enforce stricter namespace restrictions on Service annotations.
  • Tighten RBAC permissions so that only trusted operators can modify Service annotations that reference middleware, preventing tenant‑level users from injecting middleware.

Generated by OpenCVE AI on September 4, 2026 at 12:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
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.
Title Traefik v3.7.1 crossProviderNamespaces Bypass via Service Middleware
First Time appeared Traefik
Traefik traefik
Weaknesses CWE-639
CPEs cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:*
Vendors & Products Traefik
Traefik traefik
References
Metrics cvssV4_0

{'score': 7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-04T11:29:58.771Z

Reserved: 2026-09-04T10:59:00.162Z

Link: CVE-2026-85594

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T12:17:22.830

Modified: 2026-09-04T12:17:22.830

Link: CVE-2026-85594

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T12:30:17Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key