Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
CVE-2026-117499: Fastify session plugin can let logged‑out users stay logged in
CVE-2026-117499 · published 26 days ago
Summary
Versions of the Fastify session plugin before 11.1.6 may allow a user who still has a valid session cookie to keep the session active even after a logout request is processed. This happens when a logout and another request happen at the same time, letting the old cookie be reused without needing to steal or modify it. Upgrade the plugin to version 11.1.6 or later to stop this behavior; there is no other fix.
What to do
- Update @fastify/session @fastify/session to version 11.1.6 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| @fastify/session | @fastify/session | < 11.1.6 |
Original advisory text
@fastify/session vulnerable to session revocation bypass via a logout race condition
@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.
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-362Race Condition
CWE-613Insufficient Session Expiration
Timeline
Published27 Oct 2026
Updated4 Nov 2026
First seen27 Oct 2026
Sources
CVE-2026-117499 · NVD
CVE-2026-117499 · MITRE
CVE-2026-117499 · OSV
GHSA-2hw7-jxfh-4rm3 · GHSA
Track software like this
Free during beta