CVE-2026-48595
Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects
Mitigation
- Upgrade tesla to 1.18.3 or later.
- Vendor workaround: Normalize all header keys to lowercase before passing them to Tesla. Use "authorization" instead of "Authorization" when setting headers via Tesla.put_header/3 or Tesla.Middleware.Headers.
Who should check
- Anyone running elixir-tesla tesla >= 1.4.0, < 1.18.3
- Anyone running elixir-tesla tesla >= 2d937d5813d7cda5cd726f41824985fb655c920f, < db963dba67651b9abd1fc420a1d9679cf6efe182
Vulnerability facts
- Affected
- elixir-tesla tesla >= 1.4.0, < 1.18.3; elixir-tesla tesla >= 2d937d5813d7cda5cd726f41824985fb655c920f, < db963dba67651b9abd1fc420a1d9679cf6efe182
- Fixed in
- elixir-tesla tesla 1.18.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-178
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| elixir-tesla tesla | >= 1.4.0, < 1.18.3 | — | cvelist |
| elixir-tesla tesla | >= 2d937d5813d7cda5cd726f41824985fb655c920f, < db963dba67651b9abd1fc420a1d9679cf6efe182 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-48595. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-48595.md Affected: elixir-tesla tesla >= 1.4.0, < 1.18.3; elixir-tesla tesla >= 2d937d5813d7cda5cd726f41824985fb655c920f, < db963dba67651b9abd1fc420a1d9679cf6efe182 Fixed in: elixir-tesla tesla 1.18.3 Steps: 1. Search this machine and project for elixir-tesla tesla: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-48595 being exploited?
There is no confirmed exploitation: CVE-2026-48595 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-48595?
High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-48595?
elixir-tesla tesla >= 1.4.0, < 1.18.3; elixir-tesla tesla >= 2d937d5813d7cda5cd726f41824985fb655c920f, < db963dba67651b9abd1fc420a1d9679cf6efe182.
Is there a fix for CVE-2026-48595?
Yes. Fixed in elixir-tesla tesla 1.18.3. Upgrade tesla to 1.18.3 or later. Vendor workaround: Normalize all header keys to lowercase before passing them to Tesla. Use "authorization" instead of "Authorization" when setting headers via Tesla.put_header/3 or Tesla.Middleware.Headers.
How do I check if I'm affected by CVE-2026-48595?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.