CVE-2026-33658: Rails Active Storage DoS Vulnerability via Multi-Range Requests

activestorage Updated 26 Mar 2026

Summary

25/03/2026
Yes i
Low
2.3

CVE-2026-33658: Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests. Affects activestorage across 3 version ranges.

< 7.2.3.1 >= 8.0.0, < 8.0.4.1 >= 8.1.0, < 8.1.2.1

Fixed in 7.2.3.1, 8.0.4.1 or 8.1.2.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Rails Active Storage is a component of the Ruby on Rails framework that facilitates file uploads and management. It allows developers to store files on cloud services or local storage, providing a seamless interface for handling file attachments in applications. However, Active Storage has a vulnerability that can be exploited through crafted HTTP requests, leading to potential denial of service (DoS) conditions.

Vulnerability Detail

The vulnerability arises from Active Storage's proxy controller, which does not impose limits on the number of byte ranges specified in an HTTP Range header. An attacker can exploit this by sending requests with thousands of small byte ranges, which leads to excessive CPU usage compared to standard file requests. This disproportionate resource consumption can result in a denial of service, affecting the availability of the application.

How To Fix

Latest published version: 8.1.4 as of 22 Oct 2026

gem install activestorage -v 8.1.4

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 7.2.3.1 7.2.3.1
    gem install activestorage -v 7.2.3.1
  • >= 8.0.0, < 8.0.4.1 8.0.4.1
    gem install activestorage -v 8.0.4.1
  • >= 8.1.0, < 8.1.2.1 8.1.2.1
    gem install activestorage -v 8.1.2.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, you can implement rate limiting on your server to restrict the number of requests that can be processed in a given time frame. This can help mitigate the impact of the vulnerability until a proper fix is applied.

Conclusion

The Rails Active Storage vulnerability (CVE-2026-33658) presents a risk of denial of service through crafted multi-range requests. It is crucial for developers using affected versions to update their packages promptly and consider implementing workarounds to protect their applications.

See every vulnerability recorded for activestorage →

Share this vulnerability

FAQ

The vulnerability allows an attacker to exploit the Active Storage proxy controller by sending requests with excessive byte ranges, leading to high CPU usage and potential denial of service.

Versions 8.0.0 to 8.1.2.1, and 7.2.3.1 and earlier are affected by this vulnerability.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

The CVSS score for this vulnerability is 2.3, indicating a low severity level.

If immediate updates are not possible, implement rate limiting on your server to mitigate the risk of denial of service until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for activestorage.

How To Fix

Latest published version: 8.1.4 as of 22 Oct 2026

gem install activestorage -v 8.1.4

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 7.2.3.1 7.2.3.1
    gem install activestorage -v 7.2.3.1
  • >= 8.0.0, < 8.0.4.1 8.0.4.1
    gem install activestorage -v 8.0.4.1
  • >= 8.1.0, < 8.1.2.1 8.1.2.1
    gem install activestorage -v 8.1.2.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback