llamaCVEVulnerability Intelligence
/
Ruby on Rails

CVE-2026-126080

Ruby on Rails denial of service in safe_constantize

An unauthenticated attacker can crash the server process by sending crafted channel names.

Default setupsParche disponibleinjection
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -6 d de la divulgación
Exposición8 dDesde la divulgación, 10 nov 2026, 4:04 p. m.
Detección22 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. 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 +1
Verificada
4 nov 26
10 nov 26
12 nov 26
16 nov 26
19 nov 26
4 nov 26
8 nov 26
12 nov 26
15 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 8.0.5.2 activesupport · -6 d desde divulgación
Remediación Parche 8.1.4.1 activesupport · -6 d desde divulgación
Divulgación Publicada CVE-2026-126080 divulgada · CVSS 7.5 (CNA)
Monitoreo Detectada Ingresó al índice
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

Active Support is a collection of utility classes and standard library extensions used by Rails and other Ruby projects. Prior to 8.1.4.1 and 8.0.5.2, when constant lookup raises LoadError, ActiveSupport::Inflector#safe_constantize (and String#safe_constantize) builds a regular expression from the requested constant name without escaping it, so a caller that passes untrusted input lets the attacker choose the source of a pattern that the application compiles. Crafted patterns can trigger defects in Ruby's regular expression compiler, possibly leading to a crash of the server process, and repeated requests could keep the application unavailable. Action Cable passes the channel value of each subscribe command to safe_constantize before any channel lookup, so an unauthenticated client can reach this code when the application mounts Action Cable and accepts connections from untrusted clients without an added authentication check. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.

Affects activesupport from 8.1 before 8.1.4.1 and versions before 8.0.5.2, in apps that mount Action Cable or pass untrusted input to safe_constantize. Fixed in 8.1.4.1 and 8.0.5.2.

¿Qué significa?Crafted patterns can trigger defects in Ruby's regular expression compiler, which can crash the server process. Repeated requests could keep the application unavailable.
¿Quién está afectado?Affected are activesupport 8.1 before 8.1.4.1 and activesupport before 8.0.5.2. The setup matters: the application mounts Action Cable (default at /cable) or passes untrusted input to safe_constantize, and accepts Action Cable connections from untrusted clients without an added authentication check. Check the activesupport version in Gemfile.lock.
¿Qué hacer?Upgrade activesupport to 8.1.4.1 on the 8.1 line, or to 8.0.5.2 on the 8.0 line.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Application mounts Action Cable (default at /cable) or otherwise passes untrusted input to safe_constantize“Mounts Action Cable, which a new Rails application does by default at /cable ( config.action_cable.mount_path ), or otherwise passes untrusted input to safe_constantize .”
02
Application accepts Action Cable connections from untrusted clients without an added authentication check“Accepts Action Cable connections from untrusted clients. ApplicationCable::Connection#connect authenticates nobody unless the application adds a check.”
03
Affected activesupport versions: >= 8.1 before 8.1.4.1, and before 8.0.5.2“activesupport < 8.0.5.2 activesupport >= 8.1, < 8.1.4.1”
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:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
rails · activesupport< 8.0.5.2
rails≥ 8.1 < 8.1.4.1
activesupport≥ 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
rubygemsactivesupport
Corregida 8.0.5.2, 8.1.4.1 -6 d · -6 d 8.1.4.1 no afectada
Versiones corregidas8.0.5.28.1.4.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/rails/rails/security/advisories/GHSA-8474-xrp6-wh69
Otrahttps://github.com/rails/rails/commit/210ac22d446c8e2625b091e79256806b836eee20
Otrahttps://github.com/rails/rails/commit/95aa9e416016524956d4904fed96eaed079580bb
Otrahttps://github.com/rails/rails/releases/tag/v8.0.5.2
Otrahttps://github.com/rails/rails/releases/tag/v8.1.4.1

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