All vulnerabilities

Servers and applications

CVE-2026-54764

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

Severity
Medium 6.9
Published
1 Jul 2026
Last changed
8 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.11.51, 3.6.22, 3.7.6
Exploit chance
0.3% in the next 30 daysHigher than 20% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Insufficient verification of data authenticity (CWE-345)
Attack
Over the network · No login needed · No user action needed
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-3q9r-p662-5j8m
Sources
NVD, Project advisories (GitHub)

Description

There is a medium severity vulnerability in Traefik's ForwardAuth middleware. Even when configured with trustForwardHeader: false, Traefik 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 auth service, bypassing port-based authorization checks. This is a regression of the incomplete fix for GHSA-6384-m2mw-rf54, which addressed the X-Forwarded-Proto and X-Forwarded-Prefix spoofing vectors but missed the X-Forwarded-Port vector.

The ForwardAuth middleware, even when configured with trustForwardHeader: false, still derives the X-Forwarded-Port header sent to the authentication service by reading the attacker-controlled X-Forwarded-Proto header from the original incoming request.

From traefik/traefik's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
TraefikServers and applications · cpe:a:traefik:traefik
  • Every version before 2.11.51
  • From 3.0.0 before 3.6.22
  • From 3.7.0 before 3.7.6
TraefikServers and applications · github:traefik/traefik
  • Every version up to 1.7.34
  • Every version before 2.11.51
  • From 3.0.0 before 3.6.22
  • From 3.7.0 before 3.7.6

About Traefik

HTTP reverse proxy and load balancer

From Wikidata, CC0 1.0.
Docker Hub pulls
3,604,536,669Docker Hub, 15 Nov 2026
GitHub stars
65,551GitHub, 15 Nov 2026
Forks
6,312GitHub, 15 Nov 2026
Latest release
v3.7.19GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
Expat licenseWikidata
Written in
GoWikidata
First published on GitHub
13 Sept 2015GitHub

Release lines

ReleaseLatestSecurity fixes
3.73.7.19Yes
3.63.6.25Ended 16 Aug 2026
3.53.5.6Ended 7 Nov 2025
3.43.4.5Ended 23 Jul 2025
3.33.3.7Ended 5 May 2025
3.23.2.5Ended 6 Jan 2025

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-54764
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-54764
  • GitHub Advisory Database https://github.com/advisories/GHSA-3q9r-p662-5j8m
  • github.com https://github.com/traefik/traefik/security/advisories/GHSA-3q9r-p662-5j8m