A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-48598

CVE-2026-48598: Elixir Tesla Multipart Header Injection

CVE-2026-48598 is a multipart part header injection flaw in elixir-tesla that allows attackers to inject malicious headers through unescaped Content-Disposition parameters. This article covers technical details, affected versions, and mitigation.

Published: June 4, 2026

CVE-2026-48598 Overview

CVE-2026-48598 is an improper encoding or escaping of output vulnerability [CWE-116] in the elixir-tesla HTTP client library. The flaw allows multipart part header injection through unescaped Content-Disposition parameter values. The function Tesla.Multipart.part_headers_for_disposition/1 interpolates disposition parameters without validating carriage return (\r), line feed (\n), or double-quote characters. Attackers who control field names, filenames, or disposition options can break out of the quoted parameter context and inject arbitrary headers or body content. The issue affects tesla versions from 0.8.0 before 1.18.3.

Critical Impact

An attacker who controls multipart field names, filenames, or disposition options can inject forged headers such as Content-Type or prepend bytes into the part body of outbound HTTP requests.

Affected Products

  • elixir-tesla tesla versions 0.8.0 through 1.18.2
  • Elixir applications using Tesla.Multipart.add_field/4, add_file/3, or add_file_content/4 with untrusted input
  • Downstream services consuming multipart requests built from attacker-influenced file paths

Discovery Timeline

  • 2026-06-02 - CVE-2026-48598 published to NVD
  • 2026-06-03 - Last updated in NVD database

Technical Details for CVE-2026-48598

Vulnerability Analysis

The vulnerability resides in Tesla.Multipart.part_headers_for_disposition/1, which builds Content-Disposition parameters using direct string interpolation of the form #{k}="#{v}". No sanitization removes CRLF sequences or double-quote characters from the value. Callers supply these values through Tesla.Multipart.add_field/4, Tesla.Multipart.add_file/3, and Tesla.Multipart.add_file_content/4. The name parameter, the filename parameter, and arbitrary disposition options all flow into the unsafe interpolation path verbatim.

A double-quote character in a parameter value closes the quoted parameter early and exposes additional disposition syntax to manipulation. A \r\n sequence terminates the Content-Disposition header line and starts a new header within the same part, enabling a forged Content-Type or other part-level header. A subsequent \r\n terminates the entire part header block and prepends attacker-controlled bytes to the part body.

Root Cause

The root cause is missing output encoding [CWE-116] on disposition parameter values. The library trusts caller input and emits it into a structured wire protocol without escaping the structural characters that delimit headers and quoted strings.

Attack Vector

Exploitation requires a calling application to forward attacker-controlled input into a multipart field name, filename, or disposition option. The add_file/3 default-filename path derives the filename via Path.basename/1, which preserves CR and LF characters. Any application that forwards a partially attacker-controlled file path inherits the injection primitive without explicitly opting in.

No verified exploit code is published. See the GitHub Security Advisory GHSA-28jh-g32x-v9v4 and the fix commit bb1a2c3d for technical details.

Detection Methods for CVE-2026-48598

Indicators of Compromise

  • Outbound multipart requests containing raw \r\n byte sequences inside Content-Disposition parameter values.
  • Multipart parts where a single Content-Disposition declaration is followed by an unexpected second header such as a duplicate Content-Type.
  • Filenames or field names in logs containing embedded double-quote characters or control characters.

Detection Strategies

  • Audit application code for calls to Tesla.Multipart.add_field/4, add_file/3, and add_file_content/4 where the name, filename, or disposition option arguments originate from user input.
  • Capture and inspect HTTP egress at a proxy and flag multipart bodies whose part headers contain 0x0D 0x0A inside quoted parameter values.
  • Review dependency manifests (mix.exs, mix.lock) for tesla versions earlier than 1.18.3.

Monitoring Recommendations

  • Log and alert on Elixir application deployments still pinned to vulnerable tesla releases.
  • Add static analysis rules that flag direct interpolation of request-derived values into multipart helpers.
  • Monitor receiving services for parse errors or anomalous part headers indicative of injection attempts.

How to Mitigate CVE-2026-48598

Immediate Actions Required

  • Upgrade tesla to version 1.18.3 or later in all Elixir projects.
  • Identify code paths that pass user-controlled strings to multipart helpers and add input validation rejecting \r, \n, and " characters.
  • Sanitize filenames derived from external paths before passing them to Tesla.Multipart.add_file/3.

Patch Information

The fix is included in tesla1.18.3. The remediation commit is bb1a2c3d. Additional details are available in the CNA advisory for CVE-2026-48598 and the OSV record EEF-CVE-2026-48598.

Workarounds

  • Reject or strip CR, LF, and double-quote characters from any value passed as a multipart field name, filename, or disposition option.
  • Replace default-filename behavior with an explicit filename option containing a vetted, sanitized string.
  • Constrain user-influenced filenames to an allow-list of safe characters such as [A-Za-z0-9._-] before invoking multipart helpers.
bash
# Configuration example
# Pin a fixed tesla version in mix.exs
# {:tesla, "~> 1.18.3"}
mix deps.update tesla
mix deps.get

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechTesla

  • SeverityLOW

  • CVSS Score2.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-116
  • Technical References
  • CNA CVE-2026-48598 Detail

  • GitHub Commit Update

  • GitHub Security Advisory GHSA-28jh-g32x-v9v4

  • OSV Vulnerability EEF-CVE-2026-48598
  • Related CVEs
  • CVE-2026-48596: Tesla Elixir HTTP Header Injection Flaw

  • CVE-2026-48595: Tesla Credential Leakage Vulnerability

  • CVE-2026-48594: Elixir Tesla HTTP Client DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English