Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
elixir-tesla tesla
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Tesla是Elixir Tesla开源的一个HTTP客户端软件。 Tesla 1.4.0版本至1.18.3之前版本存在安全漏洞,该漏洞源于处理大小写敏感性时使用区分大小写的字符串比较过滤安全敏感头,可能导致跨源重定向时凭据泄露给第三方源。

AI Predicted 8.1 Difficulty: Moderate EPSS 0.49% · P40

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 2

VendorProduct Version RangeStatus
elixir-tesla tesla 1.4.0< 1.18.3 affected
2d937d5813d7cda5cd726f41824985fb655c920f< db963dba67651b9abd1fc420a1d9679cf6efe182 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48595

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
大小写敏感处理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Tesla 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Tesla是Elixir Tesla开源的一个HTTP客户端软件。 Tesla 1.4.0版本至1.18.3之前版本存在安全漏洞,该漏洞源于处理大小写敏感性时使用区分大小写的字符串比较过滤安全敏感头,可能导致跨源重定向时凭据泄露给第三方源。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
elixir-tesla tesla 1.4.0 ~ 1.18.3 cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*
elixir-tesla tesla 2d937d5813d7cda5cd726f41824985fb655c920f ~ db963dba67651b9abd1fc420a1d9679cf6efe182 cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-48595

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48595

登录查看更多情报信息。

Patches & Fixes for CVE-2026-48595 (1)

Vendor Advisories for CVE-2026-48595 (3)

Same Patch Batch · elixir-tesla · 2026-06-02 · 5 CVEs total

CVE-2026-48598 CRLF injection in Tesla.Multipart disposition parameters allows multipart part header inje
CVE-2026-48594 Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression
CVE-2026-48596 CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection
CVE-2026-48597 Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint

IV. Related Vulnerabilities

V. Comments for CVE-2026-48595

No comments yet


Leave a comment