llamaCVEVulnerability Intelligence
/
Ruby on Rails

CVE-2026-126083

Ruby on Rails client IP spoofing in ActionDispatch RemoteIp

An unauthenticated attacker can spoof client IPs to bypass IP-based access controls and rate limits.

UnclearParche disponiblesource spoofing
Descargar PNG JSON
CVSS 3.0
7.4
Alta
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -6 d de la divulgación
Exposición8 dDesde la divulgación, 10 nov 2026, 4:09 p. m.
Detección17 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no 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.1.4.1
Monitoreo
Detectada +1
Fuente: ENISA EUVD
Verificada
4 nov 26
10 nov 26
12 nov 26
13 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.1.4.1 actionpack · -6 d desde divulgación
Divulgación Publicada CVE-2026-126083 divulgada · CVSS 7.4 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
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

Action Pack is a framework for handling and responding to web requests. From 8.1 until 8.1.4.1, Since Rails 8.1.0, ActionDispatch::RemoteIp derives request.remote_ip from Rack::Request#forwarded_for, which under Rack 3 reads the RFC 7239 Forwarded header in preference to X-Forwarded-For. When a reverse proxy appends the client address to X-Forwarded-For but passes a client-supplied Forwarded header through unchanged, request.remote_ip returns an address chosen by the client, and the IP spoofing check does not raise, because it compares only Client-Ip with the forwarded addresses. An unauthenticated attacker could therefore spoof request.remote_ip, possibly bypassing IP-based access controls and rate limits keyed on the client address (including the default by: of rate_limit), and falsifying the client address in logs. An application is affected if it meets all of these requirements: Runs Rails 8.1.0 through 8.1.4 with Rack 3. Under Rack 2.2, forwarded_for reads only X-Forwarded-For. Is served behind a proxy that does not remove or overwrite a client-supplied Forwarded header. Relies on request.remote_ip for access control, rate limiting, or auditing. The fix detects a spoofed Forwarded header only when the proxy also sets X-Forwarded-For. An application whose proxy passes a client-supplied Forwarded header through and sets no X-Forwarded-For remains exposed after upgrading, and should configure the proxy to remove or overwrite Forwarded, or apply the workaround below. This issue is fixed in version 8.1.4.1.

Only affects Rails 8.1.0 through 8.1.4 with Rack 3, behind a proxy that does not remove or overwrite client-supplied Forwarded headers, in apps that rely on request.remote_ip. Fixed in 8.1.4.1.

¿Qué significa?Action Dispatch RemoteIp can take a client-supplied Forwarded header as the client address, so an attacker can spoof the IP the app sees as request.remote_ip. This can bypass IP-based access controls and rate limits and falsify client addresses in logs.
¿Quién está afectado?Affected are Rails 8.1.0 through 8.1.4 running with Rack 3, served behind a proxy that does not remove or overwrite a client-supplied Forwarded header, where the application relies on request.remote_ip for access control, rate limiting, or auditing. To check, look at the Rails and Rack versions in Gemfile.lock and at whether the proxy strips or overwrites the Forwarded header.
¿Qué hacer?Upgrade to Rails 8.1.4.1. Until then, for proxies that set X-Forwarded-For, set Rack::Request.forwarded_priority = [:x_forwarded] in an initializer.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Runs Rails 8.1.0 through 8.1.4 with Rack 3“Runs Rails 8.1.0 through 8.1.4 with Rack 3.”
02
Served behind a proxy that does not remove or overwrite a client-supplied Forwarded header“Is served behind a proxy that does not remove or overwrite a client-supplied Forwarded header.”
03
Application relies on request.remote_ip for access control, rate limiting, or auditing“Relies on request.remote_ip for access control, rate limiting, or auditing.”
¿Quién debe revisar?Teams running Rails 8.1.0 to 8.1.4 with Rack 3 behind a reverse proxy, where request.remote_ip drives access control, rate limits or audit logs.
No protegeUpgrading alone leaves proxies that send no X-Forwarded-For exposed.
MitigaciónFor proxies that set X-Forwarded-For, set Rack::Request.forwarded_priority = [:x_forwarded] in an initializer
Vector CVSS 3.0

Desglose de métricas

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

Rangos afectados

Afectada Corregida Última
rails≥ 8.1 < 8.1.4.1
actionpack≥ 8.1.0.beta1 < 8.1.4.1
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
rubygemsactionpack
Corregida 8.1.4.1 -6 d 8.1.4.1 no afectada
Versiones corregidas8.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-2gff-2mmg-m73p
Otrahttps://github.com/rails/rails/commit/2a01a5ac521184419d9a92fa2c25e102e68cd227
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.