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.
Exploitability Profile
None Observed
No active abuse flagged
Available
0 PoC signals · 1 repo
Confirmed
0 patch mentions · 3 advisories
Stable
Peak 1 on Jun 2, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Verify version impact across your CPE inventory and schedule remediation within the next planned patch window.
| Authority |
|---|
Triage Priority
CVSS v3.1
Authoritative NIST NVD score · 2 sources compared below
1mention
Across 1 tracked day
| Version |
|---|
| Score |
|---|
| Vector String |
|---|
NISTNIST NVD | v3.1 | 5.9MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
CNACNA Partner | v4.0 | 8.2HIGH | 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 |
1 total mentions across 1 observed day · Peak 1 on Jun 2, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.
Normalized NVD configurations scoped by vendor, product, version, and platform.
Affected Vendors
Affected Products
| Part | Vendor | Product | Version | CPE 2.3 URI |
|---|---|---|---|---|
| App | Elixir Tesla | All versions | cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:* |