CVE-2026-41174·Traefik vulnerability
Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a potential 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. This issue has been patched in versions 2.11.43, 3.6.14, and 3.7.0-rc.2.
- Severity
- medium
- Software
- Traefik
- Fixed in
- 3.6.14
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.28% — higher than 19% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 3.0.0
Until: 3.6.14
Fixed in: 3.6.14
How to fix this CVE
Upgrade Traefik to version 3.6.14 or later to patch the cross-namespace middleware isolation bypass. Organizations using Kubernetes CRD providers with allowCrossNamespace=false should prioritize this update, as it closes a privilege escalation path where namespaced actors could invoke middleware from restricted namespaces. Verify that Chain middleware configurations no longer reference cross-namespace middleware after patching.
sudo dnf update traefikDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed Traefik version with: traefik version or docker exec <container> traefik version
- Step 2: Query your Kubernetes cluster for IngressRoute and Chain CRD objects: kubectl get ingressroute -A and kubectl get chain -A
- Step 3: Inspect Chain middleware specs for cross-namespace references: kubectl get chain -A -o json | jq '.items[].spec.chain.middlewares[] | select(.namespace != null)'
- Step 4: Review Traefik startup logs for warning messages about cross-namespace middleware resolution: grep -i 'cross.*namespace\|middleware.*denied' /var/log/traefik/traefik.log
FAQ
What is CVE-2026-41174?
This vulnerability affects Traefik's Kubernetes CRD provider, where the allowCrossNamespace=false setting was not properly enforced for middleware references nested within Chain middleware objects, allowing namespace isolation to be bypassed.
Is CVE-2026-41174 being actively exploited?
No, this CVE is not currently listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are available.
What versions of Traefik are affected by CVE-2026-41174?
Traefik versions 3.0.0 through 3.6.13 are vulnerable. Version 2.x users are affected if running 2.11.42 or earlier, and version 3.7.0-rc.1 users are also affected.
How do I check if my server is vulnerable to CVE-2026-41174?
Run 'traefik version' and verify the version is 3.6.14 or later. If using Kubernetes, also confirm allowCrossNamespace is set to false in your static configuration and audit existing Chain middleware objects for cross-namespace middleware references.
Does Defensia detect CVE-2026-41174?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Traefik is installed on a monitored server, CVE-2026-41174 will appear in your dashboard with remediation steps.
Related Traefik CVEs
References
- https://github.com/traefik/traefik/commit/df00d82fc7f12e07199551832b54de6d0e55414d
- https://github.com/traefik/traefik/releases/tag/v2.11.43
- https://github.com/traefik/traefik/releases/tag/v3.6.14
- https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2
- https://github.com/traefik/traefik/security/advisories/GHSA-xhjw-95fp-8vgq
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-41174. Free for 1 server.
Get started free