Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests
Package
Affected versions
>= 8.1.0, < 8.1.2.1
>= 8.0.0, < 8.0.4.1
< 7.2.3.1
Patched versions
8.1.2.1
8.0.4.1
7.2.3.1
Description
Published to the GitHub Advisory Database
Mar 25, 2026
Reviewed
Mar 25, 2026
Published by the National Vulnerability Database
Mar 26, 2026
Last updated
May 6, 2026
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.
Releases
The fixed releases are available at the normal locations.
Credit
This issue was responsibly reported by Hackerone researcher thwin_htet.
References