Insufficient Session Expiration Affecting @hotwired/turbo package, versions <8.0.21


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-HOTWIREDTURBO-15046444
  • published22 Jan 2026
  • disclosed20 Jan 2026
  • creditSam Oliver

Introduced: 20 Jan 2026

CVE-2025-66803  (opens in a new tab)
CWE-367  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade @hotwired/turbo to version 8.0.21 or higher.

Overview

@hotwired/turbo is a The speed of a single-page web application without having to write any JavaScript

Affected versions of this package are vulnerable to Insufficient Session Expiration due to a race condition. An attacker can cause stale session cookies to be restored by delaying HTTP responses containing Set-Cookie headers, potentially reverting session state after it has been modified or invalidated. This is only exploitable if the application uses client-side cookie-based session storage for sessions.

Workaround

This vulnerability can be mitigated by using server-side session storage instead of client-side cookies, or by ensuring logout flows remove or disable Turbo Frame elements before invalidating sessions.

CVSS Base Scores

version 4.0
version 3.1