# CVE-2026-48595: Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-02T19:08:48.339Z
- Modified: 2026-11-26T17:23:04.463Z
- Also known as: GHSA-9m9w-gxf7-rh8m, EEF-CVE-2026-48595
- Weaknesses: CWE-178
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- tesla: from 1.4.0 before 1.18.3
- elixir-tesla/tesla: from 2d937d5813d7cda5cd726f41824985fb655c920f before db963dba67651b9abd1fc420a1d9679cf6efe182
- tesla (Hex): from 0.6.0 before 1.18.3; from 1.4.0 before 1.18.3
- https://github.com/elixir-tesla/tesla: from 2d937d5813d7cda5cd726f41824985fb655c920f before db963dba67651b9abd1fc420a1d9679cf6efe182
- elixir-tesla tesla: from 1.4.0 before 1.18.3

## Every score

- EEF: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/elixir-tesla/tesla/security/advisories/GHSA-9m9w-gxf7-rh8m> (exploit, advisory, related, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-48595.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-48595> (related, third-party-advisory, web)
- <https://github.com/elixir-tesla/tesla/commit/2d937d5813d7cda5cd726f41824985fb655c920f> (related, web)
- <https://github.com/elixir-tesla/tesla/commit/db963dba67651b9abd1fc420a1d9679cf6efe182> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48595> (advisory)
- <https://github.com/elixir-tesla/tesla> (package)
- <https://hex.pm/packages/tesla> (package)

## Sources

- CVE List: [CVE-2026-48595](https://www.cve.org/CVERecord?id=CVE-2026-48595), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-9m9w-gxf7-rh8m](https://github.com/advisories/GHSA-9m9w-gxf7-rh8m), CC-BY-4.0, modified 2026-07-10
- Erlang Ecosystem Foundation: [EEF-CVE-2026-48595](https://osv.dev/vulnerability/EEF-CVE-2026-48595), CC-BY-4.0, modified 2026-11-26
- NVD: [CVE-2026-48595](https://nvd.nist.gov/vuln/detail/CVE-2026-48595), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-48595 · Whole record: https://cve.day/CVE-2026-48595.json · Rebuilt by cve.day 2026-11-26T17:37:06.028Z
