CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| elixir-tesla | tesla | 0.8.0 to before 1.18.3 | 1.18.3 | Patch available | CNA |
| — | tesla (Hex) | 0.8.0 to before 1.18.3 | 1.18.3 | Patch available | GHSA-q7jx-v53g-848w |
- tesla Vendorelixir-tesla Affected 0.8.0 to before 1.18.3 Fixed in 1.18.3 Patch available CNA
- tesla (Hex) Vendor— Affected 0.8.0 to before 1.18.3 Fixed in 1.18.3 Patch available GHSA-q7jx-v53g-848w
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:* | 0.8.0 to before 1.18.3 | Vulnerable | elixir-tesla |
- cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:* Versions 0.8.0 to before 1.18.3 Vulnerable ·elixir-tesla
Remediation
- Fix · CNA tesla (elixir-tesla) Fixed in 1.18.3
- Fix · GHSA-q7jx-v53g-848w tesla (Hex) Fixed in 1.18.3 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
elixir-tesla tesla 1.18.3
5 records Highest priority Priority HIGH 2 HIGH, 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-35953 Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.MintPriority HIGH 69
- TI-2026-35951 Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirectsPriority HIGH 69
- TI-2026-35954 CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injectionPriority MEDIUM 44
Timeline
- 2026-10-02 Threatist record created from CVE-2026-48596
- 2026-10-03 Alias added: GHSA-q7jx-v53g-848w
References
Advisory 3
More elixir-tesla Tesla vulnerabilities
- TI-2026-35953 Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint CVSS 4.0HIGH 8.2
- TI-2026-35951 Authorization header leaks to third-party origin on cross-origin redirect in Tesla.Middleware.FollowRedirects CVSS 4.0HIGH 8.2
- TI-2026-35954 CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection CVSS 4.0LOW 2.1
- TI-2026-35950 Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression CVSS 4.0HIGH 8.2
Sources
- CVE-2026-48596 · CVE Program
- CVE-2026-48596 · NVD
- FIRST EPSS
- GHSA-q7jx-v53g-848w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences