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

CVE-2026-33174: Ruby on Rails Active Storage DoS Vulnerability

CVE-2026-33174 is a denial of service vulnerability in Ruby on Rails Active Storage that allows attackers to exhaust server memory through malicious Range headers. This article covers technical details, affected versions, and patches.

Published: March 27, 2026

CVE-2026-33174 Overview

A memory exhaustion vulnerability exists in Ruby on Rails Active Storage that allows remote attackers to trigger a Denial of Service (DoS) condition. Active Storage allows users to attach cloud and local files in Rails applications. When serving files through Active Storage's proxy delivery mode, the proxy controller loads the entire requested byte range into memory before sending it. A request with a large or unbounded Range header (e.g., bytes=0-) could cause the server to allocate memory proportional to the file size, potentially exhausting available memory and crashing the application.

Critical Impact

Remote attackers can exhaust server memory by sending specially crafted HTTP Range requests to Active Storage endpoints, causing application-wide denial of service without authentication.

Affected Products

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

Discovery Timeline

  • 2026-03-24 - CVE CVE-2026-33174 published to NVD
  • 2026-03-24 - Last updated in NVD database

Technical Details for CVE-2026-33174

Vulnerability Analysis

This vulnerability (CWE-789: Memory Allocation with Excessive Size Value) occurs in the Active Storage streaming module when handling HTTP Range requests. The send_blob_byte_range_data function in activestorage/app/controllers/concerns/active_storage/streaming.rb processes byte range requests without properly validating the size of the requested range.

When a client sends a Range header such as bytes=0- (requesting all bytes from the beginning), the proxy controller attempts to load the entire file into memory before streaming it to the client. For large files, this behavior can rapidly consume available server memory, leading to application instability or complete service outage.

The vulnerability is exploitable over the network without requiring authentication, making it particularly dangerous for publicly accessible Rails applications using Active Storage's proxy delivery mode.

Root Cause

The root cause lies in the inadequate validation of byte ranges in the send_blob_byte_range_data function. Prior to the patch, the function only checked if ranges were blank using ranges.blank? || ranges.all?(&:blank?), but did not validate whether the requested range size was within acceptable memory limits. This allowed attackers to request arbitrarily large byte ranges that would be fully loaded into memory.

Attack Vector

An attacker can exploit this vulnerability by sending HTTP requests with crafted Range headers to Active Storage proxy endpoints. The attack requires no authentication and can be performed remotely over the network. By requesting large or unbounded byte ranges for files stored through Active Storage, an attacker can force the server to allocate excessive memory, potentially exhausting system resources and causing a denial of service condition affecting all users of the application.

ruby
# Security patch in activestorage/app/controllers/concerns/active_storage/streaming.rb
# Source: https://github.com/rails/rails/commit/2cd933c366b777f873d4d590127da2f4a25e4ba5

    def send_blob_byte_range_data(blob, range_header, disposition: nil)
      ranges = Rack::Utils.get_byte_ranges(range_header, blob.byte_size)

-      return head(:range_not_satisfiable) if ranges.blank? || ranges.all?(&:blank?)
+      return head(:range_not_satisfiable) unless ranges_valid?(ranges)

      if ranges.length == 1
        range = ranges.first

Detection Methods for CVE-2026-33174

Indicators of Compromise

  • Unusual memory consumption spikes on Rails application servers
  • High volume of HTTP requests with large or unbounded Range headers targeting Active Storage endpoints
  • Application crashes or out-of-memory errors in Rails server logs
  • Abnormal request patterns to /rails/active_storage/blobs/ or proxy delivery endpoints

Detection Strategies

  • Monitor HTTP access logs for requests containing suspicious Range headers like bytes=0- or extremely large byte range values
  • Implement application performance monitoring (APM) to detect sudden memory allocation anomalies
  • Configure web application firewall (WAF) rules to flag or block requests with unbounded Range headers
  • Set up alerts for memory threshold breaches on Rails application servers

Monitoring Recommendations

  • Enable detailed logging for Active Storage proxy controller requests
  • Implement real-time memory usage monitoring with alerting thresholds
  • Track request patterns to Active Storage endpoints for anomaly detection
  • Monitor application restart frequency as an indicator of memory exhaustion crashes

How to Mitigate CVE-2026-33174

Immediate Actions Required

  • Upgrade Ruby on Rails to patched versions: 8.1.2.1, 8.0.4.1, or 7.2.3.1
  • Review application logs for any signs of exploitation attempts
  • Consider temporarily disabling Active Storage proxy delivery mode if immediate patching is not possible
  • Implement Rate limiting on Active Storage endpoints to reduce DoS impact

Patch Information

Ruby on Rails has released security patches across all supported versions. Organizations should update to the following versions:

  • Rails v8.1.2.1 for Rails 8.1.x users
  • Rails v8.0.4.1 for Rails 8.0.x users
  • Rails v7.2.3.1 for Rails 7.2.x users

The patch introduces a new ranges_valid? method that validates byte ranges before processing, and adds configurable maximum streaming chunk size functionality. For complete details, refer to the GitHub Security Advisory GHSA-r46p-8f7g-vvvg.

Workarounds

  • Configure a reverse proxy (nginx, Apache) to validate and limit Range header values before requests reach the Rails application
  • Switch from proxy delivery mode to direct delivery or redirect delivery modes for Active Storage if proxy mode is not strictly required
  • Implement application-level middleware to reject requests with unbounded or excessively large Range headers
  • Set memory limits on application containers to prevent complete host memory exhaustion
bash
# Nginx configuration to limit Range header abuse
# Add to nginx server block for Rails application

# Limit the size of Range header requests
map $http_range $range_block {
    default 0;
    "~^bytes=0-$" 1;
    "~^bytes=\d+-$" 1;
}

server {
    # Block unbounded range requests to Active Storage
    location /rails/active_storage/ {
        if ($range_block = 1) {
            return 416;
        }
        proxy_pass http://rails_app;
    }
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRubyonrails

  • SeverityMEDIUM

  • CVSS Score6.6

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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-789
  • Technical References
  • GitHub Release v7.2.3.1

  • GitHub Release v8.0.4.1

  • GitHub Release v8.1.2.1
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory GHSA-r46p-8f7g-vvvg
  • Related CVEs
  • CVE-2026-33169: Ruby on Rails Active Support DoS Vulnerability

  • CVE-2026-33176: Ruby on Rails Active Support DoS Vulnerability

  • CVE-2022-23517: Rails HTML Sanitizers DoS Vulnerability

  • CVE-2021-22904: Ruby on Rails ActionPack DoS 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