{"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-48598 exists.","fix":"Upgrade tesla to 1.18.3 or later.","what":"CVE-2026-48598 is a low-severity vulnerability in elixir-tesla tesla, published on 2 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-48598 and fix it if it is affected.\n\nWhat it is: CVE-2026-48598 is a low-severity vulnerability in elixir-tesla tesla, published on 2 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48598 exists.\n\nAffected packages and fixed versions:\n- tesla (Hex): affected from 0.8.0; fixed in 1.18.3\n- tesla (Hex): affected from 0.8.0; fixed in 1.18.3\n- tesla (Hex): affected from 0.8.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-48598/ (Markdown: https://insights.sbomify.com/CVE-2026-48598/index.md)","id":"CVE-2026-48598","markdown":"https://insights.sbomify.com/CVE-2026-48598/index.md","name":"CVE-2026-48598","record":{"aliases":["EEF-CVE-2026-48598","GHSA-28jh-g32x-v9v4"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","other"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Elixir HTTP client library","requires_auth":"none","summary":"Attackers can inject headers into multipart requests via unescaped disposition parameters, potentially altering request structure or content.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[{"product":"tesla","vendor":"elixir-tesla"}],"cvss":{"score":2.1,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Improper Encoding or Escaping of Output vulnerability in elixir-tesla tesla allows multipart part header injection via unescaped Content-Disposition parameter values.\n\nTesla.Multipart.part_headers_for_disposition/1 interpolates each disposition parameter as #{k}=\"#{v}\" with no validation of CR (\\r), LF (\\n), or double-quote characters. The values come verbatim from the caller via Tesla.Multipart.add_field/4 (the name parameter), Tesla.Multipart.add_file/3, and Tesla.Multipart.add_file_content/4 (both the filename parameter and other disposition opts). A \" in the value closes the quoted parameter early; a \\r\\n ends the Content-Disposition header line and starts a new part header (such as a forged Content-Type), or, after a second \\r\\n, ends the entire part header block and prepends bytes to the part body. The default-filename path in add_file/3 derives the filename via Path.basename/1, which does not strip CR or LF, so any application forwarding a partially-attacker-controlled file path inherits the same issue.\n\nThis issue affects tesla: from 0.8.0 before 1.18.3.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":"2026-06-09","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-09T12:30:17Z","kind":"github_poc","ref":"https://github.com/workshops-de/google_gax","stars":0,"title":"Patched google_gax 0.4.1 for Tesla 1.18.3+ compatibility (CVE-2026-48598)"}],"tier":"weaponised"},"has_fix":true,"headline":"CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection","id":"CVE-2026-48598","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"other","year":"2026"},"n_packages":3,"n_references":5,"next":{"headline":"Authorization bypass via path binding override in elixir-grpc/grpc HTTP transcoding","id":"CVE-2026-48599"},"packages":[{"ecosystem":"Hex","fixed":["1.18.3"],"introduced":["0.8.0"],"last_affected":[],"package":"tesla","purl":"pkg:hex/tesla","source":"EEF-CVE-2026-48598"},{"ecosystem":"Hex","fixed":["1.18.3"],"introduced":["0.8.0"],"last_affected":[],"package":"tesla","purl":null,"source":"GHSA-28jh-g32x-v9v4"},{"ecosystem":"Hex","fixed":["1.18.3"],"introduced":["0.8.0"],"last_affected":[],"package":"tesla","purl":"pkg:hex/tesla","source":"GHSA-28jh-g32x-v9v4"}],"prev":{"headline":"Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint","id":"CVE-2026-48597"},"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":"Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects","id":"CVE-2026-48595","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"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-24","vendors":["elixir-tesla"]},"summary":"Attackers can inject headers into multipart requests via unescaped disposition parameters, potentially altering request structure or content.","url":"https://insights.sbomify.com/CVE-2026-48598/"}