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

CVE-2026-26961: Rack Ruby Web Server CSRF Vulnerability

CVE-2026-26961 is a CSRF flaw in Rack's multipart parser that enables content smuggling through boundary parameter mismatches. This article covers technical details, affected versions, security impact, and mitigation.

Updated: May 14, 2026

CVE-2026-26961 Overview

CVE-2026-26961 is a request smuggling vulnerability in Rack, the modular Ruby web server interface used by frameworks such as Ruby on Rails and Sinatra. The flaw resides in Rack::Multipart::Parser, which extracts the boundary parameter from multipart/form-dataContent-Type headers using a greedy regular expression. When a request contains multiple boundary parameters, Rack selects the last one while upstream proxies or web application firewalls (WAFs) typically select the first. This parser discrepancy [CWE-436] allows attackers to bypass upstream inspection and have Rack parse a different body structure than the intermediary validated. The issue affects all Rack versions prior to 2.2.23, 3.1.21, and 3.2.6.

Critical Impact

Attackers can smuggle multipart content past upstream WAFs and proxies, undermining security inspection on any Ruby application using vulnerable Rack versions behind an intermediary.

Affected Products

  • Rack versions prior to 2.2.23
  • Rack versions 3.1.0 through 3.1.20
  • Rack versions 3.2.0 through 3.2.5

Discovery Timeline

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

Technical Details for CVE-2026-26961

Vulnerability Analysis

The vulnerability is an interpretation conflict between Rack and upstream HTTP intermediaries. Rack uses a greedy regular expression to extract the boundary parameter from the Content-Type header of multipart/form-data requests. When the header includes more than one boundary= parameter, the regex consumes input until the last match, causing Rack to use the final boundary value.

Upstream proxies, WAFs, and CDNs typically follow the more common convention of using the first parameter value encountered. This mismatch produces two divergent views of the same HTTP body. The intermediary parses and validates the request using one boundary, while Rack processes a different multipart structure entirely.

The consequence is classic parser-differential request smuggling. An attacker can craft a payload where benign-looking content sits between the first boundary markers and malicious content sits between the second boundary markers. Inspection tools approve the request based on the first interpretation, while Rack ingests the smuggled second structure.

Root Cause

The root cause is the use of a greedy regular expression in Rack::Multipart::Parser for boundary extraction without enforcing a single-value constraint. RFC 7231 does not strictly define behavior for duplicate parameters, which is why parser implementations diverge. Rack's choice of the last value diverges from the majority convention, producing the differential.

Attack Vector

Exploitation requires the attacker to send a single HTTP request containing a Content-Type header with two boundary parameters. No authentication or user interaction is required. The attack is only useful where an upstream component performs content inspection that Rack-served applications rely on for security guarantees, such as upload filtering, malware scanning, or input validation at the WAF layer.

No verified public exploit code is currently available. See the GitHub Security Advisory GHSA-vgpv-f759-9wx3 for technical details and patched commits.

Detection Methods for CVE-2026-26961

Indicators of Compromise

  • HTTP requests with Content-Type: multipart/form-data headers containing more than one boundary= parameter
  • Discrepancies between upstream proxy access logs and Rack application logs for the same request, particularly in multipart upload endpoints
  • Multipart requests where the parsed file count or field names differ between the WAF inspection log and the application log

Detection Strategies

  • Inspect HTTP request headers at the proxy or load balancer for duplicate boundary parameters in Content-Type values and alert or block on the pattern
  • Correlate WAF inspection results with application-side multipart parsing telemetry to surface parser-differential anomalies
  • Audit installed Ruby gem versions across the fleet to identify Rack instances below 2.2.23, 3.1.21, or 3.2.6

Monitoring Recommendations

  • Log full Content-Type header values for all multipart requests during the remediation window to support forensic review
  • Monitor file upload endpoints for unexpected file types, sizes, or field structures that bypassed upstream filtering
  • Track Rack version inventory through software composition analysis tools and flag downgrades or unpatched deployments

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 the major version in use
  • Configure upstream proxies and WAFs to reject Content-Type headers containing multiple boundary parameters
  • Audit application logs for prior multipart requests with malformed Content-Type headers to identify exploitation attempts

Patch Information

The Rack maintainers released patches in versions 2.2.23, 3.1.21, and 3.2.6. The fix updates the boundary extraction logic in Rack::Multipart::Parser to handle duplicate parameters safely. Full advisory details are available at the GitHub Security Advisory GHSA-vgpv-f759-9wx3.

Workarounds

  • Deploy a request-rewriting rule at the reverse proxy or WAF that normalizes Content-Type headers to retain only the first boundary parameter
  • Reject any request whose Content-Type header contains the substring boundary= more than once before it reaches the Rack application
  • Restrict multipart upload endpoints to authenticated users where feasible to reduce the unauthenticated attack surface until patching completes
bash
# Update Rack via Bundler to a patched version
bundle update rack

# Verify the installed Rack version meets the patched baseline
bundle list | grep rack
# Expected: rack (2.2.23) or rack (3.1.21) or rack (3.2.6) or later

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechRack

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-436
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34831: Rack Response Desync CSRF Vulnerability

  • CVE-2026-34785: Rack Information Disclosure Vulnerability

  • CVE-2026-34786: Rack Header Bypass Vulnerability

  • CVE-2026-39324: Rack::Session Auth Bypass 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