# CVE-2026-126071: Active Storage: Possible DoS vulnerability in Active Storage proxy mode via storage errors during streaming

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-11-10T20:40:37.197Z
- Modified: 2026-11-13T17:17:24.560Z
- Also known as: GHSA-4v2w-w6g6-f8f8
- Weaknesses: CWE-772
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rails rails: >= 8.1, < 8.1.4.1; >= 8.0, < 8.0.5.2
- activestorage (RubyGems): from 8.1.0.beta1 before 8.1.4.1; from 8.0.0.beta1 before 8.0.5.2

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/rails/rails/security/advisories/GHSA-4v2w-w6g6-f8f8> (web)
- <https://github.com/rails/rails/commit/3c67a693fb21870ecb1222e3da59d5c491a62009> (web)
- <https://github.com/rails/rails/commit/655b4442de136a3701334607f634d698bf9d5b82> (web)
- <https://github.com/rails/rails/releases/tag/v8.0.5.2> (web)
- <https://github.com/rails/rails/releases/tag/v8.1.4.1> (web)
- <https://github.com/rails/rails> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-4v2w-w6g6-f8f8.yml> (web)

## Sources

- CVE List: [CVE-2026-126071](https://www.cve.org/CVERecord?id=CVE-2026-126071), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-4v2w-w6g6-f8f8](https://github.com/advisories/GHSA-4v2w-w6g6-f8f8), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-126071](https://nvd.nist.gov/vuln/detail/CVE-2026-126071), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-126071 · Whole record: https://cve.day/CVE-2026-126071.json · Rebuilt by cve.day 2026-11-25T22:59:50.273Z
