Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/traefik/traefik/v3
  4. ›
  5. CVE-2026-41174

CVE-2026-41174: Traefik Kubernetes CRD allows unauthorized cross-namespace middleware binding

April 24, 2026 (updated May 6, 2026)

There is a vulnerability in Traefik’s Kubernetes CRD provider cross-namespace isolation enforcement.

When providers.kubernetesCRD.allowCrossNamespace=false, Traefik correctly rejects direct cross-namespace middleware references from IngressRoute objects, but fails to apply the same restriction to middleware references nested inside a Chain middleware’s spec.chain.middlewares[]. An actor with permission to create or update Traefik CRDs in their own namespace can exploit this to cause Traefik to resolve and apply middleware objects from another namespace, bypassing the documented isolation boundary.

When providers.kubernetesCRD.allowCrossNamespace=false, Traefik still allows a namespace-local Middleware of type Chain to reference middleware objects from another namespace via spec.chain.middlewares[].namespace.

This bypasses the documented cross-namespace restriction and allows an actor with permission to create or update Traefik CRDs in namespace A to bind middleware defined in namespace B to routes in namespace A.

References

  • github.com/advisories/GHSA-xhjw-95fp-8vgq
  • github.com/traefik/traefik/commit/df00d82fc7f12e07199551832b54de6d0e55414d
  • github.com/traefik/traefik/releases/tag/v2.11.43
  • github.com/traefik/traefik/releases/tag/v3.6.14
  • github.com/traefik/traefik/releases/tag/v3.7.0-rc.2
  • github.com/traefik/traefik/security/advisories/GHSA-xhjw-95fp-8vgq
  • nvd.nist.gov/vuln/detail/CVE-2026-41174

Code Behaviors & Features

Detect and mitigate CVE-2026-41174 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0-beta1 before 3.6.14, all versions starting from 3.7.0-ea.1 before 3.7.0-rc.2

Fixed versions

  • 3.6.14
  • 3.7.0-rc.2

Solution

Upgrade to versions 3.6.14, 3.7.0-rc.2 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-653: Improper Isolation or Compartmentalization
  • CWE-863: Incorrect Authorization

Source file

go/github.com/traefik/traefik/v3/CVE-2026-41174.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 15 May 2026 12:19:59 +0000.