Skip to main content

Tesla (Elixir HTTP client) CVE-2026-48594

| EUVDEUVD-2026-34015 HIGH
Improper Handling of Highly Compressed Data (Data Amplification) (CWE-409)
2026-06-02 EEF GHSA-mc85-72gr-vm9f
8.2
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Tesla-based service fetching untrusted URLs
  2. Delivery
    Stand up malicious HTTP endpoint serving small gzip bomb
  3. Exploit
    Lure or coerce victim into requesting it
  4. Execution
    Return body with stacked content-encoding: gzip, gzip, gzip, gzip
  5. Persist
    Tesla middleware recursively inflates to gigabytes of BEAM heap
  6. Impact
    Worker process OOMs or freezes, denying service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
Exploitation Conditions

The target application must (1) use the elixir-tesla 'tesla' library at any version from 0.6.0 through 1.18.2, (2) include Tesla.Middleware.DecompressResponse or Tesla.Middleware.Compression in the middleware pipeline of the affected client, and (3) issue an HTTP request to a server an attacker controls or can tamper with - directly (outbound fetch of attacker-supplied URLs, SSRF, webhook callbacks, federation) or via an on-path MITM of an unencrypted or compromised TLS channel. The vulnerable server response is a small body compressed with gzip or deflate combined with a content-encoding header that either advertises a single deeply-nested gzip stream or stacks codecs (e.g. 'gzip, gzip, gzip, gzip') to trigger recursive amplification. HEAD-method requests are not affected. No authentication, user interaction, or non-default configuration on the Tesla client side beyond having decompression middleware enabled (which is the documented and common pattern) is required.

Impact

CVSS 4.0 vector AV:N/AC:L/AT:P/PR:N/UI:N rates this as network-reachable, low complexity, requiring no privileges or user interaction, with the only impact being high availability loss (VA:H, VC:N, VI:N) - score 8.2. The AT:P (attack requirements: present) flag correctly captures that the victim must initiate or follow an HTTP request to an attacker-controlled (or attacker-influenced) endpoint while the Compression/DecompressResponse middleware is enabled. EPSS and CISA KEV data were not supplied; no public exploit identified at time of analysis, though the malicious-server pattern is trivially reproducible from the public commit diff. Real-world priority is high for any backend service that uses Tesla to fetch URLs supplied by users, partners, or webhooks (SSRF-style call paths, scrapers, federation), and moderate for clients that only contact a fixed list of trusted endpoints. Note: the description mentions 'remote' but the practical reach depends on whether the application calls untrusted servers - defenders should verify exposure rather than assume internet-wide reachability.

Exploit ScenarioDerived

An attacker who controls or can MITM a URL that a Tesla-based Elixir service fetches (a webhook target, scraped page, federated peer, SSRF-reachable host) returns a few hundred bytes of gzip-compressed data with a content-encoding header of 'gzip, gzip, gzip, gzip'. The DecompressResponse middleware recursively gunzips four times into multi-gigabyte iodata in BEAM heap, OOM-killing the worker or freezing the node. No POC is published, but the malicious-server payload is straightforward to construct from the patch diff and the AV:N/AC:L/PR:N/UI:N CVSS profile means no authentication or user click is required once the request is initiated.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 02, 2026

Denial-of-service in elixir-tesla Tesla versions 0.6.0 through 1.18.2 allows remote servers to crash or freeze calling Elixir/BEAM processes by returning a tiny gzip- or deflate-encoded response body that decompresses into gigabytes. The flaw lives in Tesla.Middleware.DecompressResponse / Tesla.Middleware.Compression, which eagerly inflated response bodies with no size cap and recursed once per token in the content-encoding header, so a header of 'gzip, gzip, gzip, gzip' produced exponential amplification. No public exploit identified at time of analysis, but the vendor has shipped a patch in 1.18.3 and the CVSS 4.0 score of 8.2 (VA:H) reflects high availability impact.

RemediationAI

Upgrade the tesla Hex dependency to 1.18.3 or later, which lands the fix in commit 340f75b5d191dc747ef7ac6365bd002d1cd55a9d (Vendor-released patch: 1.18.3). The patched middleware now requires an explicit :max_body_size option (e.g. {Tesla.Middleware.Compression, format: "gzip", max_body_size: 32 * 1024 * 1024}), streams inflation through :zlib.safeInflate/2 so the cap aborts decompression before the full body materializes, and refuses responses that advertise more than one supported content-encoding codec by raising Tesla.Middleware.Compression.Error - note this is a behavioral break that will surface as ArgumentError on startup until every Compression middleware call site is updated. If you cannot upgrade immediately, remove Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression from middleware pipelines that talk to untrusted hosts (trade-off: callers must handle compressed bodies manually or accept uncompressed responses), restrict outbound HTTP via an egress proxy that strips or rejects content-encoding stacking, and constrain the BEAM with per-process heap limits (max_heap_size) so a single runaway decompression does not exhaust the node. See the advisory at https://github.com/elixir-tesla/tesla/security/advisories/GHSA-mc85-72gr-vm9f for full guidance.

Affected VersionsENISA

Tesla 5bd90bb5cf0d15e375edc2a66fa322292940fce2 <340f75b5d191dc747ef7ac6365bd002d1cd55a9d
Tesla 0.6.0 <1.18.3

Affected Packages

euvd tesla fix: 1.18.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Tesla is a widely used HTTP client library for Elixir applications running on the BEAM virtual machine. The vulnerable code is in lib/tesla/middleware/compression.ex, where decompress_body/2 passed the entire response body to :zlib.gunzip/1 or :zlib.unzip/1 in one shot and recursed across every comma-separated token in the content-encoding header. CWE-409 (Improper Handling of Highly Compressed Data / 'decompression bomb') is the root-cause class: gzip can achieve ~1000x ratios per layer, so four stacked layers (a few hundred bytes on the wire) inflate to gigabytes that the BEAM holds entirely in heap before yielding control. CPE 2.3 pins the affected product as cpe:2.3:a:elixir-tesla:tesla covering all versions in the 0.6.0-1.18.2 range.

Know when Tesla gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF) · only source for this CVE.

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 02, 2026 - 20:22 NVD
8.2 (HIGH)

DescriptionCVE.org

Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-tesla tesla allows a denial of service via decompression bomb in HTTP response bodies.

When Tesla.Middleware.DecompressResponse or Tesla.Middleware.Compression is included in a Tesla middleware pipeline, HTTP response bodies are decompressed eagerly with no size limit. The decompress_body/2 function in lib/tesla/middleware/compression.ex passes the entire response body to :zlib.gunzip/1 or :zlib.unzip/1 without any cap on the output size. Additionally, compression_algorithms/1 splits the content-encoding header on commas and decompress_body/2 recurses once per token, applying a decompression pass on each iteration. A server advertising content-encoding: gzip, gzip, gzip, gzip causes four recursive decompression passes, yielding exponential amplification: each gzip layer can expand its input roughly 1000x, so a payload of a few hundred bytes on the wire inflates to gigabytes of BEAM heap, exhausting memory and crashing or freezing the calling process.

This issue affects tesla: from 0.6.0 before 1.18.3.

Executive ViewAI

Why It Matters

Tesla, a widely-used Elixir HTTP client library, contains a denial-of-service vulnerability (CVE-2026-48594) affecting versions 0.6.0 through 1.18.2 that allows remote servers to crash or freeze Elixir applications by sending specially crafted compressed responses. Any organization running Elixir-based services using affected Tesla versions faces potential service disruption and unplanned downtime. A vendor-released patch addressing this issue is available and should be deployed urgently.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

61
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Tesla

View all
CVE-2026-48595 HIGH POC
8.2 Jun 02

Credential leakage in elixir-tesla (Tesla HTTP client for Elixir) versions 1.4.0 through 1.18.2 allows Authorization and

CVE-2026-48597 HIGH POC
8.2 Jun 02

Denial of service in the Elixir Tesla HTTP client (versions 1.3.0 through 1.18.2) when using the Tesla.Adapter.Mint adap

CVE-2020-29438 MEDIUM POC
6.5 Nov 30

Tesla Model X vehicles before 2020-11-23 have key fobs that accept firmware updates without signature verification. Rate

CVE-2020-15912 MEDIUM POC
6.5 Jul 23

Tesla Model 3 vehicles allow attackers to open a door by leveraging access to a legitimate key card, and then using NFC

CVE-2020-10558 MEDIUM POC
6.5 Mar 20

The driving interface of Tesla Model 3 vehicles in any release before 2020.4.10 allows Denial of Service to occur due to

CVE-2022-37709 MEDIUM POC
5.3 Sep 16

Tesla Model 3 V11.0(2022.4.5.1 6b701552d7a6) Tesla mobile app v4.23 is vulnerable to Authentication Bypass by spoofing.

CVE-2026-24187 HIGH
8.8 May 26

Local privilege escalation and code execution in the NVIDIA Display Driver for Linux (GeForce, RTX/Quadro/NVS, Tesla, an

CVE-2019-9977 HIGH
8.8 Mar 24

The renderer process in the entertainment system on Tesla Model 3 vehicles mishandles JIT compilation, which allows atta

CVE-2020-29440 MEDIUM POC
4.6 Nov 30

Tesla Model X vehicles before 2020-11-23 do not perform certificate validation during an attempt to pair a new key fob w

CVE-2020-29439 MEDIUM POC
4.6 Nov 30

Tesla Model X vehicles before 2020-11-23 have key fobs that rely on five VIN digits for the authentication needed for a

CVE-2022-27948 MEDIUM POC
4.3 Mar 27

Certain Tesla vehicles through 2022-03-26 allow attackers to open the charging port via a 315 MHz RF signal containing a

CVE-2026-47592 HIGH
7.8 Sep 30

An out-of-bounds read in the kernel-mode layer of NVIDIA GPU Display Driver on Windows and Linux allows a local, authent

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy