{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Tesla.Multipart'"],"packageName":"tesla","packageURL":"pkg:hex/tesla","product":"tesla","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","versions":[{"lessThan":"1.18.3","status":"affected","version":"0.8.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Tesla.Multipart'"],"packageName":"elixir-tesla/tesla","packageURL":"pkg:github/elixir-tesla/tesla","product":"tesla","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.git","vendor":"elixir-tesla","versions":[{"lessThan":"23601edac5d22ba9407b427967b5bdbda201aec2","status":"affected","version":"6ebfdb9abe9c6f119408045b933d82462decd351","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"The application must pass untrusted input into <tt>Tesla.Multipart.add_content_type_param/2</tt>."}],"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"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in elixir-tesla tesla allows HTTP header injection via <tt>Tesla.Multipart.add_content_type_param/2</tt>.<p><tt>Tesla.Multipart.add_content_type_param/2</tt> appends caller-supplied strings to the multipart <tt>content_type_params</tt> list without validating for CR (<tt>\\r</tt>) or LF (<tt>\\n</tt>) characters. <tt>Tesla.Multipart.headers/1</tt> then joins these params verbatim with <tt>\"; \"</tt> to construct the outgoing <tt>Content-Type</tt> header value. A param containing <tt>\\r\\n</tt> 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 <tt>add_content_type_param/2</tt> is affected.</p><p>This issue affects tesla: from 0.8.0 before 1.18.3.</p>"}],"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."}],"impacts":[{"capecId":"CAPEC-105","descriptions":[{"lang":"en","value":"CAPEC-105 HTTP Request Splitting"}]}],"metrics":[{"cvssV4_0":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":2.1,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","userInteraction":"NONE","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"},"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":{"dateUpdated":"2026-06-02T19:12:34.508Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-q7jx-v53g-848w"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-48596.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48596"},{"tags":["patch"],"url":"https://github.com/elixir-tesla/tesla/commit/23601edac5d22ba9407b427967b5bdbda201aec2"}],"source":{"discovery":"EXTERNAL"},"title":"CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Validate content-type parameter strings before passing them to <tt>Tesla.Multipart.add_content_type_param/2</tt>, rejecting any value that contains <tt>\\r</tt> or <tt>\\n</tt>."}],"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."}],"x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-48596","datePublished":"2026-06-02T19:09:31.615Z","dateReserved":"2026-05-22T09:36:56.834Z","dateUpdated":"2026-06-02T19:12:34.508Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}