CVE-2026-125109
Rack allowlist bypass via invalid Host header in request methods
A remote attacker can send a crafted Host header to redirect users, bypass allowlists, or inject markup.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 3.1.23 | rack · -10 d desde divulgación | |
| Remediación | Parche 3.2.8 | rack · -10 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-125109 divulgada · CVSS 4.8 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Rack, a Ruby web server interface, has a flaw in its request host methods that can return an attacker-supplied invalid Host header unchanged. A remote attacker can reach it over the network without logging in, and applications that use these methods for redirects, absolute URLs, or origin checks without their own host allowlist may be open to redirect manipulation, allowlist bypass, or unescaped markup reflection.
Descripción original del registro (GitHub_M)
Rack is a modular Ruby web server interface. From 3.0 until 3.1.23 and 3.2.8, Rack::Request#host_with_port, #base_url, and #url can return an attacker-controlled invalid authority from Host, X-Forwarded-Host, or Forwarded: host= verbatim. Applications without an independent host allowlist that use these methods for absolute URLs, redirects, or origin-dependent checks can emit attacker-chosen delimiters, enabling redirect manipulation, string-based allowlist bypass, or unescaped markup reflection. Rails overrides these methods and is not expected to be affected. This issue is fixed in versions 3.1.23 and 3.2.8.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
rubygemsrack |
Corregida | 3.1.23, 3.2.8 | -10 d · -10 d | 3.2.8 no afectada |
3.1.233.2.8Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/rack/rack/security/advisories/GHSA-2j8w-xcrc-x985https://github.com/rack/rack/commit/4380381a56dc52556a436d6d794c8e18dc8b0565https://github.com/rack/rack/commit/49386f460286b7346c7003b69a839de782cc8a39https://github.com/rack/rack/releases/tag/v3.1.23https://github.com/rack/rack/releases/tag/v3.2.8Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
