Skip to content

Commit 211e267

Browse files
1 parent d5cdd89 commit 211e267

1 file changed

Lines changed: 73 additions & 0 deletions

File tree

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-qppm-g56g-fpvp",
4+
"modified": "2026-01-20T18:58:15Z",
5+
"published": "2026-01-20T18:58:15Z",
6+
"aliases": [
7+
"CVE-2025-66803"
8+
],
9+
"summary": "Turbo Frame responses can restore stale session cookies",
10+
"details": "### Summary\nA race condition in Turbo Frames allows delayed HTTP responses to restore stale session cookies after session-modifying operations.\n\n### Details\nBrowsers automatically process Set-Cookie headers from HTTP responses. When a Turbo Frame request is in-flight during a session-modifying action (such as logout), the delayed response may include a Set-Cookie header reflecting the session state at request time. This can result in stale session cookies being restored after the session was intentionally modified or invalidated.\n\nThis condition can occur naturally on slow networks. An active network attacker capable of delaying responses could potentially exploit this to restore previous session state.\n\n ### Impact\n Applications using Turbo Frames with cookie-based session storage may experience:\n - Session state reversion after logout\n - Unintended restoration of previous authentication state\n\nThe impact is limited to applications using client-side cookie storage for sessions. Applications using server-side session stores (Redis, database, etc.) are not meaningfully affected, as the server-side session state remains authoritative.\n\n### Patches\n Upgrade to Turbo 8.0.21 or later. The fix cancels in-flight Turbo Frame requests when:\n - The frame element is disconnected from the DOM\n - The frame's disabled attribute is set\n - The frame's src attribute is cleared\n\n### Workarounds\n - Use server-side session storage instead of a cookie store like Rails's cookie store\n - Ensure logout flows remove or disable Turbo Frame elements before invalidating sessions\n\n### References\n - https://github.com/hotwired/turbo/pull/1399",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "@hotwired/turbo"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "8.0.21"
32+
}
33+
]
34+
}
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "<= 8.0.20"
38+
}
39+
}
40+
],
41+
"references": [
42+
{
43+
"type": "WEB",
44+
"url": "https://github.com/hotwired/turbo/security/advisories/GHSA-qppm-g56g-fpvp"
45+
},
46+
{
47+
"type": "WEB",
48+
"url": "https://github.com/hotwired/turbo/pull/1399"
49+
},
50+
{
51+
"type": "WEB",
52+
"url": "https://github.com/hotwired/turbo/commit/899df356e9f4b3303cca217cd14b3f846edda10d"
53+
},
54+
{
55+
"type": "PACKAGE",
56+
"url": "https://github.com/hotwired/turbo"
57+
},
58+
{
59+
"type": "WEB",
60+
"url": "https://github.com/hotwired/turbo/releases/tag/v8.0.21"
61+
}
62+
],
63+
"database_specific": {
64+
"cwe_ids": [
65+
"CWE-367",
66+
"CWE-613"
67+
],
68+
"severity": "LOW",
69+
"github_reviewed": true,
70+
"github_reviewed_at": "2026-01-20T18:58:15Z",
71+
"nvd_published_at": null
72+
}
73+
}

0 commit comments

Comments
 (0)