Impact
A race condition in @fastify/session allows a session to be restored after a logout, enabling an attacker holding a valid signed session cookie to replay the session once it was meant to be invalidated. This bypasses session revocation and permits continued authorized access without having to steal or forge cookies.
Affected Systems
The flaw affects @fastify/session for Fastify in all releases prior to 11.1.6 when the default rolling session behavior is enabled. The issue resides in the session handling logic that does not check for a session’s generation marker during restoration.
Risk and Exploitability
The problem carries a CVSS score of 3.7, classifying it as low severity. EPSS information is not available, and it is not listed in the CISA KEV catalog, indicating a low probability of widespread exploitation. Successful exploitation requires an attacker to already possess a valid signed session cookie and to coordinate a delayed request with a logout, making the attack vector remote via HTTP.
OpenCVE Enrichment