{"id":"CVE-2026-48597","state":"PUBLISHED","title":"Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint","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.\n\nTesla.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.","publishedAt":"2026-06-02T19:08:40.203Z","updatedAt":"2026-09-24T20:54:23.945Z","severity":{"score":8.2,"label":"High","version":"4.0","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","source":"EEF"},"assigner":"EEF","products":["elixir-tesla tesla"],"affected":[{"vendor":"elixir-tesla","product":"tesla","packageName":"tesla","packageURL":"pkg:hex/tesla","defaultStatus":"unaffected","versions":[{"version":"1.3.0","status":"affected","lessThan":"1.18.3","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Tesla.Adapter.Mint'"],"programFiles":["lib/tesla/adapter/mint.ex"],"programRoutines":[{"name":"'Elixir.Tesla.Adapter.Mint':open_conn/2"}],"repo":"https://github.com/elixir-tesla/tesla"},{"vendor":"elixir-tesla","product":"tesla","packageName":"elixir-tesla/tesla","packageURL":"pkg:github/elixir-tesla/tesla","defaultStatus":"unaffected","versions":[{"version":"ccd0823d4ba37581a37d8f6108f9a81b263237ef","status":"affected","lessThan":"4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Tesla.Adapter.Mint'"],"programFiles":["lib/tesla/adapter/mint.ex"],"programRoutines":[{"name":"'Elixir.Tesla.Adapter.Mint':open_conn/2"}],"repo":"https://github.com/elixir-tesla/tesla"}],"references":["https://github.com/elixir-tesla/tesla/security/advisories/GHSA-h74c-q9j7-mpcm","https://cna.erlef.org/cves/CVE-2026-48597.html","https://osv.dev/vulnerability/EEF-CVE-2026-48597","https://github.com/elixir-tesla/tesla/commit/ccd0823d4ba37581a37d8f6108f9a81b263237ef","https://github.com/elixir-tesla/tesla/commit/4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48597.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48597","state":"PUBLISHED","datePublished":"2026-06-02T19:08:40.203Z","dateUpdated":"2026-09-24T20:54:23.945Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-05-22T09:36:56.834Z"},"containers":{"cna":{"title":"Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint","descriptions":[{"lang":"en","value":"Allocation of Resources Without Limits or Throttling vulnerability in elixir-tesla tesla allows denial of service via atom table exhaustion in Tesla.Adapter.Mint.\n\nTesla.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."}],"affected":[{"vendor":"elixir-tesla","product":"tesla","packageName":"tesla","packageURL":"pkg:hex/tesla","defaultStatus":"unaffected","versions":[{"version":"1.3.0","status":"affected","lessThan":"1.18.3","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Tesla.Adapter.Mint'"],"programFiles":["lib/tesla/adapter/mint.ex"],"programRoutines":[{"name":"'Elixir.Tesla.Adapter.Mint':open_conn/2"}],"repo":"https://github.com/elixir-tesla/tesla"},{"vendor":"elixir-tesla","product":"tesla","packageName":"elixir-tesla/tesla","packageURL":"pkg:github/elixir-tesla/tesla","defaultStatus":"unaffected","versions":[{"version":"ccd0823d4ba37581a37d8f6108f9a81b263237ef","status":"affected","lessThan":"4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Tesla.Adapter.Mint'"],"programFiles":["lib/tesla/adapter/mint.ex"],"programRoutines":[{"name":"'Elixir.Tesla.Adapter.Mint':open_conn/2"}],"repo":"https://github.com/elixir-tesla/tesla"}],"references":[{"url":"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-h74c-q9j7-mpcm","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48597.html","name":"EEF CNA record for CVE-2026-48597","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48597","name":"OSV record EEF-CVE-2026-48597","tags":["related"]},{"url":"https://github.com/elixir-tesla/tesla/commit/ccd0823d4ba37581a37d8f6108f9a81b263237ef","name":"Introducing commit ccd0823 in elixir-tesla/tesla","tags":["related"]},{"url":"https://github.com/elixir-tesla/tesla/commit/4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e","name":"Fix commit 4699c3c in elixir-tesla/tesla","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-24T20:54:23.945Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The application must use <code>Tesla.Adapter.Mint</code> and either expose a feature that forwards attacker-controlled URLs to Tesla, or include <code>Tesla.Middleware.FollowRedirects</code> in the middleware pipeline.</p>"},{"base64":false,"type":"text/markdown","value":"The 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."}],"value":"The 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."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*","versionEndExcluding":"1.18.3","versionStartIncluding":"1.3.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Yordis Prieto"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"}],"datePublic":"2026-06-02T19:08:40.000Z","impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-h74c-q9j7-mpcm","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-03T14:44:24.414813Z","id":"CVE-2026-48597","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-03T14:44:34.559Z"}}]}}}