CVE-2026-122006
Ruby on Rails Active Storage file read and write in ImageMagick attachment processing
Remote, unauthenticated attackers can read and write files on the server, including the secret_key_base.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-122006 divulgada · CVSS 9.8 (CNA) | |
| Remediación | Parche 8.0.5.2 | activestorage · 0 d desde divulgación | |
| Remediación | Parche 8.1.4.1 | activestorage · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Fuente: PoC-in-GitHub | Registro visto por primera vez en PoC-in-GitHub | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| 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 |
The activestorage gem for Ruby on Rails, before the fixed release, is affected when ImageMagick processes attached files. Remotely, without logging in, an attacker can read and write files on the server, such as the secret_key_base, because no ImageMagick security policy blocks the unintended functionality.
Affects Rails Active Storage apps that process attachments with ImageMagick and accept file uploads from untrusted users. Fixed in 8.0.5.2 and 8.1.4.1.
Descripción original del registro (mitre)
The activestorage gem before 8.1.4.1 for Ruby on Rails, when ImageMagick attachment processing occurs, can allow server read and write operations (e.g., reading secret_key_base) because the ImageMagick analyzer runs when a file is attached, and there is not an ImageMagick security policy to block unintended functionality.
Condiciones y alcance
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 | 0 d · 0 d | 8.1.4.1 no afectada |
8.0.5.28.1.4.1Arsenal público
Ver los 1 repositorios de GitHub
Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.
https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9https://github.com/charlie-goldenowl/cve-2026-122006-checkhttps://github.com/rails/rails/releases/tag/v8.1.4.1https://github.com/rails/rails/releases/tag/v8.0.5.2https://github.com/digitalocean/droplet-1-clicks/pull/488https://github.com/rubysec/ruby-advisory-db/pull/1300https://github.com/alan-turing-institute/cyber-threat-observatory/blob/main/reports/2026-11-04/TIER_2_CVE-2026-122006.mdLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
