CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir packages

CVE-2026-48595

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.2 · high

Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects

Improper Handling of Case Sensitivity vulnerability in elixir-tesla tesla allows credential leakage to a third-party origin on cross-origin redirects. Tesla.Middleware.FollowRedirects strips security-sensitive headers on cross-origin redirects using a case-sensitive string comparison against a lowercase filter list (@filter_headers ["authorization", "host"]). HTTP header names are case-insensitive per RFC 7230, but Tesla preserves header keys verbatim as supplied by the caller without normalizing case. A header set as {"Authorization", "Bearer …"} (the RFC 7235 canonical casing used by virtually all HTTP libraries and documentation) does not match the lowercase filter entry and is forwarded to the redirect destination. An attacker who can control or influence a Location: response seen by the client (via their own endpoint, a redirect-open upstream, or a compromised origin) receives the bearer token or other Authorization material on the cross-origin request. This issue affects tesla: from 1.4.0 before 1.18.3.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.487% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 8.2 · published by EEF
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:42.936Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:58:42.936ZCVE Program
epssverified2026-11-19T16:04:51.377ZFIRST EPSS
patchesverified2026-11-19T12:52:53.169ZOSV
affectedverified2026-11-19T12:58:42.936ZCVE Program
lifecycleverified2026-11-19T12:58:42.936ZCVE Program

Affected versions and configuration

elixir-tesla tesla; modules: 'Elixir.Tesla.Middleware.FollowRedirects'; default status: unaffected: 1.4.0 to < 1.18.3 [affected; scheme: semver] elixir-tesla tesla; modules: 'Elixir.Tesla.Middleware.FollowRedirects'; default status: unaffected: 2d937d5813d7cda5cd726f41824985fb655c920f to < db963dba67651b9abd1fc420a1d9679cf6efe182 [affected; scheme: git]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/elixir-tesla/tesla",
      "vendor": "elixir-tesla",
      "modules": [
        "'Elixir.Tesla.Middleware.FollowRedirects'"
      ],
      "product": "tesla",
      "versions": [
        {
          "status": "affected",
          "version": "1.4.0",
          "lessThan": "1.18.3",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:hex/tesla",
      "packageName": "tesla",
      "programFiles": [
        "lib/tesla/middleware/follow_redirects.ex"
      ],
      "collectionURL": "https://repo.hex.pm",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "'Elixir.Tesla.Middleware.FollowRedirects':call/3"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/elixir-tesla/tesla",
      "vendor": "elixir-tesla",
      "modules": [
        "'Elixir.Tesla.Middleware.FollowRedirects'"
      ],
      "product": "tesla",
      "versions": [
        {
          "status": "affected",
          "version": "2d937d5813d7cda5cd726f41824985fb655c920f",
          "lessThan": "db963dba67651b9abd1fc420a1d9679cf6efe182",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/elixir-tesla/tesla",
      "packageName": "elixir-tesla/tesla",
      "programFiles": [
        "lib/tesla/middleware/follow_redirects.ex"
      ],
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "'Elixir.Tesla.Middleware.FollowRedirects':call/3"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-48595",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-06-03T15:59:45.683092Z"
            }
          }
        }
      ],
      "references": [
        {
          "url": "https://github.com/elixir-tesla/tesla/security/advisories/GHSA-9m9w-gxf7-rh8m",
          "tags": [
            "exploit"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-06-03T15:59:54.838Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "EEF-CVE-2026-48595",
  "aliases": [
    "CVE-2026-48595",
    "GHSA-9m9w-gxf7-rh8m"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "1.4.0"
            },
            {
              "fixed": "1.18.3"
            }
          ]
        }
      ],
      "package": {
        "name": "tesla",
        "purl": "pkg:hex/tesla",
        "ecosystem": "Hex"
      },
      "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.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-48595.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/elixir-tesla/tesla/security/advisories/GHSA-9m9w-gxf7-rh8m",
      "type": "ADVISORY"
    },
    {
      "url": "https://cna.erlef.org/cves/CVE-2026-48595.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/elixir-tesla/tesla/commit/2d937d5813d7cda5cd726f41824985fb655c920f",
      "type": "WEB"
    },
    {
      "url": "https://github.com/elixir-tesla/tesla/commit/db963dba67651b9abd1fc420a1d9679cf6efe182",
      "type": "FIX"
    },
    {
      "url": "https://hex.pm/packages/tesla",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [
    {
      "ranges": [
        {
          "repo": "https://github.com/elixir-tesla/tesla",
          "type": "GIT",
          "events": [
            {
              "introduced": "2d937d5813d7cda5cd726f41824985fb655c920f"
            },
            {
              "fixed": "db963dba67651b9abd1fc420a1d9679cf6efe182"
            }
          ]
        }
      ],
      "versions": [],
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-48595.json"
      }
    }
  ],
  "database_specific": {
    "cpe_ids": [
      "cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids": [
      "CWE-178"
    ],
    "capec_ids": [
      "CAPEC-267"
    ]
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-9m9w-gxf7-rh8m",
  "aliases": [
    "CVE-2026-48595",
    "EEF-CVE-2026-48595"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0.6.0"
            },
            {
              "fixed": "1.18.3"
            }
          ]
        }
      ],
      "package": {
        "name": "tesla",
        "purl": "pkg:hex/tesla",
        "ecosystem": "Hex"
      },
      "versions": [
        "0.10.0",
        "0.6.0",
        "0.7.0",
        "0.7.1",
        "0.7.2",
        "0.8.0",
        "0.9.0",
        "1.0.0",
        "1.0.0-beta.1",
        "1.1.0",
        "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.2.0",
        "1.2.1",
        "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://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-9m9w-gxf7-rh8m/GHSA-9m9w-gxf7-rh8m.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/elixir-tesla/tesla/security/advisories/GHSA-9m9w-gxf7-rh8m",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-48595",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/elixir-tesla/tesla/commit/db963dba67651b9abd1fc420a1d9679cf6efe182",
      "type": "WEB"
    },
    {
      "url": "https://cna.erlef.org/cves/CVE-2026-48595.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/elixir-tesla/tesla",
      "type": "PACKAGE"
    },
    {
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-48595",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-178"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-06-02T20:16:38Z",
    "github_reviewed_at": "2026-07-10T00:03:31Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryHex / packageteslaNot a distribution channel1.18.3Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history