CVE-2026-48595
HIGH 8.2CVSS 4.0Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects
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.
- Published
- 2 Jun 2026
- Last modified
- 26 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Modified
- Weakness
- CWE-178
- Also known as
- EEF-CVE-2026-48595GHSA-9m9w-gxf7-rh8m
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-48595JSONOSV GHSA-9m9w-gxf7-rh8mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 8.2 | 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 |
| CVE List | EEF | CVSS 4.0 | HIGH 8.2 | 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 |
| OSV | GitHub | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elixir-tesla | teslacpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:* |
>= 1.4.0, < 1.18.3 | 1.18.3 |
| CVE List | https://repo.hex.pm | teslacpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:* |
>= 1.4.0, < 1.18.3 | 1.18.3 |
| CVE List | https://github.com | elixir-tesla/teslacpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:* |
>= 2d937d5813d7cda5cd726f41824985fb655c920f, < db963dba67651b9abd1fc420a1d9679cf6efe182 | db963dba67651b9abd1fc420a1d9679cf6efe182 |
| OSV | Hex | tesla | >= 1.4.0, < 1.18.3 | 1.18.3 |
| OSV | Hex | tesla | >= 0.6.0, < 1.18.3 | 1.18.3 |
References
- https://cna.erlef.org/cves/CVE-2026-48595.html · Third Party Advisory, related, WEB
- https://github.com/elixir-tesla/tesla/commit/2d937d5813d7cda5cd726f41824985fb655c920f · related, WEB
- https://github.com/elixir-tesla/tesla/commit/db963dba67651b9abd1fc420a1d9679cf6efe182 · Patch, FIX, WEB
- https://github.com/elixir-tesla/tesla/security/advisories/GHSA-9m9w-gxf7-rh8m · Exploit, Vendor Advisory, vendor-advisory, related, ADVISORY, WEB
- https://osv.dev/vulnerability/EEF-CVE-2026-48595 · Third Party Advisory, related, WEB
- https://hex.pm/packages/tesla · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2026-48595 · ADVISORY
- https://github.com/elixir-tesla/tesla · PACKAGE
History
- 26 Nov 2026 18:37 UTC · OSV: updated (other details)
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 2 Jun 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Jun 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 10 Jul 2026)
- 25 Nov 2026 20:10 UTC · CVE List: first stored (published 2 Jun 2026)