{"answers":{"affected":"3 open source packages ship an affected version, including tesla. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48595 exists.","fix":"Upgrade tesla to 1.18.3 or later.","what":"CVE-2026-48595 is a high-severity vulnerability in elixir-tesla tesla, published on 2 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-48595 and fix it if it is affected.\n\nWhat it is: CVE-2026-48595 is a high-severity vulnerability in elixir-tesla tesla, published on 2 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48595 exists.\n\nAffected packages and fixed versions:\n- tesla (Hex): affected from 0.6.0; fixed in 1.18.3\n- tesla (Hex): affected from 0.6.0; fixed in 1.18.3\n- tesla (Hex): affected from 1.4.0; fixed in 1.18.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-48595/ (Markdown: https://insights.sbomify.com/CVE-2026-48595/index.md)","id":"CVE-2026-48595","markdown":"https://insights.sbomify.com/CVE-2026-48595/index.md","name":"CVE-2026-48595","record":{"aliases":["EEF-CVE-2026-48595","GHSA-9m9w-gxf7-rh8m"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Elixir HTTP client library","requires_auth":"none","summary":"Attackers can steal Authorization headers via cross-origin redirects due to case-sensitive header filtering in Tesla.Middleware.FollowRedirects.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[{"product":"tesla","vendor":"elixir-tesla"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"}],"description":"Improper Handling of Case Sensitivity vulnerability in elixir-tesla tesla allows credential leakage to a third-party origin on cross-origin redirects.\n\nTesla.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.\n\nThis issue affects tesla: from 1.4.0 before 1.18.3.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects","id":"CVE-2026-48595","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":5,"next":{"headline":"CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection","id":"CVE-2026-48596"},"packages":[{"ecosystem":"Hex","fixed":["1.18.3"],"introduced":["0.6.0"],"last_affected":[],"package":"tesla","purl":null,"source":"GHSA-9m9w-gxf7-rh8m"},{"ecosystem":"Hex","fixed":["1.18.3"],"introduced":["0.6.0"],"last_affected":[],"package":"tesla","purl":"pkg:hex/tesla","source":"GHSA-9m9w-gxf7-rh8m"},{"ecosystem":"Hex","fixed":["1.18.3"],"introduced":["1.4.0"],"last_affected":[],"package":"tesla","purl":"pkg:hex/tesla","source":"EEF-CVE-2026-48595"}],"prev":{"headline":"Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression","id":"CVE-2026-48594"},"products":["tesla"],"published":"2026-06-02","related":[{"cvss_score":8.2,"headline":"Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression","id":"CVE-2026-48594","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":8.2,"headline":"Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint","id":"CVE-2026-48597","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":2.1,"headline":"CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection","id":"CVE-2026-48596","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":2.1,"headline":"CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection","id":"CVE-2026-48598","kev_date_added":null,"published":"2026-06-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-24","vendors":["elixir-tesla"]},"summary":"Attackers can steal Authorization headers via cross-origin redirects due to case-sensitive header filtering in Tesla.Middleware.FollowRedirects.","url":"https://insights.sbomify.com/CVE-2026-48595/"}