CVE-2026-126071
Ruby on Rails denial of service in Active Storage proxy downloads
A remote attacker with a low-privilege account can block server threads by repeating failed file downloads.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 8.0.5.2 | activestorage · -6 d desde divulgación | |
| Remediación | Parche 8.1.4.1 | activestorage · -6 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-126071 divulgada · CVSS 5.3 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Active Storage, the Rails component for handling uploaded files, has a flaw in its proxy download routes that a remote attacker with low-privilege login and no user action can reach to cause a denial of service. Repeated downloads that fail partway through, such as when a file is deleted while being served, can block server threads until the process restarts, potentially exhausting them.
Descripción original del registro (GitHub_M)
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
rubygemsactivestorage |
Corregida | 8.0.5.2, 8.1.4.1 | -6 d · -6 d | 8.1.4.1 no afectada |
8.0.5.28.1.4.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/rails/rails/security/advisories/GHSA-4v2w-w6g6-f8f8https://github.com/rails/rails/commit/3c67a693fb21870ecb1222e3da59d5c491a62009https://github.com/rails/rails/commit/655b4442de136a3701334607f634d698bf9d5b82https://github.com/rails/rails/releases/tag/v8.0.5.2https://github.com/rails/rails/releases/tag/v8.1.4.1Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
