Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-48598

LOW 2.1EPSS 20%

CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection

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

Who should check

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

Vulnerability facts

Affected
elixir-tesla tesla >= 0.8.0, < 1.18.3; elixir-tesla tesla >= 6ebfdb9abe9c6f119408045b933d82462decd351, < bb1a2c3da2775924d96e3db8e315dcc4d5d2246e
Fixed in
elixir-tesla tesla 1.18.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
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:NOpen in CVSS calculator
Show all 11 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
EPSS
0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
CWE
CWE-116
Published
Modified

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

Package / productAffectedFixedSource
elixir-tesla tesla>= 0.8.0, < 1.18.3—cvelist
elixir-tesla tesla>= 6ebfdb9abe9c6f119408045b933d82462decd351, < bb1a2c3da2775924d96e3db8e315dcc4d5d2246e—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors