HIGH 8.5

CVE-2026-54765: Traefik Gateway API Filter Isolation Bypass – Privilege Escalation Risk

Traefik versions 3.7.0 through 3.7.5 contain a filter application bug in the Kubernetes Gateway API provider that can cause requests intended for one HTTPRoute to be processed using a different route's security filters. An attacker with the ability to create HTTPRoutes in a Kubernetes cluster can exploit this to apply their own filter rules (such as injected headers) to legitimate traffic, potentially escalating privileges or accessing data they shouldn't see. The vulnerability requires existing cluster access but can cross namespace boundaries if ReferenceGrants permit it.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
Weaknesses (CWE)
CWE-284, CWE-863
Affected products
1 configuration(s)
Published / Modified
2026-07-06 / 2026-07-08

NVD description (verbatim)

Traefik is an open source HTTP reverse proxy and load balancer. From v3.7.0 prior to v3.7.6, Traefik's Kubernetes Gateway API provider may resolve two accepted HTTPRoutes that target the same backend Service:port but configure different backendRef filters to the same child service and apply only one route's filter set to all requests reaching that backend. In Gateway deployments where backendRef filters set security-sensitive headers, such as tenant identity, authorization context, or values the backend trusts, an attacker who can create an accepted HTTPRoute sharing the same backend Service:port may cause their route's filter context to be applied to another route's requests, potentially crossing namespace boundaries when a ReferenceGrant permits cross-namespace targeting. This issue is fixed in version v3.7.6.

4 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability stems from improper filter context isolation when the Gateway API provider resolves multiple HTTPRoutes that share the same backend Service:port but differ in their backendRef filter configurations. The implementation applies only one filter set to all matching requests, creating a collision where a lower-priority or attacker-controlled route's filters override or replace the intended filters. This occurs within the Kubernetes control plane context, where namespace isolation can be breached if cross-namespace ReferenceGrants are configured. The issue affects CWE-284 (Improper Access Control) and CWE-863 (Incorrect Authorization), allowing security headers and context to leak across route boundaries.

Business impact

Organizations running Traefik 3.7.0–3.7.5 as a Kubernetes ingress or gateway controller face significant risk if multi-tenant or security-sensitive routing policies depend on per-route filter isolation. An insider or compromised pod with create privileges on HTTPRoutes could inject malicious filters that apply to other tenants' traffic, potentially exposing authorization tokens, user identity headers, or tenant context to unauthorized parties. In regulated environments, this could violate data residency, compliance, or segregation requirements. The impact is amplified in shared Kubernetes clusters where untrusted workloads coexist.

Affected systems

Traefik versions 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.7.4, and 3.7.5 are affected when deployed as a Kubernetes Gateway API provider. Version 3.7.6 and later contain the fix. Users on earlier v3.x or v2.x series are not affected by this specific issue. The vulnerability is only exposed in Kubernetes environments using the Gateway API (not legacy Ingress resources). Non-Kubernetes deployments of Traefik are unaffected.

Exploitability

Exploitation requires PR:L (Privilege Level: Low)—the attacker must have authenticated Kubernetes API access with permissions to create or modify HTTPRoute resources. They do not require code execution or network-level manipulation. Once an HTTPRoute is accepted by the controller, the filter collision occurs automatically without user interaction (UI:N). The attack is deterministic and can be triggered repeatedly. The low barrier to entry for cluster-internal attackers or pod operators with API permissions makes this a moderate-to-high practical risk in environments with permissive RBAC policies.

Remediation

Upgrade Traefik to version 3.7.6 or later. Organizations unable to upgrade immediately should audit RBAC policies to restrict HTTPRoute creation and modification to trusted administrators, implement network policies to isolate Traefik control plane traffic, and review existing HTTPRoute configurations for multi-tenant deployments. If cross-namespace ReferenceGrants are in use, evaluate whether they can be narrowed or removed pending patching.

Patch guidance

Apply Traefik v3.7.6 or a later v3.7.x or v3.x release. Verify the fix by reviewing the release notes for the filter isolation correction. Test in a non-production Kubernetes environment to confirm HTTPRoute filter contexts remain isolated after upgrade. Monitor for any custom or third-party Gateway API providers in use alongside Traefik; validate their filter handling independently.

Detection guidance

Monitor Kubernetes audit logs for repeated HTTPRoute creation or modification events by non-admin service accounts or users. Check for requests to backend Services where the Authorization, X-Tenant-ID, or other security-sensitive headers differ unexpectedly between routes targeting the same Service:port. Review Gateway API provider logs for warnings or errors related to filter conflicts. Implement admission controllers or network policies to flag or block HTTPRoute resources with overlapping backend targets but differing filters.

Why prioritize this

CVSS 8.5 (HIGH) combined with the vulnerability's ability to cross namespace boundaries, impact on authorization/identity headers, and the low barrier to exploitation for cluster-internal actors makes this a priority fix. The vulnerability directly undermines Kubernetes multi-tenancy and security isolation assumptions. Organizations with shared clusters or untrusted workloads should prioritize patching within 30 days.

Risk score, explained

The score reflects network accessibility within the cluster (AV:N), low attack complexity (AC:L), and the requirement for low privilege (PR:L). The scope change (S:C) indicates potential impact beyond the Traefik component (affecting backend services and tenants). Confidentiality is rated Low (C:L) because header leakage is typically partial; Integrity is High (I:H) because attackers can inject or override security-sensitive context; Availability is None (A:N) as the vulnerability does not degrade service.

Frequently asked questions

Do I need to patch if I use Traefik with Kubernetes Ingress instead of Gateway API?

No. This vulnerability is specific to the Kubernetes Gateway API provider introduced in recent v3.7.x versions. Traditional Ingress deployments are not affected. Verify your Traefik configuration to confirm which provider you are using.

Can this be exploited if I only allow trusted administrators to create HTTPRoutes?

If RBAC strictly limits HTTPRoute creation to a trusted admin group with no service account access, the practical risk is much lower. However, the vulnerability still exists and could be exploited by a compromised admin account or insider. Upgrading remains the recommended approach.

Does this vulnerability affect Traefik running outside Kubernetes?

No. The vulnerability is specific to the Traefik Kubernetes Gateway API provider. Standalone Traefik deployments using file-based or dynamic configuration are not impacted by this issue.

What should I do if I cannot upgrade immediately?

Restrict RBAC permissions for HTTPRoute creation to administrators only, audit existing HTTPRoute configurations for overlapping backend targets with different filters, implement network policies to isolate Traefik components, and review any ReferenceGrants that permit cross-namespace targeting. Plan an upgrade to v3.7.6 or later within 30 days.

This analysis is provided for informational purposes and reflects information available as of the publication date. CVSS scores and KEV status are sourced from official vulnerability databases and are subject to change. Organizations should verify patch version numbers and compatibility with their specific deployments against the vendor advisory before applying updates. SEC.co does not provide legal advice and recommends consulting your security team and legal counsel regarding compliance obligations. No exploit code or weaponized proof-of-concept is provided or endorsed. Source: NVD (public-domain), retrieved 2026-08-15. Analysis generated by SEC.co (claude-haiku-4-5).