Read the docs
TI-2026-81123 Aliases CVE-2026-117499

Race condition in @fastify/session lets revoked sessions be restored

Priority LOW 16CWE-362Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-613.

Summary

In @fastify/session releases before 11.1.6, a race condition (CWE-362) with the default rolling session behavior lets a request that restored a session save its copy after a logout destroyed it, recreating the session. An attacker who already holds a victim's valid signed session cookie and keeps a request in flight across the logout can restore the revoked session. The attacker needs no cookie theft or signature forgery.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

Description from the CNA

@fastify/session is a session plugin for Fastify. In all releases before 11.1.6, with the default rolling session behavior, a request that restored a session before a logout could save its own copy after another request had completed the session destroy call, recreating the destroyed session identifier with its authenticated data. An attacker who already holds a victim's valid signed session cookie and keeps a request in flight across the logout can replay that cookie to restore the session after it was meant to be revoked, without any cookie theft or signature forgery. The issue is fixed in @fastify/session 11.1.6, which adds a per session generation marker and a conditional store write so a session restored before a logout or regeneration cannot recreate or overwrite the current entry, and users should upgrade to 11.1.6 or later. There is no workaround, and custom session stores must implement the new conditional write.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00094 0th percentileScored 2026-11-07
Fix Fixed @fastify/session (@fastify/session): 11.1.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
@fastify/session@fastify/sessionbefore 11.1.611.1.6Patch availableCNA
  • @fastify/session Vendor@fastify/session Affected before 11.1.6 Fixed in 11.1.6 Patch available CNA

Remediation

Upgrade @fastify/session to 11.1.6 or later, which fixes this flaw. Custom session stores must implement the new conditional write added in that release.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

  • Fix · CNA @fastify/session (@fastify/session) Fixed in 11.1.6

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-27 Threatist record created from CVE-2026-117499
  2. 2026-11-04 CISA SSVC decision points changed
  3. 2026-11-07 Affected versions changed · Red Hat
  4. 2026-11-07 CVSS score added · Red Hat

References

Sources