Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
traefik traefik
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Traefik是Traefik公司开源的一款反向代理与负载均衡工具。 Traefik 2.11.51之前版本、3.6.22之前版本和3.7.6之前版本存在输入验证错误漏洞,该漏洞源于ForwardAuth middleware从原始请求而不是清理后的转发请求中获取X-Forwarded-Port标头,导致未经身份验证的远程攻击者可以通过纯HTTP连接注入X-Forwarded-Proto: https标头,使Traefik向认证服务转发X-Forwarded-Port: 443,绕过基于端口的授权检查。

AI Predicted 7.5 Difficulty: Easy EPSS 0.28% · P19

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 3

VendorProduct Version RangeStatus
traefik traefik < 2.11.51 affected
>= 3.0.0, < 3.6.22 affected
>= 3.7.0, < 3.7.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54764

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对数据真实性的验证不充分
Source: CVE Program / CVE List V5
Vulnerability Title
Traefik 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Traefik是Traefik公司开源的一款反向代理与负载均衡工具。 Traefik 2.11.51之前版本、3.6.22之前版本和3.7.6之前版本存在输入验证错误漏洞,该漏洞源于ForwardAuth middleware从原始请求而不是清理后的转发请求中获取X-Forwarded-Port标头,导致未经身份验证的远程攻击者可以通过纯HTTP连接注入X-Forwarded-Proto: https标头,使Traefik向认证服务转发X-Forwarded-Port: 443,绕过基于端口的授权检查。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
traefik traefik < 2.11.51 -

II. Public POCs for CVE-2026-54764

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54764

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-54764 (2)

Vendor Advisories for CVE-2026-54764 (1)

Same Patch Batch · traefik · 2026-07-06 · 3 CVEs total

CVE-2026-54763 Traefik: headerField underscore-variant identity spoofing in BasicAuth / DigestAuth / Forw
CVE-2026-54765 Traefik: Gateway HTTPRoute backendRef filters can leak backend context across routes shari

IV. Related Vulnerabilities

V. Comments for CVE-2026-54764

No comments yet


Leave a comment