<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Cpe:2.3:a:traefik:traefik:3.7.0:rc1:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3atraefiktraefik3.7.0rc1/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sat, 25 Apr 2026 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3atraefiktraefik3.7.0rc1/feed.xml" rel="self" type="application/rss+xml"/><item><title>Traefik ForwardAuth Authentication Bypass via Header Spoofing</title><link>https://feed.craftedsignal.io/briefs/2026-04-traefik-auth-bypass/</link><pubDate>Sat, 25 Apr 2026 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-04-traefik-auth-bypass/</guid><description>Traefik's `ForwardAuth` and snippet-based authentication middleware has a high severity authentication bypass vulnerability because it does not sanitize header aliases with underscores, allowing attackers to spoof trust context and bypass authentication on protected routes.</description><content:encoded><![CDATA[<p>A high severity authentication bypass vulnerability exists in Traefik versions before 2.11.43, 3.6.14, and 3.7.0-rc.2, affecting the <code>ForwardAuth</code> middleware and snippet-based authentication. The vulnerability stems from incomplete sanitization of forwarded headers. Traefik's logic only targets canonical header names like <code>X-Forwarded-Proto</code>, failing to strip or normalize alias variants that use underscores instead of dashes (e.g., <code>X_Forwarded_Proto</code>). This allows attackers to inject spoofed trust context, such as a trusted scheme or host, through the alias headers. If the authentication backend normalizes underscore and dash header forms equivalently, an attacker can bypass authentication on protected routes without valid credentials. This impacts deployments where authorization decisions rely on forwarded headers.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker identifies a Traefik instance using <code>ForwardAuth</code> or snippet-based authentication.</li>
<li>The attacker discovers that the authentication backend normalizes header names, treating <code>X_Forwarded_Proto</code> and <code>X-Forwarded-Proto</code> as equivalent.</li>
<li>The attacker crafts an HTTP request with alias headers, such as <code>X_Forwarded_Proto: https</code> and <code>X_Forwarded_Host: trusted.example</code>.</li>
<li>Traefik receives the request and forwards it to the authentication backend without sanitizing the alias headers.</li>
<li>The authentication backend processes the request and normalizes the header names.</li>
<li>The authentication backend evaluates trust predicates based on the spoofed values in the alias headers.</li>
<li>The authentication backend incorrectly determines that the request is authenticated based on the spoofed trust context.</li>
<li>Traefik grants the attacker access to the protected resource, bypassing authentication.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>This vulnerability allows unauthenticated attackers to bypass authentication and access protected endpoints. In deployments where authorization decisions depend on forwarded headers, attackers can interact with backend services as if they were fully authenticated. This can expose sensitive internal functionality and data, potentially leading to data breaches or unauthorized access to critical systems. Successful exploitation undermines the security provided by <code>ForwardAuth</code> and similar authentication mechanisms.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Traefik to version 2.11.43, 3.6.14, or 3.7.0-rc.2 or later to address the vulnerability.</li>
<li>Implement a unified normalization policy across all forwarded header families, including RFC7239 and <code>X-Forwarded-*</code> to remediate the root cause.</li>
<li>Deploy the Sigma rule <code>Detect Traefik ForwardAuth Bypass Attempt</code> to identify exploitation attempts based on the presence of unusual <code>X_Forwarded_*</code> headers.</li>
<li>Restrict the headers forwarded to authentication services using an explicit allowlist to minimize the attack surface.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>authentication-bypass</category><category>header-injection</category><category>forwarded-headers</category><category>traefik</category></item></channel></rss>