CVE-2026-126071 Active Storage: Possible DoS vulnerability in Active Storage proxy mode via storage errors during streaming
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed HatCloud Platforms
Description
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.
Upgrade path
7 packages: 1 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux rubygem-activestorage(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| ubuntu/rails(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/rails(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rails(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rails(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| rubygems activestorage(RubyGems) | = 8.0.0; = 8.0.0.1; = 8.0.0.beta1; = 8.0.0.rc1 +20 more | 8.0.5.2, 8.1.4.1 | Fixed |
| rails | = >= 8.0, < 8.0.5.2; = >= 8.1, < 8.1.4.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems activestorage(RubyGems) | >= 8.1.0.beta1, < 8.1.4.1 | 8.1.4.1 |
| rubygems activestorage(RubyGems) | = 8.1.0 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.1.0.beta1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.1.0.rc1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.1.1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.1.2 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.1.2.1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.1.3 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.1.3.1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.1.4 | No fix listed |
| rubygems activestorage(RubyGems) | >= 8.0.0.beta1, < 8.0.5.2 | 8.0.5.2 |
| rubygems activestorage(RubyGems) | = 8.0.0 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.0.1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.0.beta1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.0.rc1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.0.rc2 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.2 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.2.1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.3 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.4 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.4.1 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.5 | No fix listed |
| rubygems activestorage(RubyGems) | = 8.0.5.1 | No fix listed |
| rails | = >= 8.1, < 8.1.4.1 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rails | = >= 8.0, < 8.0.5.2 | No fix listed |
| ubuntu/rails(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/rails(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rails(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rails(Ubuntu:26.10) | All versions | No fix listed |
| azure linux rubygem-activestorage(Azure Linux:4.0) | All versions | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2571244 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/rails/rails/commit/3c67a693fb21870ecb1222e3da59d5c491a62009 patch
- https://github.com/rails/rails/commit/655b4442de136a3701334607f634d698bf9d5b82 patch
- 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/security/advisories/GHSA-4v2w-w6g6-f8f8 vendor-advisory
- Debian Security Tracker CVE-2026-126071 vendor-advisory
- github.com product
- github.com
- github.com
- Ubuntu CVE tracker vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-122995 third-party-advisory