Vulnerability EEF-CVE-2026-48596

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
5 months ago
June 02, 2026 at 07:09 PM UTC
CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection
0.8.0 - 1.18.2
0.8.0 - 1.18.2

Summary

CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection

Details

Summary

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.

Workarounds

Validate content-type parameter strings before passing them to Tesla.Multipart.add_content_type_param/2, rejecting any value that contains \r or \n.

Configurations

The application must pass untrusted input into Tesla.Multipart.add_content_type_param/2.

Impacted packages

Timeline

Published
5 months ago
June 02, 2026 at 07:09 PM UTC
Fixed (1.18.3)
5 months ago
June 02, 2026 at 07:05 PM UTC
Last Modified
2 days ago
November 20, 2026 at 06:00 AM UTC