{"id":"CVE-2026-48596","revision":"7172cbe599bf448cbe9375de754509c2","records":[{"revision":"7172cbe599bf448cbe9375de754509c2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-48596","aliases":[],"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.","state":0,"publishedAt":"2026-06-02T19:09:31.615+00:00","modifiedAt":"2026-09-24T20:53:10.649+00:00","affected":[{"ecosystem":"https://repo.hex.pm","name":"tesla","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://repo.hex.pm\",\n                    \"cpes\": [\n                        \"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*\"\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"modules\": [\n                        \"'Elixir.Tesla.Multipart'\"\n                    ],\n                    \"packageName\": \"tesla\",\n                    \"packageURL\": \"pkg:hex/tesla\",\n                    \"product\": \"tesla\",\n                    \"programFiles\": [\n                        \"lib/tesla/multipart.ex\"\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"'Elixir.Tesla.Multipart':add_content_type_param/2\"\n                        },\n                        {\n                            \"name\": \"'Elixir.Tesla.Multipart':headers/1\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/elixir-tesla/tesla\",\n                    \"vendor\": \"elixir-tesla\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"1.18.3\",\n                            \"status\": \"affected\",\n                            \"version\": \"0.8.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"https://github.com","name":"elixir-tesla/tesla","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://github.com\",\n                    \"cpes\": [\n                        \"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*\"\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"modules\": [\n                        \"'Elixir.Tesla.Multipart'\"\n                    ],\n                    \"packageName\": \"elixir-tesla/tesla\",\n                    \"packageURL\": \"pkg:github/elixir-tesla/tesla\",\n                    \"product\": \"tesla\",\n                    \"programFiles\": [\n                        \"lib/tesla/multipart.ex\"\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"'Elixir.Tesla.Multipart':add_content_type_param/2\"\n                        },\n                        {\n                            \"name\": \"'Elixir.Tesla.Multipart':headers/1\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/elixir-tesla/tesla\",\n                    \"vendor\": \"elixir-tesla\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"23601edac5d22ba9407b427967b5bdbda201aec2\",\n                            \"status\": \"affected\",\n                            \"version\": \"6ebfdb9abe9c6f119408045b933d82462decd351\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":2.1,"severity":"LOW"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-48596","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-48596","identifiers":["CVE-2026-48596"]},"retained":false,"historicalAffected":[]}],"coverage":[]}