CVE-2026-33658
rails: activestorage: Active Storage: Denial of Service via HTTP Range header processing
Overview
Description
Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1
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. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
Source: OX vulnerability database
Severity
6.5 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-770
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | activestorage | >=8.1.0, <8.1.2.1>=8.0.0, <8.0.4.1<7.2.3.1 | 8.1.2.18.0.4.17.2.3.1~> 7.2.3, >= 7.2.3.1~> 8.0.4, >= 8.0.4.1 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
chainguard 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| gitlab-rails-ce-fips-18-10 | 18.10.3-r0 | |
| gitlab-rails-ce-18-10 | 18.10.3-r1 | |
| gitlab-rails-ce-18-8 | 18.8.11-r4 | |
| gitlab-rails-ce-18-9 +1 | 18.9.5-r0 | |
| ruby3-4-rails-8-0 | 8.0.5-r0 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | affected |
| 13 | rails | 2:7.2.2.2+dfsg-2~deb13u2 |
| 14 | rails | 2:7.2.3.1+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:7.2.2.2+dfsg-2~deb13u2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-33658
- discuss.rubyonrails.org https://discuss.rubyonrails.org/t/cve-2026-33658-possible-dos-vulnerability-in-active-storage-proxy-mode-via-multi-range-requests/90906
- github.com https://github.com/advisories/GHSA-p9fm-f462-ggrg
- github.com https://github.com/rails/rails
- github.com https://github.com/rails/rails/commit/85ec5b1e00d3197d8c69a5e622e1b398a1b10b06.patch
- github.com https://github.com/rails/rails/commit/b8a1665824a43d71cd6406cf9adcae842ceb1c22.patch
- github.com https://github.com/rails/rails/commit/d7da4ef03f99035fba5add8828646f1e9173549c.patch
- github.com https://github.com/rails/rails/releases/tag/v7.2.3.1
- github.com https://github.com/rails/rails/releases/tag/v8.0.4.1
- github.com https://github.com/rails/rails/releases/tag/v8.1.2.1
Show all 15 references
- github.com https://github.com/rails/rails/security/advisories/GHSA-p9fm-f462-ggrg
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2026-33658.yml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-33658
- rubyonrails.org https://rubyonrails.org/2026/3/23/Rails-Versions-7-2-3-1-8-0-4-1-and-8-1-2-1-have-been-released
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-33658
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.