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

- Severity: Low 3.7 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-10-27T11:19:22.090Z
- Modified: 2026-11-04T17:17:30.983Z
- Weaknesses: CWE-362, CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

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

(As written by CVE List.)

## Affected

- @fastify/session @fastify/session: before 11.1.6 (not affected: 11.1.6)

## References

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

## Sources

- CVE List: [CVE-2026-117499](https://www.cve.org/CVERecord?id=CVE-2026-117499), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-117499](https://nvd.nist.gov/vuln/detail/CVE-2026-117499), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-117499 · Whole record: https://cve.day/CVE-2026-117499.json · Rebuilt by cve.day 2026-11-25T22:59:47.354Z
