CVE-2026-48596: elixir-tesla Tesla HTTP header injection in Tesla.Multipart

CVE-2026-48596 · Severity: low · CVSS 2.1 · Published 2026-06-02

Tesla is a popular HTTP client library for the Elixir programming language. A vulnerability exists where the library fails to properly check for line breaks in certain request headers, which could allow an attacker to inject unauthorized headers into outbound web requests. This could lead to request smuggling or the forging of request metadata, potentially bypassing security controls on the receiving server.

Quick answers

Is CVE-2026-48596 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-48596 being exploited in the wild.
How severe is CVE-2026-48596?
Low severity, with a CVSS score of 2.1, published 2 June 2026.
Which products and versions are affected?
elixir-tesla Tesla >= 0.8.0, < 1.18.3.
Is there a fix for CVE-2026-48596?
A patch was published on 1.18.3. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-48596 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-48596?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A CRLF injection vulnerability exists in Tesla.Multipart.add_content_type_param/2 within lib/tesla/multipart.ex. The function appends caller-supplied strings to the multipart Content-Type header without validating or neutralizing carriage return (\r) and line feed (\n) characters. An attacker who can control content-type parameters (such as charset or boundary values) can inject arbitrary HTTP headers into outbound requests. This can lead to HTTP request splitting or smuggling against upstream servers. The issue is fixed in version 1.18.3 by implementing proper validation of parameter strings.

Affected products

  • elixir-tesla Tesla >= 0.8.0, < 1.18.3

Identifiers

  • CVE-2026-48596
  • GHSA-q7jx-v53g-848w

Timeline

  • 2026-06-02: disclosed: Initial disclosure and NVD publication
  • 2026-07-10: advisory: GitHub Advisory published
  • 1.18.3: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.