CVE-2026-48594
Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.455% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.2 · published by EEFCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:42.855Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:42.855Z | CVE Program |
| epss | verified | 2026-11-19T16:04:51.377Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:53.169Z | OSV |
| affected | verified | 2026-11-19T12:58:42.855Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:42.855Z | CVE Program |
Affected versions and configuration
elixir-tesla tesla; modules: 'Elixir.Tesla.Middleware.Compression', 'Elixir.Tesla.Middleware.DecompressResponse'; default status: unaffected: 0.6.0 to < 1.18.3 [affected; scheme: semver] elixir-tesla tesla; modules: 'Elixir.Tesla.Middleware.Compression', 'Elixir.Tesla.Middleware.DecompressResponse'; default status: unaffected: 5bd90bb5cf0d15e375edc2a66fa322292940fce2 to < 340f75b5d191dc747ef7ac6365bd002d1cd55a9d [affected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-tesla/tesla",
"vendor": "elixir-tesla",
"modules": [
"'Elixir.Tesla.Middleware.Compression'",
"'Elixir.Tesla.Middleware.DecompressResponse'"
],
"product": "tesla",
"versions": [
{
"status": "affected",
"version": "0.6.0",
"lessThan": "1.18.3",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/tesla",
"packageName": "tesla",
"programFiles": [
"lib/tesla/middleware/compression.ex"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Tesla.Middleware.DecompressResponse':call/3"
},
{
"name": "'Elixir.Tesla.Middleware.Compression':call/3"
}
]
},
{
"cpes": [
"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-tesla/tesla",
"vendor": "elixir-tesla",
"modules": [
"'Elixir.Tesla.Middleware.Compression'",
"'Elixir.Tesla.Middleware.DecompressResponse'"
],
"product": "tesla",
"versions": [
{
"status": "affected",
"version": "5bd90bb5cf0d15e375edc2a66fa322292940fce2",
"lessThan": "340f75b5d191dc747ef7ac6365bd002d1cd55a9d",
"versionType": "git"
}
],
"packageURL": "pkg:github/elixir-tesla/tesla",
"packageName": "elixir-tesla/tesla",
"programFiles": [
"lib/tesla/middleware/compression.ex"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Tesla.Middleware.DecompressResponse':call/3"
},
{
"name": "'Elixir.Tesla.Middleware.Compression':call/3"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-48594",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-06-03T14:39:48.594599Z"
}
}
}
],
"references": [
{
"url": "https://github.com/elixir-tesla/tesla/security/advisories/GHSA-mc85-72gr-vm9f",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-03T14:39:54.578Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-48594",
"aliases": [
"CVE-2026-48594",
"GHSA-mc85-72gr-vm9f"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.6.0"
},
{
"fixed": "1.18.3"
}
]
}
],
"package": {
"name": "tesla",
"purl": "pkg:hex/tesla",
"ecosystem": "Hex"
},
"versions": [
"0.10.0",
"0.6.0",
"0.7.0",
"0.7.1",
"0.7.2",
"0.8.0",
"0.9.0",
"1.0.0",
"1.0.0-beta.1",
"1.1.0",
"1.10.0",
"1.10.1",
"1.10.2",
"1.10.3",
"1.11.0",
"1.11.1",
"1.11.2",
"1.12.0",
"1.12.1",
"1.12.2",
"1.12.3",
"1.13.0",
"1.13.1",
"1.13.2",
"1.14.0",
"1.14.1",
"1.14.2",
"1.14.3",
"1.15.0",
"1.15.1",
"1.15.2",
"1.15.3",
"1.16.0",
"1.17.0",
"1.18.0",
"1.18.1",
"1.18.2",
"1.2.0",
"1.2.1",
"1.3.0",
"1.3.1",
"1.3.2",
"1.3.3",
"1.4.0",
"1.4.1",
"1.4.2",
"1.4.3",
"1.4.4",
"1.5.0",
"1.5.1",
"1.6.0",
"1.6.1",
"1.7.0",
"1.8.0",
"1.8.1",
"1.9.0"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-48594.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/elixir-tesla/tesla/security/advisories/GHSA-mc85-72gr-vm9f",
"type": "ADVISORY"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-48594.html",
"type": "WEB"
},
{
"url": "https://github.com/elixir-tesla/tesla/commit/5bd90bb5cf0d15e375edc2a66fa322292940fce2",
"type": "WEB"
},
{
"url": "https://github.com/elixir-tesla/tesla/commit/340f75b5d191dc747ef7ac6365bd002d1cd55a9d",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/tesla",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/elixir-tesla/tesla",
"type": "GIT",
"events": [
{
"introduced": "5bd90bb5cf0d15e375edc2a66fa322292940fce2"
},
{
"fixed": "340f75b5d191dc747ef7ac6365bd002d1cd55a9d"
}
]
}
],
"versions": [],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-48594.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-409"
],
"capec_ids": [
"CAPEC-130"
]
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-mc85-72gr-vm9f",
"aliases": [
"CVE-2026-48594",
"EEF-CVE-2026-48594"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.6.0"
},
{
"fixed": "1.18.3"
}
]
}
],
"package": {
"name": "tesla",
"purl": "pkg:hex/tesla",
"ecosystem": "Hex"
},
"versions": [
"0.10.0",
"0.6.0",
"0.7.0",
"0.7.1",
"0.7.2",
"0.8.0",
"0.9.0",
"1.0.0",
"1.0.0-beta.1",
"1.1.0",
"1.10.0",
"1.10.1",
"1.10.2",
"1.10.3",
"1.11.0",
"1.11.1",
"1.11.2",
"1.12.0",
"1.12.1",
"1.12.2",
"1.12.3",
"1.13.0",
"1.13.1",
"1.13.2",
"1.14.0",
"1.14.1",
"1.14.2",
"1.14.3",
"1.15.0",
"1.15.1",
"1.15.2",
"1.15.3",
"1.16.0",
"1.17.0",
"1.18.0",
"1.18.1",
"1.18.2",
"1.2.0",
"1.2.1",
"1.3.0",
"1.3.1",
"1.3.2",
"1.3.3",
"1.4.0",
"1.4.1",
"1.4.2",
"1.4.3",
"1.4.4",
"1.5.0",
"1.5.1",
"1.6.0",
"1.6.1",
"1.7.0",
"1.8.0",
"1.8.1",
"1.9.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-mc85-72gr-vm9f/GHSA-mc85-72gr-vm9f.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/elixir-tesla/tesla/security/advisories/GHSA-mc85-72gr-vm9f",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-48594",
"type": "ADVISORY"
},
{
"url": "https://github.com/elixir-tesla/tesla/commit/340f75b5d191dc747ef7ac6365bd002d1cd55a9d",
"type": "WEB"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-48594.html",
"type": "WEB"
},
{
"url": "https://github.com/elixir-tesla/tesla",
"type": "PACKAGE"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-48594",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-409"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-06-02T20:16:38Z",
"github_reviewed_at": "2026-07-10T00:03:23Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Hex / package | tesla | Not a distribution channel | 1.18.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:53.169ZArchived source JSON
Source publication: 2026-06-02T19:08:49.596Z
Source modification: 2026-11-19T08:30:07.835ZDocument fingerprint
14b3128961516bfc4be8b52c4b75549a80af8b2d1e4ef841a0bee615c284bdfc - OSVConsulted: 2026-11-19T12:52:53.169ZArchived source JSON
Source publication: 2026-07-10T00:03:23.000Z
Source modification: 2026-07-10T00:15:09.275ZDocument fingerprint
14b3128961516bfc4be8b52c4b75549a80af8b2d1e4ef841a0bee615c284bdfc - CVE ProgramConsulted: 2026-11-19T12:58:42.855ZArchived source JSON
Source publication: 2026-06-02T19:08:49.596Z
Source modification: 2026-11-19T08:25:00.880ZDocument fingerprint
80b0410b98db3bc6084a49b7d3fdb279691f11dc0fe43803de58f3f39022ca62 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:51.377ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
314533c6cad7257b55626d2ae0cd98a6c49376abfa725a18eb65ebef4059364a
Official status history
- UNKNOWN → PUBLISHED · · evidence