CVE-2026-48595
Improper Handling of Case Sensitivity vulnerability in elixir-tesla tesla allows credential leakage to a third-party origin on cross-orig...
Published: 2026-06-02 · Last updated: 2026-06-04
Severity and scoring
- CWE
- CWE-178
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-48595
- [Other]https://cna.erlef.org/cves/CVE-2026-48595.html
- [Other]https://github.com/elixir-tesla/tesla/commit/db963dba67651b9abd1fc420a1d9679cf6efe182
- [Other]https://github.com/elixir-tesla/tesla/security/advisories/GHSA-9m9w-gxf7-rh8m
- [Other]https://osv.dev/vulnerability/EEF-CVE-2026-48595
- [Other]https://github.com/elixir-tesla/tesla/security/advisories/GHSA-9m9w-gxf7-rh8m
Related CVEs
Same CWE
- CVE-2026-45062 — FrankenPHP is a modern application server for PHP (8.1 HIGH)
- CVE-2026-47346 — Backend users with file write permissions were able to upload form definition files with mixed-case extensions (e.g., .FORM.YAML) to bypa...
- CVE-2026-46392 — HAX CMS helps manage microsite universe with PHP or NodeJs backends (8.7 HIGH)
- CVE-2026-8404 — An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6 (3.1 LOW)
- CVE-2026-44367 — Klaw is a self-service Apache Kafka Topic Management/Governance tool/portal (2.7 LOW)