{"id":"CVE-2026-48598","published":"2026-06-02T19:08:19Z","modified":"2026-11-19T08:24:40Z","title":"CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection","vendor":"elixir-tesla","product":"tesla","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00273,"percentile":0.20158,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48598.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48598","tags":["related"]},{"url":"https://github.com/elixir-tesla/tesla/commit/6ebfdb9abe9c6f119408045b933d82462decd351","tags":["related"]},{"url":"https://github.com/elixir-tesla/tesla/commit/bb1a2c3da2775924d96e3db8e315dcc4d5d2246e","tags":["patch"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":4.03},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":1.47}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-09","earliestUrl":"https://github.com/workshops-de/google_gax","repos":[{"name":"workshops-de/google_gax","url":"https://github.com/workshops-de/google_gax","stars":0,"created":"2026-06-09"}]},"first":{"date":"2026-06-09","source":"PoC-in-GitHub","url":"https://github.com/workshops-de/google_gax"},"provenance":"source"},"vendorSlug":"elixir-tesla","affectedVersions":[{"vendor":"elixir-tesla","product":"tesla","versions":[">= 0.8.0, < 1.18.3"]},{"vendor":"elixir-tesla","product":"tesla","versions":[">= 6ebfdb9abe9c6f119408045b933d82462decd351, < bb1a2c3da2775924d96e3db8e315dcc4d5d2246e"]}],"workarounds":{"items":["Validate disposition parameter values before passing them to Tesla.Multipart.add_field/4, Tesla.Multipart.add_file/3, or Tesla.Multipart.add_file_content/4, rejecting any value that contains \\r, \\n, or \"."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-105","name":"HTTP Request Splitting"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T14:58:39.064613Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"tesla","vulnerableRanges":[">=0.8.0, <1.18.3"],"patched":["1.18.3"],"from":["GHSA-28jh-g32x-v9v4"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-34012","exploited":false,"provenance":"source"}}