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
    • 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-33658

CVE-2026-33658: Rails Active Storage DoS Vulnerability

CVE-2026-33658 is a denial of service flaw in Rails Active Storage that allows attackers to cause CPU exhaustion through malicious HTTP Range headers. This article covers technical details, affected versions, and patches.

Published: March 26, 2026

CVE-2026-33658 Overview

CVE-2026-33658 is a Denial of Service (DoS) vulnerability affecting Active Storage, a component that allows users to attach cloud and local files in Ruby on Rails applications. The vulnerability exists in Active Storage's proxy controller, which fails to limit the number of byte ranges that can be specified in an HTTP Range header. An attacker can craft malicious requests containing thousands of small byte ranges, causing disproportionate CPU usage compared to normal file requests, potentially resulting in service disruption.

Critical Impact

Authenticated attackers can exhaust server CPU resources by sending specially crafted HTTP Range headers with excessive byte ranges, potentially causing denial of service conditions for Rails applications using Active Storage's proxy functionality.

Affected Products

  • Ruby on Rails Active Storage versions prior to 8.1.2.1
  • Ruby on Rails Active Storage versions prior to 8.0.4.1
  • Ruby on Rails Active Storage versions prior to 7.2.3.1

Discovery Timeline

  • 2026-03-26 - CVE-2026-33658 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33658

Vulnerability Analysis

This vulnerability is classified as CWE-770: Allocation of Resources Without Limits or Throttling. The core issue lies in Active Storage's proxy controller implementation, which processes HTTP Range header requests without imposing any restrictions on the number of byte ranges that can be specified in a single request.

When a client requests a file through Active Storage's proxy endpoint, the server parses the Range header to determine which portions of the file to serve. Under normal circumstances, Range headers are used for resumable downloads or video streaming. However, the lack of validation on the number of ranges allows an attacker to specify an excessive number of small ranges (potentially thousands), forcing the server to allocate resources for processing each range individually.

The disproportionate CPU consumption occurs because the server must parse, validate, and process each byte range specification, creating significant computational overhead even for small files. This resource exhaustion attack vector requires only authenticated access, as indicated by the attack prerequisites.

Root Cause

The root cause is the absence of input validation and resource limits in the Range header parsing logic within Active Storage's proxy controller. The controller accepts and processes arbitrary numbers of byte range specifications without implementing defensive measures such as:

  • Maximum range count limits
  • Total request complexity thresholds
  • Rate limiting on Range header processing

This allows computationally expensive operations to be triggered by relatively simple HTTP requests.

Attack Vector

The attack is network-based and requires low privileges (authenticated user access). An attacker can exploit this vulnerability by:

  1. Identifying an Active Storage proxy endpoint in the target Rails application
  2. Crafting an HTTP request with a Range header containing thousands of small, non-overlapping byte ranges
  3. Sending the malicious request to the server, triggering excessive CPU consumption during range parsing and processing
  4. Repeating the attack to amplify resource exhaustion and potentially cause service degradation or unavailability

The vulnerability mechanism involves sending HTTP Range headers with excessive byte range specifications to Active Storage proxy endpoints. When the server processes these requests, it allocates CPU resources to parse and handle each range individually, leading to resource exhaustion. For detailed technical analysis and exploitation patterns, refer to the GitHub Security Advisory GHSA-p9fm-f462-ggrg.

Detection Methods for CVE-2026-33658

Indicators of Compromise

  • HTTP requests to Active Storage proxy endpoints with unusually large or complex Range headers
  • Elevated CPU usage on application servers correlated with requests to file serving endpoints
  • Abnormally long response times for Active Storage file downloads
  • High volume of requests from single sources targeting storage proxy URLs

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block HTTP requests with excessive Range header specifications
  • Monitor application server CPU utilization and correlate spikes with Active Storage endpoint access logs
  • Configure intrusion detection systems (IDS) to alert on HTTP Range headers exceeding typical complexity thresholds
  • Review Rails application logs for repeated requests to /rails/active_storage/ proxy paths with unusual patterns

Monitoring Recommendations

  • Enable detailed logging for Active Storage proxy controller endpoints to capture Range header contents
  • Set up alerting for sustained CPU usage increases on Rails application servers
  • Monitor request latency metrics for Active Storage endpoints to identify potential DoS conditions
  • Track and baseline normal Range header usage patterns to identify anomalous behavior

How to Mitigate CVE-2026-33658

Immediate Actions Required

  • Upgrade Ruby on Rails to patched versions: 8.1.2.1, 8.0.4.1, or 7.2.3.1 immediately
  • Audit applications for Active Storage proxy usage and assess exposure
  • Implement network-level rate limiting on Active Storage proxy endpoints as a temporary measure
  • Review access controls to ensure only necessary users have access to file proxy functionality

Patch Information

The Rails development team has released security patches in the following versions:

  • Rails v8.1.2.1
  • Rails v8.0.4.1
  • Rails v7.2.3.1

Organizations should update their Gemfile to specify the patched version and run bundle update rails to apply the fix. Additional details are available in the GitHub Security Advisory GHSA-p9fm-f462-ggrg and the RubySec Advisory Database.

Workarounds

  • Deploy a reverse proxy or WAF rule to limit the number of Range specifications accepted in HTTP requests
  • Implement custom Rack middleware to validate and restrict Range header complexity before requests reach Rails
  • Consider serving files directly from cloud storage (S3, GCS) rather than through the Active Storage proxy if application architecture permits
  • Apply rate limiting at the load balancer or CDN level for Active Storage proxy endpoints
bash
# Update Rails to patched version
# In your Gemfile, specify the patched version:
gem 'rails', '>= 7.2.3.1'

# Then run bundle update
bundle update rails

# Verify the installed version
bundle show rails

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRails

  • SeverityLOW

  • CVSS Score2.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/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
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • Rails Release v7.2.3.1

  • Rails Release v8.0.4.1

  • Rails Release v8.1.2.1

  • GitHub Security Advisory GHSA-p9fm-f462-ggrg

  • RubySec CVE-2026-33658 YAML
  • Related CVEs
  • CVE-2026-33168: Rails Action View XSS Vulnerability

  • CVE-2023-28362: Rails redirect_to Header Vulnerability

  • CVE-2023-38037: ActiveSupport Information Disclosure Flaw
Default Legacy - Prefooter | 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