Skip to main content
← All vulnerabilities
CVE-2026-54764GHSA-3Q9R-P662-5J8MGO-2026-6202

ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.11.51, 3.6.22, 3.7.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

Traefik is an HTTP reverse proxy and load balancer. Prior to v2.11.51, v3.6.22, and v3.7.6, Traefik's ForwardAuth middleware, even when configured with trustForwardHeader: false, derives the X-Forwarded-Port header sent to the authentication service from the original incoming request instead of the sanitized forwarded request. As a result, an unauthenticated remote attacker can inject an X-Forwarded-Proto: https header over a plain HTTP connection and cause Traefik to forward X-Forwarded-Port: 443 to the authentication service, bypassing port-based authorization checks. This issue is fixed in versions v2.11.51, v3.6.22, and v3.7.6.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • traefik traefik

    fixed in 2.11.51; From 3.0.0 · fixed in 3.6.22; From 3.7.0 · fixed in 3.7.6

  • github.com/traefik/traefik/v2Go

    fixed in 2.11.51

  • github.com/traefik/traefik/v3Go

    fixed in 3.6.22

  • github.com/traefik/traefik/v3Go

    From 3.7.0 · fixed in 3.7.6

  • github.com/traefik/traefikGo

    through 1.7.34

  • github.com/traefik/traefikGo

    All versions

  • github.com/traefik/traefik/v3Go

    fixed in 3.6.22; From 3.7.0 · fixed in 3.7.6

References 3

GitHub · traefik/traefik