CVE-2026-33658: Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests
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 thwinhtet.
Published Mar 25, 2026 · Updated May 6, 2026
Affected packages
activestorage
- Ecosystem
- RubyGems
- Affected
- >= 8.1.0, < 8.1.2.1
- Fixed in
- 8.1.2.1
- Check
bundle info activestorage
activestorage
- Ecosystem
- RubyGems
- Affected
- >= 8.0.0, < 8.0.4.1
- Fixed in
- 8.0.4.1
- Check
bundle info activestorage
activestorage
- Ecosystem
- RubyGems
- Affected
- < 7.2.3.1
- Fixed in
- 7.2.3.1
- Check
bundle info activestorage
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://github.com/rails/rails/security/advisories/GHSA-p9fm-f462-ggrg
- https://nvd.nist.gov/vuln/detail/CVE-2026-33658
- https://github.com/rails/rails/releases/tag/v7.2.3.1
- https://github.com/rails/rails/releases/tag/v8.0.4.1
- https://github.com/rails/rails/releases/tag/v8.1.2.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2026-33658.yml
- https://github.com/advisories/GHSA-p9fm-f462-ggrg
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More RubyGems vulnerabilities
All RubyGems entriesCVE-2026-122006
Active Storage: Possible arbitrary file write and read in image analysis
critical9.8Nov 12, 2026CVE-2026-126084
Active Storage: Unsigned Content-Type in GCS direct uploads with cache_control
medium4.7Nov 12, 2026CVE-2026-126188
Active Storage: Possible local file disclosure in video previews and analysis
low3.7Nov 12, 2026CVE-2026-126071
Active Storage: Possible DoS vulnerability in Active Storage proxy mode via storage errors during streaming
medium5.3Nov 10, 2026CVE-2026-126074
Active Storage: Possible DoS vulnerability in Active Storage filename handling
medium4.3Nov 10, 2026CVE-2026-126085
Active Storage: Possible circumvention of file size limits in Active Storage direct uploads to Google Cloud Storage
medium5.3Nov 10, 2026
