Read the docs
TI-2026-35950 Aliases CVE-2026-48594GHSA-mc85-72gr-vm9f

Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression

Priority LOW 36CWE-409Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00455 39th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed tesla (elixir-tesla): 1.18.3tesla (Hex): 1.18.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
elixir-teslatesla0.6.0 to before 1.18.31.18.3Patch availableCNA
—tesla (Hex)0.6.0 to before 1.18.31.18.3Patch availableGHSA-mc85-72gr-vm9f
  • tesla Vendorelixir-tesla Affected 0.6.0 to before 1.18.3 Fixed in 1.18.3 Patch available CNA
  • tesla (Hex) Vendor— Affected 0.6.0 to before 1.18.3 Fixed in 1.18.3 Patch available GHSA-mc85-72gr-vm9f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*0.6.0 to before 1.18.3Vulnerableelixir-tesla
  • cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:* Versions 0.6.0 to before 1.18.3 Vulnerable ·elixir-tesla

Remediation

  • Fix · CNA tesla (elixir-tesla) Fixed in 1.18.3
  • Fix · GHSA-mc85-72gr-vm9f tesla (Hex) Fixed in 1.18.3 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    elixir-tesla tesla 1.18.3

    5 records Highest priority Priority HIGH 2 HIGH, 2 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-35953 Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.MintPriority HIGH 69
    • TI-2026-35951 Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirectsPriority HIGH 69
    • TI-2026-35954 CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injectionPriority MEDIUM 44

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-48594
  2. 2026-10-03 Alias added: GHSA-mc85-72gr-vm9f
  3. 2026-10-25 EPSS moved to the below the 50th percentile

References

  • TI-2026-35953 Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint CVSS 4.0HIGH 8.2
  • TI-2026-35951 Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects CVSS 4.0HIGH 8.2
  • TI-2026-35954 CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection CVSS 4.0LOW 2.1
  • TI-2026-35952 CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection CVSS 4.0LOW 2.1

Sources