llamaCVEVulnerability Intelligence
/
activestorage

CVE-2025-24293

Active Storage allowed transformation methods potentially unsafe Active Storage attempts to prevent the use of potentially unsafe image transformation methods and parameters by default

UnclearParche disponible
Descargar PNG JSON
CVSS 4.0
9.2
Crítica
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónExploit públicoSSVC: poc · no figura en CISA KEV
Exploits públicos22 fuentes
Parche4 versionesPrimer parche a -170 d de la divulgación
Exposición292 dDesde la divulgación, 30 ene 2026, 3:11 p. m.
Detección276 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Existe PoC pública, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Parche 7.1.5.2 +2
Monitoreo
Detectada
Verificada
13 ago 25
30 ene 26
2 feb 26
15 jul 26
3 nov 26
18 nov 26
19 nov 26
13 ago 25
7 dic 25
2 abr 26
26 jul 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 7.1.5.2 activestorage · -170 d desde divulgación
Remediación Parche 7.2.2.2 activestorage · -170 d desde divulgación
Remediación Parche 8.0.2.1 activestorage · -170 d desde divulgación
Divulgación Publicada CVE-2025-24293 divulgada · CVSS 9.2 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

# Active Storage allowed transformation methods potentially unsafe Active Storage attempts to prevent the use of potentially unsafe image transformation methods and parameters by default. The default allowed list contains three methods allow for the circumvention of the safe defaults which enables potential command injection vulnerabilities in cases where arbitrary user supplied input is accepted as valid transformation methods or parameters. Impact ------ This vulnerability impacts applications that use Active Storage with the image_processing processing gem in addition to mini_magick as the image processor. Vulnerable code will look something similar to this: ``` <%= image_tag blob.variant(params[:t] => params[:v]) %> ``` Where the transformation method or its arguments are untrusted arbitrary input. All users running an affected release should either upgrade or use one of the workarounds immediately. Workarounds ----------- Consuming user supplied input for image transformation methods or their parameters is unsupported behavior and should be considered dangerous. Strict validation of user supplied methods and parameters should be performed as well as having a strong [ImageMagick security policy](https://imagemagick.org/script/security-policy.php) deployed. Credits ------- Thank you [lio346](https://hackerone.com/lio346) for reporting this!

Affects Rails Active Storage apps that use the image_processing gem with mini_magick, where untrusted input sets the transformation method or its parameters. Fixed in 7.1.5.2, and Rails recommends 8.0.2.1 or 7.2.2.2.

¿Qué significa?Active Storage tries to block potentially unsafe image transformation methods, but this flaw lets untrusted input through as the transformation method or its arguments. That can lead to potential command injection, where an attacker runs commands on the server.
¿Quién está afectado?The issue applies to Active Storage in Rails from 5.2 onward, in setups that use the image_processing gem with mini_magick as the image processor. To check, look at the activestorage version in Gemfile.lock and see whether image_processing and mini_magick are configured, then confirm whether transformation methods or parameters can come from user input.
¿Qué hacer?Upgrade activestorage to 7.1.5.2 or later in the 7.1 line. Rails also recommends 7.2.2.2 or 8.0.2.1 as newer versions.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Application uses Active Storage with the image_processing gem and mini_magick as the image processor.“This vulnerability impacts applications that use Active Storage with the image_processing processing gem in addition to mini_magick as the image processor.”
02
Untrusted user input is used as the image transformation method or its parameters.“Where the transformation method or its arguments are untrusted arbitrary input.”
¿Quién debe revisar?Rails teams running Active Storage with image_processing and mini_magick, where user input can choose variant transformation methods or parameters.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
activestorage≥ 5.2
activestorage≥ 5.2.0 < 7.1.5.2
activestorage≥ 7.0 < 7.1.5.2
activestorage≥ 7.2 < 7.2.2.2
activestorage≥ 8.0 < 7.0.2.1
activestorage≥ 8.0 < 8.0.2.1
5.2
5.2.0
7.0
7.0.2.1
7.1.5.2
7.2
7.2.2.2
8.0
8.0.2.1
8.1.4.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
rubygemsactivestorage
Corregida 7.1.5.2, 7.2.2.2, 8.0.2.1 -170 d · -170 d · -170 d 8.1.4.1 no afectada
Versiones corregidas7.0.2.17.1.5.27.2.2.28.0.2.1
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
modules/exploits/multi/http/rails_activestorage_vips_rce.rb
1
Nuclei
—
0
PoC en GitHub
usutani/study-turbolinks-link
1
Ver los 1 repositorios de GitHub
usutani/study-turbolinks-link

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.

Referencias
Exploithttps://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/rails_activestorage_vips_rce.rb
Exploithttps://github.com/usutani/study-turbolinks-link
Otrahttps://github.com/advisories/GHSA-r4mg-4433-c7g3

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