RubySec

Providing security resources for the Ruby community

CVE-2026-33658 (activestorage): Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests

Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests

Published: March 25, 2026

SECURITY IDENTIFIERS

GEM

activestorage

FRAMEWORK

Ruby on Rails

PATCHED VERSIONS

~> 7.2.3, >= 7.2.3.1 ~> 8.0.4, >= 8.0.4.1 >= 8.1.2.1

DESCRIPTION

Impact

Active Storage’s proxy controller does not limit the number of byte ranges in an HTTP Range header. A request with thousands of small ranges causes disproportionate CPU usage compared to a normal request for the same file, possibly resulting in a DoS vulnerability.

RELATED