{"id":"EEF-CVE-2026-48597","summary":"Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint","details":"## Summary\n\nAllocation of Resources Without Limits or Throttling vulnerability in elixir-tesla tesla allows denial of service via atom table exhaustion in `Tesla.Adapter.Mint`.\n\n`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.\n\nThis issue affects tesla: from 1.3.0 before 1.18.3.\n\n## Configurations\n\nThe application must use `Tesla.Adapter.Mint` and either expose a feature that forwards attacker-controlled URLs to Tesla, or include `Tesla.Middleware.FollowRedirects` in the middleware pipeline.","aliases":["CVE-2026-48597","GHSA-h74c-q9j7-mpcm"],"modified":"2026-09-24T21:00:03.884699257Z","published":"2026-06-02T19:08:40.203Z","database_specific":{"cpe_ids":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-770"],"capec_ids":["CAPEC-130"]},"references":[{"type":"ADVISORY","url":"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-h74c-q9j7-mpcm"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-48597.html"},{"type":"WEB","url":"https://github.com/elixir-tesla/tesla/commit/ccd0823d4ba37581a37d8f6108f9a81b263237ef"},{"type":"FIX","url":"https://github.com/elixir-tesla/tesla/commit/4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e"},{"type":"PACKAGE","url":"https://hex.pm/packages/tesla"}],"affected":[{"package":{"name":"tesla","ecosystem":"Hex","purl":"pkg:hex/tesla"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.3.0"},{"fixed":"1.18.3"}]}],"versions":["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.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-48597.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/elixir-tesla/tesla","events":[{"introduced":"ccd0823d4ba37581a37d8f6108f9a81b263237ef"},{"fixed":"4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e"}]}],"versions":["v1.18.2","v1.18.1","v1.18.0","v1.17.0","v1.16.0","v1.15.3","v1.15.2","v1.15.1","v1.15.0","v1.14.3","v1.14.2","v1.14.1","v1.14.0","v1.13.2","v1.13.1","v1.13.0","v1.12.3","v1.12.2","v1.12.1","v1.12.0","v1.11.2","v1.11.1","v1.11.0","v1.10.3","v1.10.2","v1.10.1","v1.10.0","v1.9.0","v1.8.0","v1.7.0","v1.6.1","v1.6.0","v1.5.1","v1.5.0","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.3","v1.3.2","v.1.3.2","v1.3.1","v1.3.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-48597.json"}}],"schema_version":"1.9.0","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"}],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Yordis Prieto","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"ANALYST"}]}