{"id":"CVE-2026-48598","title":"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 disp…","summary":"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 disp…","severity":"low","cvss":3.7,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","cwe":["CWE-116"],"vendor":"elixir-tesla","product":"tesla","affected":["tesla >= 0.8.0, < 1.18.3"],"patched":["tesla 1.18.3"],"published":"2026-06-02","updated":"2026-09-24","sourceUpdated":"2026-09-24T21:17:13.760","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-48598","references":[{"url":"https://cna.erlef.org/cves/CVE-2026-48598.html","label":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-tesla/tesla/commit/6ebfdb9abe9c6f119408045b933d82462decd351","label":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-tesla/tesla/commit/bb1a2c3da2775924d96e3db8e315dcc4d5d2246e","label":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4","label":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48598","label":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48598"},{"url":"https://github.com/advisories/GHSA-28jh-g32x-v9v4"}],"tags":["nvd","cve.org","exploit-available","ghsa","erlang"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T14:58:39.064613Z"},"scores":{"nvd":3.7,"cna":2.1},"epss":0.00337,"epssPercentile":0.24333,"exploits":{"github":1,"githubRepos":["https://github.com/workshops-de/google_gax"],"checkedAt":"2026-09-24T21:53:34.696Z"},"aliases":["GHSA-28jh-g32x-v9v4"],"ecosystem":"erlang","ingestedAt":"2026-07-10T00:54:12.221Z","slug":"CVE-2026-48598","body":"## Overview\n\nImproper 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.\n\n## Affected\n\n- `tesla >= 0.8.0, < 1.18.3`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `tesla 1.18.3`\n\n## Package advisory (CVE-2026-48598)\n\nAffected packages:\n\n- `tesla >= 0.8.0, < 1.18.3`\n\nPatched in:\n\n- `tesla 1.18.3`\n\nSource: https://github.com/advisories/GHSA-28jh-g32x-v9v4","depth":"twilight","depthScore":32,"depthScoreParts":{"impact":20.4,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":210389,"id":"CVE-2026-48598","ts":1790286814908,"field":"cvss","old":null,"new":"3.7"},{"seq":5271,"id":"CVE-2026-48598","ts":1788887259168,"field":"exploit_available","old":"false","new":"true"},{"seq":4154,"id":"CVE-2026-48598","ts":1788886375931,"field":"exploit_available","old":"true","new":"false"},{"seq":2922,"id":"CVE-2026-48598","ts":1788883040995,"field":"exploit_available","old":"false","new":"true"},{"seq":1951,"id":"CVE-2026-48598","ts":1788882444614,"field":"exploit_available","old":"true","new":"false"},{"seq":1039,"id":"CVE-2026-48598","ts":1788881879340,"field":"exploit_available","old":"false","new":"true"}]}