llamaCVEVulnerability Intelligence
/
@fastify/secure-session

CVE-2026-117549

@fastify/secure-session vulnerable to signature verification bypass via cookie signature removal

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

Solo en configuraciones específicasParche disponiblesignature verification bypass
Descargar PNG JSON
CVSS 3.1
4.2
Media
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/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ón19 dDesde la divulgación, 2 nov 2026, 5:26 a. m.
Detección6 minDesde 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.
Para el próximo sprint, sin estrés.Rumio tranquila, pero no me olvido de esta.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 8.4.2
Monitoreo
Detectada +2
Fuente: OSV +1
2 nov 26
18 nov 26
21 nov 26
2 nov 26
7 nov 26
12 nov 26
17 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-117549 divulgada · CVSS 4.2 (CNA)
Remediación Parche 8.4.2 @fastify/secure-session · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
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 Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

The @fastify/secure-session plugin for Fastify, used to store encrypted sessions in cookies when signed cookies are enabled, is affected. An attacker who already holds an old, unexpired session cookie can strip its invalidated signature and keep using that session after the signing secret has been rotated, though they cannot forge data or survive rotation of the encryption key.

Only affects @fastify/secure-session 7.5.0 through 8.4.2 when the plugin is configured with cookie.signed: true. Fixed in 8.4.2.

¿Qué significa?A holder of an old session cookie can remove the signature, which is now obsolete, and keep using the session. This still works after the signing secret has been rotated.
¿Quién está afectado?Versions 7.5.0 up to but not including 8.4.2 are affected, and only when the plugin is configured with cookie.signed: true. Check the installed @fastify/secure-session version in package.json or the lockfile, and check the cookie.signed option in the plugin registration.
¿Qué hacer?Upgrade @fastify/secure-session to 8.4.2 or later.
Descripción original del registro (openjs)

@fastify/secure-session is a session plugin for Fastify that stores an encrypted session in a cookie. In versions 7.5.0 through 8.4.1, when the plugin is configured with the signed cookie option, it calls the cookie unsign routine but, when the signature check reports the value as invalid, still passes the original cookie value to the session decoder, so a session whose signature did not validate is decrypted anyway. The practical effect appears when an application supplies the cookie signing secret independently of the session encryption key and rotates only the signing secret to retire existing sessions while keeping the encryption key active, because a holder of an old session cookie can strip the now obsolete signature and keep using the session. The attacker must already possess an unexpired encrypted session cookie and needs neither secret, and cannot forge session data, extend expiry, or survive rotation of the encryption key. The issue is fixed in @fastify/secure-session 8.4.2, which no longer decodes the session when the signed cookie option is set and the signature check fails, and users should upgrade to 8.4.2 or later. As a workaround, rotate the session encryption key rather than relying on rotation of the cookie signing secret alone.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Plugin configured with cookie.signed: true“when the plugin is configured with cookie.signed: true”
02
@fastify/secure-session versions >= 7.5.0 and < 8.4.2“@fastify/secure-session versions >= 7.5.0, < 8.4.2 accept a session cookie”
03
Application supplies the cookie signing secret separately from the session encryption key and rotates only the signing secret“supplies the @fastify/cookie signing secret independently of the session encryption key and rotates only that signing secret”
¿Quién debe revisar?Teams running @fastify/secure-session 7.5.0 through 8.4.1 with cookie.signed: true and a signing secret rotated separately from the encryption key.
No protegeRotating only the cookie signing secret does not retire existing sessions.
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:H
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
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/secure-session≥ 7.5.0 < 8.4.2
7.5.0
8.4.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@fastify/secure-session
Corregida 8.4.2 0 d 8.4.2 no afectada
Versiones corregidas8.4.2
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-secure-session/security/advisories/GHSA-4cgq-x5f7-r8jv
Otrahttps://cna.openjsf.org/security-advisories.html

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