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-48596

CVE-2026-48596: Tesla Elixir HTTP Header Injection Flaw

CVE-2026-48596 is an HTTP header injection vulnerability in the Tesla Elixir HTTP client library affecting multipart content handling. This article covers technical details, affected versions 0.8.0-1.18.2, and mitigation.

Published: June 4, 2026

CVE-2026-48596 Overview

CVE-2026-48596 is an HTTP header injection vulnerability in the elixir-tesla HTTP client library for Elixir. The flaw resides in Tesla.Multipart.add_content_type_param/2, which appends caller-supplied strings to the multipart content_type_params list without validating for carriage return (\r) or line feed (\n) characters. When Tesla.Multipart.headers/1 joins these parameters into the outbound Content-Type header, embedded CRLF sequences split the header line and allow arbitrary header injection. Applications forwarding untrusted input such as user-supplied charsets or parameter strings into the affected function are exposed. The issue affects tesla from version 0.8.0 before 1.18.3 and maps to CWE-113.

Critical Impact

Attackers controlling input passed to add_content_type_param/2 can inject arbitrary HTTP headers into outbound requests, enabling request smuggling, cache poisoning, or downstream integrity issues against connected services.

Affected Products

  • elixir-tesla tesla library versions 0.8.0 through 1.18.2
  • Elixir applications using Tesla.Multipart.add_content_type_param/2 with untrusted input
  • Downstream services receiving HTTP requests generated through the vulnerable multipart code path

Discovery Timeline

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

Technical Details for CVE-2026-48596

Vulnerability Analysis

The vulnerability is a classic HTTP Request/Response Splitting issue caused by missing neutralization of CRLF sequences in user-controlled input. Tesla is a widely used HTTP client library in the Elixir ecosystem, and its multipart support builds the Content-Type header by concatenating parameters provided through add_content_type_param/2. Because the function performs no validation on the input string, any \r\n characters survive into Tesla.Multipart.headers/1, where they are emitted verbatim. The resulting raw bytes terminate the legitimate Content-Type header and start a new header line, giving attackers control over the outbound request structure. The downstream impact depends on the target server, but typical consequences include header overwrite, request smuggling against shared proxies, and unintended routing or authentication behavior.

Root Cause

The root cause is improper neutralization of CRLF sequences in HTTP headers (CWE-113). Tesla.Multipart.add_content_type_param/2 accepts a string and appends it to an internal list without filtering or rejecting CR and LF bytes. Tesla.Multipart.headers/1 then joins those entries with "; " and emits the result directly as the Content-Type header value, with no escaping or validation pass before serialization.

Attack Vector

Exploitation requires an application that forwards untrusted input into add_content_type_param/2. A common case is an API endpoint that accepts a charset, boundary, or other parameter from a client and passes it to the Tesla multipart builder. The attacker supplies a payload containing \r\n followed by an attacker-chosen header line. Tesla emits the crafted bytes into the outbound request, and the receiving server parses the injected header as legitimate. Refer to the GitHub Security Advisory GHSA-q7jx-v53g-848w and the fix commit for the precise code path and patch details.

Detection Methods for CVE-2026-48596

Indicators of Compromise

  • Outbound HTTP requests containing Content-Type header values with embedded %0D%0A, \r\n, or unexpected additional header lines.
  • Application logs showing user-supplied charset, boundary, or parameter values containing CR or LF characters.
  • Anomalous duplicate or attacker-controlled headers (for example, injected Host, Authorization, or X-Forwarded-For) on requests originating from Elixir services.

Detection Strategies

  • Perform a dependency audit of Elixir projects for tesla versions in the 0.8.0 to 1.18.2 range using mix deps or SBOM tooling.
  • Conduct static code review for any call site invoking Tesla.Multipart.add_content_type_param/2 with values derived from request parameters, headers, or external data sources.
  • Inspect egress proxy or web application firewall logs for outbound requests whose Content-Type header contains line terminators or unexpected secondary headers.

Monitoring Recommendations

  • Enable verbose HTTP client logging in staging environments to capture raw outbound headers for review.
  • Alert on outbound requests where header values contain 0x0D or 0x0A bytes after the initial header name boundary.
  • Track upgrades of the tesla dependency across CI pipelines to confirm remediation reaches all services.

How to Mitigate CVE-2026-48596

Immediate Actions Required

  • Upgrade the tesla dependency to version 1.18.3 or later in mix.exs and redeploy all affected Elixir services.
  • Audit every call to Tesla.Multipart.add_content_type_param/2 and remove or sanitize untrusted input before it reaches the function.
  • Add input validation that rejects any string containing \r or \n before constructing multipart requests.

Patch Information

The maintainers released the fix in tesla version 1.18.3. The corrective change is documented in the official fix commit and the GHSA-q7jx-v53g-848w advisory. Additional records are available at the CNA advisory and OSV entry.

Workarounds

  • Where immediate upgrade is not possible, wrap calls to add_content_type_param/2 with a helper that rejects strings containing CR or LF bytes.
  • Constrain user-supplied charset and parameter inputs to a strict allowlist of ASCII tokens before they reach Tesla.
  • Place an egress proxy in front of Elixir services that normalizes or rejects HTTP requests containing malformed header values.
bash
# Configuration example - update tesla in mix.exs
# {:tesla, "~> 1.18.3"}
mix deps.update tesla
mix deps.get
mix compile

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.02%

  • 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-113
  • Technical References
  • CNA CVE-2026-48596 Record

  • GitHub Commit for Tesla

  • GitHub Security Advisory GHSA-q7jx-v53g-848w

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

  • 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