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

CVE-2026-54765: Traefik: Gateway HTTPRoute backendRef filters can leak backend context across routes sharing a Service:port

August 6, 2026

There is a medium severity vulnerability in Traefik’s Kubernetes Gateway API provider. When two accepted HTTPRoutes target the same backend Service:port but configure different backendRef filters, Traefik may resolve both routes 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.

Traefik’s Kubernetes Gateway API provider builds the dynamic HTTP backend service key for a Gateway HTTPRoute backendRef from only the backend namespace, Service name, protocol, and port. It does not include the HTTPRoute, listener, rule, or backendRef filter identity in that key.

When two accepted HTTPRoutes point to the same backend Service:port but define different backendRef filters, Traefik can make both route WRR services reference the same child service. The child service then carries only one backendRef filter set, so one route can send requests to the backend with another route’s backend context.

This is security-relevant when backendRef filters set, remove, or rewrite security-sensitive context, such as tenant, identity, auth, sanitization, Host, or path headers trusted by the backend.

Credit: Qican Ma, Ding Luo @XiaoMi ShadowBlade Security Lab

References

  • github.com/advisories/GHSA-6p8f-p8j2-rqmv
  • github.com/traefik/traefik/commit/8aada7a7d52e4588a75386d8b86d270f6fe8d549
  • github.com/traefik/traefik/pull/13367
  • github.com/traefik/traefik/releases/tag/v3.7.6
  • github.com/traefik/traefik/security/advisories/GHSA-6p8f-p8j2-rqmv
  • nvd.nist.gov/vuln/detail/CVE-2026-54765

Code Behaviors & Features

Detect and mitigate CVE-2026-54765 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.7.0 before 3.7.6

Fixed versions

  • 3.7.6

Solution

Upgrade to version 3.7.6 or above.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-863: Incorrect Authorization

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 15 Sep 2026 00:21:15 +0000.