# CVE-2026-48598: CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection

- Severity: Low 2.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-02T19:08:19.921Z
- Modified: 2026-11-26T17:23:04.462Z
- Also known as: GHSA-28jh-g32x-v9v4, EEF-CVE-2026-48598
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## Description

Improper Encoding or Escaping of Output vulnerability in elixir-tesla tesla allows multipart part header injection via unescaped Content-Disposition parameter values.

Tesla.Multipart.part_headers_for_disposition/1 interpolates each disposition parameter as #{k}="#{v}" with no validation of CR (\r), LF (\n), or double-quote characters. The values come verbatim from the caller via Tesla.Multipart.add_field/4 (the name parameter), Tesla.Multipart.add_file/3, and Tesla.Multipart.add_file_content/4 (both the filename parameter and other disposition opts). A " in the value closes the quoted parameter early; a \r\n ends the Content-Disposition header line and starts a new part header (such as a forged Content-Type), or, after a second \r\n, ends the entire part header block and prepends bytes to the part body. The default-filename path in add_file/3 derives the filename via Path.basename/1, which does not strip CR or LF, so any application forwarding a partially-attacker-controlled file path inherits the same issue.

This issue affects tesla: from 0.8.0 before 1.18.3.

(As written by CVE List.)

## Affected

- tesla: from 0.8.0 before 1.18.3
- elixir-tesla/tesla: from 6ebfdb9abe9c6f119408045b933d82462decd351 before bb1a2c3da2775924d96e3db8e315dcc4d5d2246e
- tesla (Hex): from 0.8.0 before 1.18.3
- https://github.com/elixir-tesla/tesla: from 6ebfdb9abe9c6f119408045b933d82462decd351 before bb1a2c3da2775924d96e3db8e315dcc4d5d2246e
- elixir-tesla tesla: from 0.8.0 before 1.18.3

## Every score

- EEF: CVSS:4.0 2.1 Low `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`
- GitHub: CVSS:4.0 Low `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`
- Erlang Ecosystem Foundation: 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`
- NVD: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4> (exploit, advisory, related, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-48598.html> (mitigation, related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-48598> (related, third-party-advisory, web)
- <https://github.com/elixir-tesla/tesla/commit/6ebfdb9abe9c6f119408045b933d82462decd351> (related, web)
- <https://github.com/elixir-tesla/tesla/commit/bb1a2c3da2775924d96e3db8e315dcc4d5d2246e> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48598> (advisory)
- <https://github.com/elixir-tesla/tesla> (package)
- <https://hex.pm/packages/tesla> (package)

## Sources

- CVE List: [CVE-2026-48598](https://www.cve.org/CVERecord?id=CVE-2026-48598), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-28jh-g32x-v9v4](https://github.com/advisories/GHSA-28jh-g32x-v9v4), CC-BY-4.0, modified 2026-07-10
- Erlang Ecosystem Foundation: [EEF-CVE-2026-48598](https://osv.dev/vulnerability/EEF-CVE-2026-48598), CC-BY-4.0, modified 2026-11-26
- NVD: [CVE-2026-48598](https://nvd.nist.gov/vuln/detail/CVE-2026-48598), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-48598 · Whole record: https://cve.day/CVE-2026-48598.json · Rebuilt by cve.day 2026-11-26T17:37:05.116Z
