Vulnerability advisory
CVE-2026-48596
CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection
Also known as EEF-CVE-2026-48596GHSA-q7jx-v53g-848w
- CVSS 4.0
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
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/elixir-tesla/tesla ↗ | |
| fed422b5ec981cc6237b6a2c1be52e4564461bad to before 2eb7a78948f9c3b18509bf28bdc729e07f46e0dc | 2eb7a78948f9c3b18509bf28bdc729e07f46e0dc |
| Not specified | 23601edac5d22ba9407b427967b5bdbda201aec2 |
| Not specified | 6ebfdb9abe9c6f119408045b933d82462decd351 |
Also listed as affected (51)
| |
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.
Tesla.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.
This issue affects tesla: from 0.8.0 before 1.18.3.
References
- Webcna.erlef.org/cves/CVE-2026-48596.html ↗
- Webgithub.com ↗
- Webosv.dev/vulnerability/EEF-CVE-2026-48596 ↗
- Webrepo.hex.pm ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48596.json ↗
- Advisorygithub.com/elixir-tesla/tesla/security/advisories/GHSA-q7jx-v53g-848w ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-48596 ↗
- Fixgithub.com/elixir-tesla/tesla/commit/23601edac5d22ba9407b427967b5bdbda201aec2 ↗
- Fixgithub.com/elixir-tesla/tesla/commit/6ebfdb9abe9c6f119408045b933d82462decd351 ↗
- Packagegithub.com/elixir-tesla/tesla ↗