Skip to main content
← All vulnerabilities
CVE-2026-117499EUVD-2026-110811

@fastify/session vulnerable to session revocation bypass via a logout race condition

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.1.6
None on Exploit-DB, Metasploit or GitHub

Summary

The @fastify/session plugin for the Fastify web framework is affected. When a user logs out, a timing flaw can let an attacker who already holds the victim's valid session cookie recreate the revoked session and its authenticated data, so the session stays active after logout.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

@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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • @fastify/session @fastify/session

    fixed in 11.1.6

References 2

GitHub · fastify/session

cna.openjsf.org