Vulnerability advisory
CVE-2026-48597
Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint
Also known as EEF-CVE-2026-48597GHSA-h74c-q9j7-mpcm
- CVSS 4.0
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
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/elixir-tesla/tesla ↗ | |
| 23e605e25a99290ecc227d0507297bf294ec579e to before 2eb7a78948f9c3b18509bf28bdc729e07f46e0dc | 2eb7a78948f9c3b18509bf28bdc729e07f46e0dc |
| Not specified | 4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e |
| Not specified | ccd0823d4ba37581a37d8f6108f9a81b263237ef |
Also listed as affected (44)
| |
Description
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.
References
- Webcna.erlef.org/cves/CVE-2026-48597.html ↗
- Webgithub.com ↗
- Webosv.dev/vulnerability/EEF-CVE-2026-48597 ↗
- Webrepo.hex.pm ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48597.json ↗
- Advisorygithub.com/elixir-tesla/tesla/security/advisories/GHSA-h74c-q9j7-mpcm ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-48597 ↗
- Fixgithub.com/elixir-tesla/tesla/commit/4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e ↗
- Fixgithub.com/elixir-tesla/tesla/commit/ccd0823d4ba37581a37d8f6108f9a81b263237ef ↗
- Packagegithub.com/elixir-tesla/tesla ↗