CVE-2026-48595

HIGH

Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2026-48595. PoCs published by jenniferreire26, erickando33.

AI-analyzed exploit summary The repository claims to exploit CVE-2026-48595, an improper handling of case sensitivity in elixir-tesla's Tesla.Middleware.FollowRedirects, but lacks actual exploit code. Instead, it directs users to an external download link (tinyurl.com), which is a common tactic for distributing malware or fake exploits.

Description

Improper Handling of Case Sensitivity vulnerability in elixir-tesla tesla allows credential leakage to a third-party origin on cross-origin redirects. Tesla.Middleware.FollowRedirects strips security-sensitive headers on cross-origin redirects using a case-sensitive string comparison against a lowercase filter list (@filter_headers ["authorization", "host"]). HTTP header names are case-insensitive per RFC 7230, but Tesla preserves header keys verbatim as supplied by the caller without normalizing case. A header set as {"Authorization", "Bearer …"} (the RFC 7235 canonical casing used by virtually all HTTP libraries and documentation) does not match the lowercase filter entry and is forwarded to the redirect destination. An attacker who can control or influence a Location: response seen by the client (via their own endpoint, a redirect-open upstream, or a compromised origin) receives the bearer token or other Authorization material on the cross-origin request. This issue affects tesla: from 1.4.0 before 1.18.3.

Exploits (2)

github SUSPICIOUS
by jenniferreire26 · poc
https://github.com/jenniferreire26/CVE-2026-48595

The repository claims to exploit CVE-2026-48595, an improper handling of case sensitivity in elixir-tesla's Tesla.Middleware.FollowRedirects, but lacks actual exploit code. Instead, it directs users to an external download link (tinyurl.com), which is a common tactic for distributing malware or fake exploits.

Classification
Suspicious 90%
Attack Type
Info Leak
Complexity
Theoretical
Reliability
Theoretical
Target: elixir-tesla tesla (versions 1.4.0 to 1.18.3)
No auth needed
Prerequisites: ability to influence or control a Location: response header
devstral-2 · analyzed Jun 09, 2026 Full analysis →
github SUSPICIOUS
by erickando33 · poc
https://github.com/erickando33/CVE-2026-48595

The repository claims to exploit CVE-2026-48595, an improper handling of case sensitivity in elixir-tesla's Tesla.Middleware.FollowRedirects, but lacks actual exploit code. Instead, it directs users to an external download link, which is a common tactic for distributing malware or fake exploits.

Classification
Suspicious 90%
Attack Type
Info Leak
Complexity
Theoretical
Reliability
Theoretical
Target: elixir-tesla tesla (versions 1.4.0 to 1.18.3)
No auth needed
Prerequisites: ability to influence or control a Location: response seen by the client
devstral-2 · analyzed Jun 06, 2026 Full analysis →

Scores

CVSS v4 8.2
EPSS 0.0006
EPSS Percentile 17.9%
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/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

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-178
Status published
Products (2)
elixir-tesla/tesla 1.4.0 - 1.18.3
elixir-tesla/tesla 2d937d5813d7cda5cd726f41824985fb655c920f - db963dba67651b9abd1fc420a1d9679cf6efe182
Published Jun 02, 2026
Tracked Since Jun 03, 2026