<?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>Http-Client - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/http-client/</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>Fri, 10 Jul 2026 00:07:45 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/http-client/feed.xml" rel="self" type="application/rss+xml"/><item><title>Tesla Elixir HTTP Client Header Leak via Case-Sensitive Redirect Filtering (CVE-2026-48595)</title><link>https://feed.craftedsignal.io/briefs/2026-07-tesla-header-leak/</link><pubDate>Fri, 10 Jul 2026 00:07:45 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-tesla-header-leak/</guid><description>A vulnerability in the `Tesla.Middleware.FollowRedirects` component of the `tesla` Elixir HTTP client library allows `Authorization` headers to be leaked during cross-origin redirects due to a case-sensitive comparison, enabling an attacker controlling a redirect destination to receive bearer tokens or other credentials from applications using `tesla` versions 0.6.0 through 1.18.2.</description><content:encoded><![CDATA[<p>A high-severity vulnerability, CVE-2026-48595, has been identified in the <code>tesla</code> Elixir HTTP client library, specifically within its <code>Tesla.Middleware.FollowRedirects</code> component. This flaw impacts versions 0.6.0 up to, but not including, 1.18.3. The middleware is designed to strip sensitive <code>Authorization</code> headers when following cross-origin redirects to prevent credential leakage. However, its internal filter performs a case-sensitive comparison against a lowercase string <code>&quot;authorization&quot;</code>. Because <code>tesla</code> preserves header keys exactly as supplied, applications using the RFC 7235 canonical casing (<code>&quot;Authorization&quot;</code>) bypass this filter entirely. Consequently, if an application sends a request with an <code>Authorization</code> header using canonical casing and is redirected to an attacker-controlled origin, sensitive credentials like bearer tokens can be inadvertently leaked to the attacker. This poses a significant risk to applications relying on <code>tesla</code> for secure HTTP communications.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker establishes control over a web server or service capable of issuing HTTP <code>302</code> redirects to an arbitrary, attacker-controlled domain (e.g., a malicious server, a redirect-open service, or a compromised upstream server).</li>
<li>A victim application, using the <code>tesla</code> Elixir HTTP client library (version 0.6.0 through 1.18.2) with <code>Tesla.Middleware.FollowRedirects</code> enabled, constructs an outbound HTTP request.</li>
<li>The victim application includes an <code>Authorization</code> header with canonical casing (e.g., <code>{&quot;Authorization&quot;, &quot;Bearer &lt;token&gt;&quot;}</code>) for authentication in its request.</li>
<li>The victim application sends its request to an endpoint, which the attacker can influence to issue an HTTP <code>302</code> (or similar redirect status code) pointing to the attacker-controlled domain.</li>
<li>The <code>Tesla.Middleware.FollowRedirects</code> component within the victim application attempts to filter sensitive headers before automatically following the redirect.</li>
<li>Due to a case-sensitive comparison logic (<code>&quot;authorization&quot;</code> vs. <code>&quot;Authorization&quot;</code>), the middleware fails to identify and strip the canonical <code>Authorization</code> header from the outgoing request.</li>
<li>The <code>tesla</code> client follows the redirect and inadvertently includes the sensitive <code>Authorization</code> header, complete with its bearer token or other credentials, in the request to the attacker-controlled domain, leading to credential theft.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The vulnerability carries a high severity (CVSS v4.0: 8.2). Any application utilizing <code>tesla</code> versions 0.6.0 through 1.18.2 with <code>Tesla.Middleware.FollowRedirects</code> and supplying non-lowercase <code>Authorization</code> headers is at risk. Successful exploitation results in the leakage of sensitive credentials, such as bearer tokens, to an attacker-controlled endpoint. This can lead to unauthorized access to systems or data, session hijacking, and further compromise of the victim's environment, directly impacting the confidentiality and integrity of affected applications and their users.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Prioritize upgrading the <code>tesla</code> Elixir HTTP client library to version 1.18.3 or later immediately to remediate CVE-2026-48595.</li>
<li>If immediate patching is not possible, implement the recommended workaround by normalizing all <code>Authorization</code> header keys to lowercase (e.g., <code>&quot;authorization&quot;</code>) before passing them to <code>tesla</code> via <code>Tesla.put_header/3</code> or <code>Tesla.Middleware.Headers</code>.</li>
<li>Review application code for the usage of <code>Tesla.Middleware.FollowRedirects</code> and how <code>Authorization</code> headers are set to identify potentially vulnerable instances.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>credential-access</category><category>exfiltration</category><category>vulnerability</category><category>elixir</category><category>http-client</category></item></channel></rss>