{"id":"CVE-2026-48596","state":"PUBLISHED","title":"CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection","description":"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.","publishedAt":"2026-06-02T19:09:31.615Z","updatedAt":"2026-09-24T20:53:10.649Z","severity":{"score":2.1,"label":"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","source":"EEF"},"assigner":"EEF","products":["elixir-tesla tesla"],"affected":[{"vendor":"elixir-tesla","product":"tesla","packageName":"tesla","packageURL":"pkg:hex/tesla","defaultStatus":"unaffected","versions":[{"version":"0.8.0","status":"affected","lessThan":"1.18.3","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Tesla.Multipart'"],"programFiles":["lib/tesla/multipart.ex"],"programRoutines":[{"name":"'Elixir.Tesla.Multipart':add_content_type_param/2"},{"name":"'Elixir.Tesla.Multipart':headers/1"}],"repo":"https://github.com/elixir-tesla/tesla"},{"vendor":"elixir-tesla","product":"tesla","packageName":"elixir-tesla/tesla","packageURL":"pkg:github/elixir-tesla/tesla","defaultStatus":"unaffected","versions":[{"version":"6ebfdb9abe9c6f119408045b933d82462decd351","status":"affected","lessThan":"23601edac5d22ba9407b427967b5bdbda201aec2","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Tesla.Multipart'"],"programFiles":["lib/tesla/multipart.ex"],"programRoutines":[{"name":"'Elixir.Tesla.Multipart':add_content_type_param/2"},{"name":"'Elixir.Tesla.Multipart':headers/1"}],"repo":"https://github.com/elixir-tesla/tesla"}],"references":["https://github.com/elixir-tesla/tesla/security/advisories/GHSA-q7jx-v53g-848w","https://cna.erlef.org/cves/CVE-2026-48596.html","https://osv.dev/vulnerability/EEF-CVE-2026-48596","https://github.com/elixir-tesla/tesla/commit/6ebfdb9abe9c6f119408045b933d82462decd351","https://github.com/elixir-tesla/tesla/commit/23601edac5d22ba9407b427967b5bdbda201aec2"],"weaknesses":["CWE-113"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48596.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48596","state":"PUBLISHED","datePublished":"2026-06-02T19:09:31.615Z","dateUpdated":"2026-09-24T20:53:10.649Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-05-22T09:36:56.834Z"},"containers":{"cna":{"title":"CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"elixir-tesla","product":"tesla","packageName":"tesla","packageURL":"pkg:hex/tesla","defaultStatus":"unaffected","versions":[{"version":"0.8.0","status":"affected","lessThan":"1.18.3","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Tesla.Multipart'"],"programFiles":["lib/tesla/multipart.ex"],"programRoutines":[{"name":"'Elixir.Tesla.Multipart':add_content_type_param/2"},{"name":"'Elixir.Tesla.Multipart':headers/1"}],"repo":"https://github.com/elixir-tesla/tesla"},{"vendor":"elixir-tesla","product":"tesla","packageName":"elixir-tesla/tesla","packageURL":"pkg:github/elixir-tesla/tesla","defaultStatus":"unaffected","versions":[{"version":"6ebfdb9abe9c6f119408045b933d82462decd351","status":"affected","lessThan":"23601edac5d22ba9407b427967b5bdbda201aec2","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Tesla.Multipart'"],"programFiles":["lib/tesla/multipart.ex"],"programRoutines":[{"name":"'Elixir.Tesla.Multipart':add_content_type_param/2"},{"name":"'Elixir.Tesla.Multipart':headers/1"}],"repo":"https://github.com/elixir-tesla/tesla"}],"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","name":"EEF CNA record for CVE-2026-48596","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48596","name":"OSV record EEF-CVE-2026-48596","tags":["related"]},{"url":"https://github.com/elixir-tesla/tesla/commit/6ebfdb9abe9c6f119408045b933d82462decd351","name":"Introducing commit 6ebfdb9 in elixir-tesla/tesla","tags":["related"]},{"url":"https://github.com/elixir-tesla/tesla/commit/23601edac5d22ba9407b427967b5bdbda201aec2","name":"Fix commit 23601ed in elixir-tesla/tesla","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":2.1,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-113","description":"CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-24T20:53:10.649Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The application must pass untrusted input into <code>Tesla.Multipart.add_content_type_param/2</code>.</p>"},{"base64":false,"type":"text/markdown","value":"The application must pass untrusted input into `Tesla.Multipart.add_content_type_param/2`."}],"value":"The application must pass untrusted input into Tesla.Multipart.add_content_type_param/2."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*","versionEndExcluding":"1.18.3","versionStartIncluding":"0.8.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Yordis Prieto"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"}],"datePublic":"2026-06-02T19:09:31.000Z","impacts":[{"capecId":"CAPEC-105","descriptions":[{"lang":"en","value":"CAPEC-105 HTTP Request Splitting"}]}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Validate content-type parameter strings before passing them to <code>Tesla.Multipart.add_content_type_param/2</code>, rejecting any value that contains <code>\\r</code> or <code>\\n</code>.</p>"},{"base64":false,"type":"text/markdown","value":"Validate content-type parameter strings before passing them to `Tesla.Multipart.add_content_type_param/2`, rejecting any value that contains `\\r` or `\\n`."}],"value":"Validate content-type parameter strings before passing them to Tesla.Multipart.add_content_type_param/2, rejecting any value that contains \\r or \\n."}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-q7jx-v53g-848w","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-03T13:01:48.568462Z","id":"CVE-2026-48596","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-03T13:01:52.596Z"}}]}}}