{"id":"CVE-2026-48596","published":"2026-06-02T19:09:31Z","modified":"2026-11-19T08:24:50Z","title":"CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection","vendor":"elixir-tesla","product":"tesla","tier":"tail","description":{"text":"Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in elixir-tesla tesla allows HTTP header injection via Tesla.Multipart.add_content_type_param/2.\n\nTesla.Multipart.add_content_type_param/2 appends caller-supplied strings to the multipart content_type_params list without validating for CR (\\r) or LF (\\n) characters. Tesla.Multipart.headers/1 then joins these params verbatim with \"; \" to construct the outgoing Content-Type header value. A param containing \\r\\n splits the header line, allowing arbitrary headers to be injected into the outbound HTTP request. Any application that forwards untrusted input (such as a user-supplied charset or parameter string) into add_content_type_param/2 is affected.\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.00239,"percentile":0.15293,"provenance":"source"},"cwes":[{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"references":[{"url":"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-q7jx-v53g-848w","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48596.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48596","tags":["related"]},{"url":"https://github.com/elixir-tesla/tesla/commit/6ebfdb9abe9c6f119408045b933d82462decd351","tags":["related"]},{"url":"https://github.com/elixir-tesla/tesla/commit/23601edac5d22ba9407b427967b5bdbda201aec2","tags":["patch"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":3.06},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"elixir-tesla","affectedVersions":[{"vendor":"elixir-tesla","product":"tesla","versions":[">= 0.8.0, < 1.18.3"]},{"vendor":"elixir-tesla","product":"tesla","versions":[">= 6ebfdb9abe9c6f119408045b933d82462decd351, < 23601edac5d22ba9407b427967b5bdbda201aec2"]}],"workarounds":{"items":["Validate content-type parameter strings before passing them to Tesla.Multipart.add_content_type_param/2, rejecting any value that contains \\r or \\n."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-105","name":"HTTP Request Splitting"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T13:01:48.568462Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"tesla","vulnerableRanges":[">=0.8.0, <1.18.3"],"patched":["1.18.3"],"from":["GHSA-q7jx-v53g-848w"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-34016","exploited":false,"provenance":"source"}}