The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-26961

CVE-2026-26961: Rack Multipart Smuggling Vulnerability

CVE-2026-26961 is a multipart content smuggling flaw in Rack that allows attackers to bypass upstream security inspection. This post explains its impact, affected versions, and mitigation steps.

Published: April 2, 2026

CVE-2026-26961 Overview

CVE-2026-26961 is a HTTP Request Smuggling vulnerability in Rack, a modular Ruby web server interface. The vulnerability exists in Rack::Multipart::Parser, which extracts the boundary parameter from multipart/form-data using a greedy regular expression. When a Content-Type header contains multiple boundary parameters, Rack selects the last one rather than the first. In deployments where an upstream proxy, WAF, or intermediary interprets the first boundary parameter, this mismatch can allow an attacker to smuggle multipart content past upstream inspection and have Rack parse a different body structure than the intermediary validated.

Critical Impact

Attackers can bypass WAF and proxy validation by exploiting boundary parameter interpretation differences, potentially smuggling malicious payloads past security controls.

Affected Products

  • Rack versions prior to 2.2.23
  • Rack versions prior to 3.1.21
  • Rack versions prior to 3.2.6

Discovery Timeline

  • 2026-04-02 - CVE CVE-2026-26961 published to NVD
  • 2026-04-02 - Last updated in NVD database

Technical Details for CVE-2026-26961

Vulnerability Analysis

This vulnerability stems from how Rack::Multipart::Parser processes boundary parameters in multipart form data. The parser uses a greedy regular expression pattern that, when encountering multiple boundary parameters in a single Content-Type header, extracts the last occurrence rather than the first. This behavior deviates from how many upstream security devices (proxies, WAFs, and other intermediaries) interpret the same header, creating a parsing differential that attackers can exploit.

The attack enables content smuggling where the security intermediary validates one interpretation of the multipart body while Rack processes an entirely different structure. This parsing mismatch is classified under CWE-436 (Interpretation Conflict), representing a fundamental disagreement between components about how to interpret the same data.

Root Cause

The root cause is the use of a greedy regular expression in Rack::Multipart::Parser for extracting the boundary parameter from the Content-Type header. When multiple boundary= directives are present, the regex captures the last match instead of the first. Since RFC specifications and common implementations typically use the first occurrence, this creates an exploitable interpretation conflict with upstream systems.

Attack Vector

The attack requires network access and exploits the interpretation conflict between Rack and upstream security infrastructure. An attacker crafts a malicious HTTP request with a Content-Type header containing multiple boundary parameters. The upstream WAF or proxy validates the request body using the first boundary parameter, while Rack parses the body using the last boundary parameter. This allows attackers to include payloads that appear benign to the WAF but contain malicious content when processed by the Ruby application.

The vulnerability is exploited by sending specially crafted multipart/form-data requests where the Content-Type header includes multiple boundary parameters. Security intermediaries validate the first boundary interpretation while Rack processes content delimited by the last boundary, allowing malicious payloads to bypass inspection. See the GitHub Security Advisory for additional technical details.

Detection Methods for CVE-2026-26961

Indicators of Compromise

  • HTTP requests with multiple boundary= parameters in the Content-Type header
  • Unusual multipart form data that fails WAF validation but succeeds at the application layer
  • Web server logs showing discrepancies between proxy-logged content and application-received data
  • Increased error rates or unexpected behavior in multipart file upload processing

Detection Strategies

  • Configure WAF rules to detect and block Content-Type headers containing multiple boundary parameters
  • Implement request correlation monitoring between upstream proxies and application servers to identify parsing discrepancies
  • Deploy SentinelOne Singularity Platform to monitor Ruby application behavior for anomalous request processing patterns
  • Create custom detection rules for HTTP headers with duplicate parameter names in multipart requests

Monitoring Recommendations

  • Enable verbose logging for multipart form processing in Rack-based applications
  • Monitor for requests where the Content-Type header length exceeds typical values
  • Set up alerts for boundary parameter anomalies in web server access logs
  • Implement application-layer monitoring to detect payload mismatches between security layer validation and actual processing

How to Mitigate CVE-2026-26961

Immediate Actions Required

  • Upgrade Rack to version 2.2.23, 3.1.21, or 3.2.6 depending on your current major version
  • Audit upstream proxy and WAF configurations to ensure they reject requests with multiple boundary parameters
  • Review application logs for any historical evidence of exploitation attempts
  • Ensure all Ruby web applications in your environment have their Rack dependency updated

Patch Information

The vulnerability has been patched in Rack versions 2.2.23, 3.1.21, and 3.2.6. Organizations should update their Rack gem dependency to the appropriate patched version based on their current major version branch. The fix ensures consistent boundary parameter extraction that aligns with upstream security device interpretation. For complete details, refer to the GitHub Security Advisory.

Workarounds

  • Configure upstream proxies to reject requests containing multiple boundary= parameters in the Content-Type header
  • Implement custom middleware to validate and normalize multipart boundary parameters before Rack processing
  • Deploy WAF rules to detect and block potentially malicious multipart request patterns
  • Consider restricting multipart form uploads to authenticated users only where possible
bash
# Update Rack to patched version via Bundler
bundle update rack

# Verify installed Rack version is patched
bundle show rack

# For Rack 2.x series, ensure version >= 2.2.23
# For Rack 3.1.x series, ensure version >= 3.1.21
# For Rack 3.2.x series, ensure version >= 3.2.6

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechRack

  • SeverityLOW

  • CVSS Score3.7

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-436
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32762: Rack Header Parsing Vulnerability

  • CVE-2026-26962: Rack Header Injection Vulnerability

  • CVE-2025-27111: Rack Log Injection Vulnerability

  • CVE-2025-25184: Rack Log Injection Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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