llamaCVEVulnerability Intelligence
/
Ruby on Rails Active Storage

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.

UnclearParche disponibleinsecure default
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos11 fuente
Parche2 versionesPrimer parche el mismo día de la divulgación
Exposición15 dDesde la divulgación, 4 nov 2026, 9:12 a. m.
Detección8 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Sin explotación conocida, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 8.0.5.2 +1
Monitoreo
Detectada +2
Fuente: PoC-in-GitHub +1
Verificada
4 nov 26
5 nov 26
9 nov 26
16 nov 26
19 nov 26
4 nov 26
8 nov 26
12 nov 26
15 nov 26
19 nov 26
FechaFaseEventoDetalle
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
Resumen
Resumen generado por IA · CC-BY 4.0 · 4 nov 2026

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.

¿Qué significa?A Rails application that processes attachments with ImageMagick may let an unauthenticated attacker write arbitrary files on the server. When attachments are stored with the Disk service, the attacker may also read files the application process can read, such as secret_key_base and external credentials.
¿Quién está afectado?The affected setup requires Active Storage image processing with ImageMagick (variant_processor set to :mini_magick), an ImageMagick security policy that does not already deny the coders involved, and file uploads from untrusted users. Arbitrary file read additionally requires attachments stored with the Disk service. To check, look for variant_processor in the application's config files and compare the activestorage version in Gemfile.lock with the fixed ranges.
¿Qué hacer?Update activestorage to 8.0.5.2 or later on the 8.0 line, or to 8.1.4.1 or later on the 8.1 line. The advisory does not name separate vendor patch ids.
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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Application uses ImageMagick for Active Storage image processing (variant_processor = :mini_magick).“Uses ImageMagick for Active Storage image processing.”
02
ImageMagick runs under a security policy that does not already deny the coders involved.“Runs ImageMagick under a security policy that does not already deny the coders involved.”
03
Application allows file uploads from untrusted users.“Allows file uploads from untrusted users.”
04
Arbitrary file read requires attachments stored with the Disk service.“when attachments are stored with the Disk service, to read arbitrary files readable by the application process”
¿Quién debe revisar?Teams running Rails apps with the activestorage gem and ImageMagick (mini_magick) image processing that accept uploads from untrusted users.
No protegeApps that replace MiniMagick.cli_env after boot do not get the shipped policy.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
activestorage< 8.0.5.2
activestorage≥ 8.1 < 8.1.4.1
activestorage≥ 8.1.0.beta1 < 8.1.4.1
8.0.5.2
8.1
8.1.0.beta1
8.1.4.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde 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
Versiones corregidas8.0.5.28.1.4.1
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
charlie-goldenowl/cve-2026-122006-check
1
Ver los 1 repositorios de GitHub
charlie-goldenowl/cve-2026-122006-check

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.

Registro
EscenarioGENERALmitre
Referencias
Fabricantehttps://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9
Exploithttps://github.com/charlie-goldenowl/cve-2026-122006-check
Otrahttps://github.com/rails/rails/releases/tag/v8.1.4.1
Otrahttps://github.com/rails/rails/releases/tag/v8.0.5.2
Otrahttps://github.com/digitalocean/droplet-1-clicks/pull/488
Otrahttps://github.com/rubysec/ruby-advisory-db/pull/1300
Otrahttps://github.com/alan-turing-institute/cyber-threat-observatory/blob/main/reports/2026-11-04/TIER_2_CVE-2026-122006.md

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.