Skip to content
Heist/ feed
High

Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-48597

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-48597

tesla

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

tesla

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "cpes": [
      "cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
    ],
    "repo": "https://github.com/elixir-tesla/tesla",
    "vendor": "elixir-tesla",
    "modules": [
      "'Elixir.Tesla.Adapter.Mint'"
    ],
    "product": "tesla",
    "versions": [
      {
        "status": "affected",
        "version": "1.3.0",
        "lessThan": "1.18.3",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:hex/tesla",
    "packageName": "tesla",
    "programFiles": [
      "lib/tesla/adapter/mint.ex"
    ],
    "collectionURL": "https://repo.hex.pm",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "'Elixir.Tesla.Adapter.Mint':open_conn/2"
      }
    ]
  },
  {
    "cpes": [
      "cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
    ],
    "repo": "https://github.com/elixir-tesla/tesla",
    "vendor": "elixir-tesla",
    "modules": [
      "'Elixir.Tesla.Adapter.Mint'"
    ],
    "product": "tesla",
    "versions": [
      {
        "status": "affected",
        "version": "ccd0823d4ba37581a37d8f6108f9a81b263237ef",
        "lessThan": "4699c3cb3e2fd6078f99f45f11cf7466aeedbf0e",
        "versionType": "git"
      }
    ],
    "packageURL": "pkg:github/elixir-tesla/tesla",
    "packageName": "elixir-tesla/tesla",
    "programFiles": [
      "lib/tesla/adapter/mint.ex"
    ],
    "collectionURL": "https://github.com",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "'Elixir.Tesla.Adapter.Mint':open_conn/2"
      }
    ]
  }
]
Related CVEs
CVE-2026-48597

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#1904 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement