CVE-2026-54764: ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false

Published Jul 6, 2026
·
Updated

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.

Affected Software

5 affected components
Traefik traefik<2.11.51, >2.11.51<=2.11.51
Traefik Traefik v3<3.6.22, <3.7.6
Traefik traefik<2.11.51
Traefik traefik>=3.0.0<3.6.22
Traefik traefik>=3.7.0<3.7.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Traefik to a version that resolves this vulnerability.

    Fixed in v2.11.51
  2. Upgrade

    Upgrade Traefik to a version that resolves this vulnerability.

    Fixed in v3.6.22
  3. Upgrade

    Upgrade Traefik to a version that resolves this vulnerability.

    Fixed in v3.7.6

Event History

Jul 6, 2026
CVE Published
via MITRE·08:20 PM
Data Sourced
via MITRE·08:20 PM
DescriptionWeakness
Data Sourced
via NVD·09:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-54764?

The severity of CVE-2026-54764 is rated at 62.

2

How do I fix CVE-2026-54764?

To fix CVE-2026-54764, upgrade Traefik to versions v2.11.51, v3.6.22, or v3.7.6 or higher.

3

What vulnerability does CVE-2026-54764 expose in Traefik's ForwardAuth middleware?

CVE-2026-54764 exposes a spoofing risk due to the leakage of the X-Forwarded-Port header when trustForwardHeader is set to false.

4

Which versions of Traefik are affected by CVE-2026-54764?

CVE-2026-54764 affects Traefik versions prior to v2.11.51, v3.6.22, and v3.7.6.

5

What is the primary risk associated with CVE-2026-54764?

The primary risk associated with CVE-2026-54764 is the potential for untrusted sources to manipulate the X-Forwarded-Port header.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203