Active Storage proxy downloads can block server threads on errors
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-772.
Summary
Active Storage in Rails from 8.0.0.beta1 before 8.0.5.2 and from 8.1.0.beta1 before 8.1.4.1 mishandles storage errors during proxy downloads. A failure partway through a streamed download sends a new response after the body is committed, leaving the response buffer open (CWE-772). A remote attacker with low privileges can repeat failed downloads, for example by deleting a file while it is served, until server threads block and cause denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
Description from the CNA
Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. From 8.0 until 8.0.5.2 and 8.1.4.1, when Active Storage serves a file through its proxy controllers, ActiveStorage::Streaming#send_blob_stream handles an error from the storage service by calling head to send a 404 or 500 response. If the error occurs after the first chunk has been written, the response is already committed, and head replaces the response body while the server is still reading the original ActionController::Live buffer. That buffer is never closed, so the server thread handling the request blocks until the process restarts. Repeated failed downloads could exhaust the server's threads, possibly resulting in a DoS vulnerability. Applications are affected when they store files on a service that streams a download in several requests, such as Amazon S3, an S3-compatible service or Google Cloud Storage, and draw Active Storage's default routes. The proxy routes are drawn whether or not proxy mode is the default for the application. A file deleted while it is being served, or any other storage error partway through a download, triggers the condition. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Rails | rails | 8.1 to before 8.1.4.1; 8.0 to before 8.0.5.2 | 8.1.4.1, 8.0.5.2 | Patch available | CNA |
| — | activestorage (RubyGems) | 8.1.0.beta1 to before 8.1.4.1 | 8.1.4.1 | Patch available | GHSA-4v2w-w6g6-f8f8 |
| — | activestorage (RubyGems) | 8.0.0.beta1 to before 8.0.5.2 | 8.0.5.2 | Patch available | GHSA-4v2w-w6g6-f8f8 |
- rails VendorRails Affected 8.1 to before 8.1.4.1; 8.0 to before 8.0.5.2 Fixed in 8.1.4.1, 8.0.5.2 Patch available CNA
- activestorage (RubyGems) Vendor— Affected 8.1.0.beta1 to before 8.1.4.1 Fixed in 8.1.4.1 Patch available GHSA-4v2w-w6g6-f8f8
- activestorage (RubyGems) Vendor— Affected 8.0.0.beta1 to before 8.0.5.2 Fixed in 8.0.5.2 Patch available GHSA-4v2w-w6g6-f8f8
Remediation
Upgrade the rails and activestorage packages to 8.1.4.1 for the 8.1 series or to 8.0.5.2 for the 8.0 series.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
- Fix · CNA rails (rails) Fixed in 8.1.4.1, 8.0.5.2
- Fix · GHSA-4v2w-w6g6-f8f8 activestorage (RubyGems) Fixed in 8.1.4.1 Advisory →
- Fix · GHSA-4v2w-w6g6-f8f8 activestorage (RubyGems) Fixed in 8.0.5.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat 3scale API Management Platform 2
Timeline
- 2026-11-10 Threatist record created from CVE-2026-126071
- 2026-11-10 Alias added: GHSA-4v2w-w6g6-f8f8
- 2026-11-10 Fix available: RubyGems/[email protected], RubyGems/[email protected] · GHSA-4v2w-w6g6-f8f8
- 2026-11-10 CVSS score added · GHSA-4v2w-w6g6-f8f8
- 2026-11-10 Weakness changed · GHSA-4v2w-w6g6-f8f8
- 2026-11-10 7 new references · GHSA-4v2w-w6g6-f8f8
- 2026-11-11 Affected versions changed · Red Hat
- 2026-11-11 CVSS score added · Red Hat
- 2026-11-13 CISA SSVC decision points changed
References
Other 7
- https://github.com/rails/rails/security/advisories/GHSA-4v2w-w6g6-f8f8
- https://github.com/rails/rails/commit/3c67a693fb21870ecb1222e3da59d5c491a62009
- https://github.com/rails/rails/commit/655b4442de136a3701334607f634d698bf9d5b82
- https://github.com/rails/rails/releases/tag/v8.0.5.2
- https://github.com/rails/rails/releases/tag/v8.1.4.1
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-4v2w-w6g6-f8f8.yml
More Rails vulnerabilities
- TI-2014-00124 Path traversal in Ruby on Rails lets remote attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03828 File content disclosure in Rails Action View KEVCVSS 3.1HIGH 7.5
- TI-2016-00672 Directory traversal in Rails Action View lets attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
- TI-2026-47043 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing CVSS 4.0CRITICAL 9.5
- TI-2025-18040 Command injection in Rails activestorage CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-126071 · CVE Program
- CVE-2026-126071 · NVD
- FIRST EPSS
- GHSA-4v2w-w6g6-f8f8 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-126071 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences