Skip to main content

Elixir Tesla CVE-2026-48597

| EUVDEUVD-2026-34013 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-06-02 EEF GHSA-h74c-q9j7-mpcm
8.2
CVSS 4.0 · Vendor: EEF
Share

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Jun 02, 2026 - 20:26 vuln.today
Analysis Generated
Jun 02, 2026 - 20:26 vuln.today
CVSS changed
Jun 02, 2026 - 20:22 NVD
8.2 (HIGH)

DescriptionCVE.org

Allocation of Resources Without Limits or Throttling vulnerability in elixir-tesla tesla allows denial of service via atom table exhaustion in Tesla.Adapter.Mint.

Tesla.Adapter.Mint.open_conn/2 converts the URL scheme of every outgoing request to a BEAM atom via String.to_atom(uri.scheme) with no allow-list validation. BEAM atoms are never garbage-collected and the atom table is bounded (approximately 1,048,576 entries by default). An attacker who can influence the URL of a Tesla request - either via an application-level URL-forwarding feature (webhook, proxy, importer) or via a Location header returned by a server when Tesla.Middleware.FollowRedirects is in the pipeline - can mint one fresh permanent atom per request by varying the scheme string. After enough requests the atom table fills and the VM crashes, taking down the entire application.

This issue affects tesla: from 1.3.0 before 1.18.3.

AnalysisAI

Denial of service in the Elixir Tesla HTTP client (versions 1.3.0 through 1.18.2) when using the Tesla.Adapter.Mint adapter allows remote attackers to crash the entire BEAM VM by exhausting the atom table. Each request whose URL scheme is attacker-controlled mints a fresh, never-garbage-collected atom via String.to_atom/1, and after roughly 1,048,576 such requests the VM terminates. No public exploit identified at time of analysis, but the upstream fix and a regression test that asserts no atoms are minted for unknown schemes are both publicly visible on GitHub.

Technical ContextAI

Tesla is a widely used HTTP client library for Elixir that supports multiple pluggable adapters; the affected code path is in Tesla.Adapter.Mint.open_conn/2, which wraps the Mint low-level HTTP library. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling) realized via an Erlang/BEAM-specific quirk: atoms created with String.to_atom/1 are permanent for the life of the VM and the global atom table is capped at approximately 1,048,576 entries by default (controlled by the +t emulator flag). The pre-patch code called String.to_atom(uri.scheme) on every outgoing request with no allow-list, so any caller able to influence the scheme portion of a URI passed to Tesla could mint arbitrary new atoms. The fix introduces a private parse_scheme/1 function that pattern-matches only the literal strings "http" and "https" to the existing atoms :http and :https, returning {:error, :unsupported_scheme} otherwise. Affected CPE is cpe:2.3:a:elixir-tesla:tesla:*.

RemediationAI

Vendor-released patch: Tesla 1.18.3, which replaces the unrestricted String.to_atom(uri.scheme) call with an allow-list parse_scheme/1 helper that maps only "http" and "https" to existing atoms and returns {:error, :unsupported_scheme} for everything else (patch commit https://github.com/elixir-tesla/tesla/commit/4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e); upgrade the tesla dependency in mix.exs to ~> 1.18.3 and redeploy. If immediate upgrade is not possible, the most effective workarounds are switching the adapter to one that is not affected (for example Tesla.Adapter.Hackney or Tesla.Adapter.Finch), validating and allow-listing URL schemes before passing user-influenced URLs to Tesla, and disabling Tesla.Middleware.FollowRedirects on pipelines that contact untrusted hosts so that malicious Location headers cannot smuggle in arbitrary schemes. As a defence-in-depth measure operators can raise the BEAM atom limit via the +t emulator flag, which delays but does not prevent exhaustion and increases memory consumption, so this should be paired with one of the above fixes rather than used alone.

More in Tesla

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

Denial-of-service in elixir-tesla Tesla versions 0.6.0 through 1.18.2 allows remote servers to crash or freeze calling E

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-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-2026-24193 HIGH
7.8 May 26

Local privilege escalation in the NVIDIA Display Driver for Windows and Linux allows an authenticated low-privileged use

CVE-2026-24192 HIGH
7.8 May 26

Local privilege escalation in NVIDIA Display Driver for Linux (GeForce, RTX/Quadro/NVS, Tesla, and Virtual GPU Manager b

CVE-2026-24191 HIGH
7.8 May 26

Local privilege escalation in NVIDIA Display Driver for Windows (GeForce, RTX/Quadro/NVS, Tesla, and vGPU guest/manager

CVE-2026-24194 HIGH
7.8 May 26

Local privilege escalation in NVIDIA Display Driver for Linux (GeForce, RTX/Quadro/NVS, Tesla, and vGPU guest drivers) a

CVE-2026-24190 HIGH
7.8 May 26

Local privilege escalation in NVIDIA Display Driver for Windows and Linux allows authenticated low-privilege users to im

CVE-2026-24196 HIGH
7.1 May 26

Out-of-bounds read in NVIDIA Display Driver for Linux (GeForce, RTX/Quadro/NVS, Tesla, and vGPU Guest drivers) allows a

CVE-2026-24197 MEDIUM
6.5 May 26

NVIDIA Display Driver for Linux exposes a denial-of-service condition in the Multi-Instance GPU (MIG) partition manageme

CVE-2026-24182 MEDIUM
6.5 May 26

Denial of service in NVIDIA Display Driver for Windows and Linux stems from improper lock management (CWE-667), where an

Share

CVE-2026-48597 vulnerability details – vuln.today

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