Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 91%

CVE-2026-48598: CWE-116 Improper Encoding or Escaping of Output in elixir-tesla tesla

0
Low
VulnerabilityCVE-2026-48598cvecve-2026-48598cwe-116
Published: 06/02/2026 (06/02/2026, 19:08:19 UTC)
Source: CVE Database V5
Vendor/Project: elixir-tesla
Product: tesla

Description

CVE-2026-48598 is a low-severity vulnerability in the elixir-tesla tesla library affecting versions 0.8.0 up to but not including 1.18.3. It involves improper encoding or escaping of output in multipart part headers, allowing injection via unescaped Content-Disposition parameter values. This occurs because the library interpolates disposition parameters without validating carriage return, line feed, or double-quote characters, enabling header injection. The issue can arise when attacker-controlled input is passed as filename or disposition parameters, potentially leading to forged headers or malformed multipart bodies.

CVSS v4.0

Score 2.1low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

tesla
pkg:hex/tesla
Affected versions
=0.8.0<1.18.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 09:31:56 UTC

Technical Analysis

The elixir-tesla tesla library versions 0.8.0 through before 1.18.3 have an improper encoding or escaping vulnerability (CWE-116) in multipart part header construction. Specifically, Tesla.Multipart.part_headers_for_disposition/1 directly interpolates disposition parameters into the Content-Disposition header without sanitizing CR (\r), LF (\n), or double-quote characters. This allows an attacker to inject additional headers or manipulate multipart boundaries by including these characters in parameters such as filename or name, which are passed verbatim from caller functions like Tesla.Multipart.add_field/4 and Tesla.Multipart.add_file/3. The default filename extraction does not strip CR or LF characters, further enabling this injection if attacker-controlled file paths are forwarded. This vulnerability can lead to multipart part header injection but has a low CVSS score of 2.1 and no known exploits in the wild.

Potential Impact

The vulnerability allows injection of multipart part headers via unescaped Content-Disposition parameters, potentially enabling an attacker to forge headers or manipulate multipart message structure. However, the impact is limited due to the low CVSS score (2.1) and the requirement for local access or partial control of input parameters. There are no known exploits in the wild, and the vulnerability does not lead to remote code execution or privilege escalation by itself.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid passing untrusted input directly to multipart disposition parameters or sanitize inputs to remove CR, LF, and double-quote characters before use. Monitor the elixir-tesla project for updates and apply official patches once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-05-22T09:36:56.834Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1f3494e29bf47b50fa2543

Added to database: 06/02/2026, 19:52:52 UTC

Last enriched: 07/10/2026, 09:31:56 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 59

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses