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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.1
- **CVSS:** 2.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-116
- **Published:** 2026-06-02T19:08:19.921Z
- **Modified:** 2026-11-19T08:24:40.712Z

## Who should check

- Anyone running elixir-tesla tesla \>= 0.8.0, \< 1.18.3
- Anyone running elixir-tesla tesla \>= 6ebfdb9abe9c6f119408045b933d82462decd351, \< bb1a2c3da2775924d96e3db8e315dcc4d5d2246e

## 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.

## Affected and fixed versions

- elixir-tesla tesla: \>= 0.8.0, \< 1.18.3 (cvelist)
- elixir-tesla tesla: \>= 6ebfdb9abe9c6f119408045b933d82462decd351, \< bb1a2c3da2775924d96e3db8e315dcc4d5d2246e (cvelist)

## Mitigation

- Upgrade tesla to 1.18.3 or later.
- Vendor workaround: Validate disposition parameter values before passing them to Tesla.Multipart.add\_field/4, Tesla.Multipart.add\_file/3, or Tesla.Multipart.add\_file\_content/4, rejecting any value that contains \\r, \\n, or ".

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-48598. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-48598.md
Affected: elixir-tesla tesla >= 0.8.0, < 1.18.3; elixir-tesla tesla >= 6ebfdb9abe9c6f119408045b933d82462decd351, < bb1a2c3da2775924d96e3db8e315dcc4d5d2246e
Fixed in: elixir-tesla tesla 1.18.3

Steps:
1. Search this machine and project for elixir-tesla tesla: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-48598 being exploited?

There is no confirmed exploitation: CVE-2026-48598 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-48598?

Low: CVSS 2.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-48598?

elixir-tesla tesla \>= 0.8.0, \< 1.18.3; elixir-tesla tesla \>= 6ebfdb9abe9c6f119408045b933d82462decd351, \< bb1a2c3da2775924d96e3db8e315dcc4d5d2246e.

### Is there a fix for CVE-2026-48598?

Yes. Fixed in elixir-tesla tesla 1.18.3. Upgrade tesla to 1.18.3 or later. Vendor workaround: Validate disposition parameter values before passing them to Tesla.Multipart.add\_field/4, Tesla.Multipart.add\_file/3, or Tesla.Multipart.add\_file\_content/4, rejecting any value that contains \\r, \\n, or ".

### How do I check if I'm affected by CVE-2026-48598?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4>
- patch: <https://github.com/elixir-tesla/tesla/commit/6ebfdb9abe9c6f119408045b933d82462decd351>
- patch: <https://github.com/elixir-tesla/tesla/commit/bb1a2c3da2775924d96e3db8e315dcc4d5d2246e>
- other: <https://cna.erlef.org/cves/CVE-2026-48598.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-48598>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-48598>

HTML: <https://flawdb.com/CVE-2026-48598> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-48598>
