CVE-2026-126071Rails missing release of resource
CVSS score
5.3
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.44%
0.44% chance of exploitation in the next 30 days, higher than 39.4% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Rails and compare its version with the affected versions.
Update to a fixed version
- Update Rails to 8.0.5.2, 8.1.4.1 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| Rails Rails | >= 8.1, < 8.1.4.1 · >= 8.0, < 8.0.5.2 |
Weakness
- CWE-772 missing release of resource
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-126071 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-126071?
CVE-2026-126071 has a CVSS 3.1 base score of 5.3 (medium).
Which versions are affected?
Rails Rails (>= 8.1, < 8.1.4.1; >= 8.0, < 8.0.5.2)
Is there a patch for CVE-2026-126071?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.