{"answers":{"affected":"3 open source packages ship an affected version, including tesla. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-48594 in the wild and no public exploit code.","fix":"Upgrade tesla to 1.18.3 or later.","what":"CVE-2026-48594 is a high-severity denial of service vulnerability in elixir-tesla tesla, published on 2 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-48594 and fix it if it is affected.\n\nWhat it is: CVE-2026-48594 is a high-severity denial of service vulnerability in elixir-tesla tesla, published on 2 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-48594 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tesla (Hex): affected from 0.6.0; fixed in 1.18.3\n- tesla (Hex): affected from 0.6.0; fixed in 1.18.3\n- tesla (Hex): affected from 0.6.0; fixed in 1.18.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-48594/ (Markdown: https://insights.sbomify.com/CVE-2026-48594/index.md)","id":"CVE-2026-48594","markdown":"https://insights.sbomify.com/CVE-2026-48594/index.md","name":"CVE-2026-48594","record":{"aliases":["EEF-CVE-2026-48594","GHSA-mc85-72gr-vm9f"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Elixir HTTP client library","requires_auth":"none","summary":"An attacker can cause a denial of service by sending a decompression bomb in an HTTP response, exhausting memory in applications using the Tesla library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[{"product":"tesla","vendor":"elixir-tesla"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"description":"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.\n\nWhen 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.\n\nThis issue affects tesla: from 0.6.0 before 1.18.3.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression","id":"CVE-2026-48594","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":5,"next":{"headline":"Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects","id":"CVE-2026-48595"},"packages":[{"ecosystem":"Hex","fixed":["1.18.3"],"introduced":["0.6.0"],"last_affected":[],"package":"tesla","purl":"pkg:hex/tesla","source":"EEF-CVE-2026-48594"},{"ecosystem":"Hex","fixed":["1.18.3"],"introduced":["0.6.0"],"last_affected":[],"package":"tesla","purl":null,"source":"GHSA-mc85-72gr-vm9f"},{"ecosystem":"Hex","fixed":["1.18.3"],"introduced":["0.6.0"],"last_affected":[],"package":"tesla","purl":"pkg:hex/tesla","source":"GHSA-mc85-72gr-vm9f"}],"prev":{"headline":"Unbounded range expansion in cron describe causes memory exhaustion in oban_web","id":"CVE-2026-48593"},"products":["tesla"],"published":"2026-06-02","related":[{"cvss_score":8.2,"headline":"Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects","id":"CVE-2026-48595","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":8.2,"headline":"Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint","id":"CVE-2026-48597","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":2.1,"headline":"CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection","id":"CVE-2026-48596","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":2.1,"headline":"CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection","id":"CVE-2026-48598","kev_date_added":null,"published":"2026-06-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-24","vendors":["elixir-tesla"]},"summary":"An attacker can cause a denial of service by sending a decompression bomb in an HTTP response, exhausting memory in applications using the Tesla library.","url":"https://insights.sbomify.com/CVE-2026-48594/"}