llamaCVEVulnerability Intelligence
/
fastify

CVE-2026-3635

fastify source spoofing

Texto original en inglés · Ver en español

Parche disponiblesource spoofing
Descargar PNG JSON
CVSS 3.1
6.1
Media
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición243 dDesde la divulgación, 23 mar 2026, 8:53 a. m.
Detección238 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Tu backlog la recibirá con los brazos abiertos.Un riesgo moderado es un riesgo con modales.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 5.8.3
Monitoreo
Detectada
23 mar 26
17 nov 26
21 nov 26
23 mar 26
23 may 26
23 jul 26
21 sept 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-3635 divulgada · CVSS 6.1 (CNA)
Remediación Parche 5.8.3 fastify · 0 d desde divulgación
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

Summary When trustProxy is configured with a restrictive trust function (e.g., a specific IP like trustProxy: '10.0.0.1', a subnet, a hop count, or a custom function), the request.protocol and request.host getters read X-Forwarded-Proto and X-Forwarded-Host headers from any connection — including connections from untrusted IPs. This allows an attacker connecting directly to Fastify (bypassing the proxy) to spoof both the protocol and host seen by the application. Affected Versions fastify <= 5.8.2 Impact Applications using request.protocol or request.host for security decisions (HTTPS enforcement, secure cookie flags, CSRF origin checks, URL construction, host-based routing) are affected when trustProxy is configured with a restrictive trust function. When trustProxy: true (trust everything), both host and protocol trust all forwarded headers — this is expected behavior. The vulnerability only manifests with restrictive trust configurations.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:A
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
5.9/ 10Medio
Vector 5.9 (moderada) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
fastify≤ 5.8.2
fastify< 5.8.3
5.8.2
5.8.3
5.12.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmfastify
Corregida 5.8.3 0 d 5.12.8 no afectada
Versiones corregidas5.8.3
Explotación

Arsenal público

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

Registro
EscenarioGENERALopenjs
Referencias
Fabricantehttps://github.com/fastify/fastify/security/advisories/GHSA-444r-cwp2-x5xf
Otrahttps://cna.openjsf.org/security-advisories.html
recordhttps://www.cve.org/CVERecord?id=CVE-2026-3635

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