CVE-2026-126076: rails · DEPRECATED: Insufficient Session Expiration
Affects railsSource CVE Database V5
Not known to be exploited · CVSS 4.2 Medium : upgrade to 8.1.4.1 or 8.0.5.2 when convenient.
Data as of 10 Nov 2026, 21:20 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.2 |
|---|
- Patch
- Available – fixed in 8.1.4.1, 8.0.5.2
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade rails to 8.1.4.1 or 8.0.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| railsrails | Affected
| Fixed in
|
| railsrails | Affected
| Fixed in
|
AI-suggested
Upgrade Rails to version 8.1.4.1 or 8.0.5.2 or later, where this issue is fixed. Applications using config.session_store :cache_store should apply these updates promptly. Alternatively, using ActionDispatch::Session::CookieStore or MemCacheStore with Dalli 4.0.0 or later avoids this vulnerability. No other specific mitigations are indicated by the vendor advisory.
Description
A session management vulnerability exists in the Rails Action Pack framework prior to versions 8.1.4.1 and 8.0.5.2. Specifically, when using the CacheStore session store, a session may be restored after logout or server-side revocation due to improper handling of concurrent requests and session cache entries. This can allow an attacker with a stolen session cookie to maintain access despite the victim logging out. The issue affects applications configured with config.session_store :cache_store and any cache backend except CookieStore and MemCacheStore with Dalli 4.0.0 or later. The vulnerability is fixed in Rails versions 8.1.4.1 and 8.0.5.2.
References
- github.com/rails/rails/security/advisories/GHSA-2586-8ghr-69fj (opens in a new tab)
- github.com/rails/rails/commit/5bb5ec66ed8faaf590ffe1222d7a5eb6e9d050f5 (opens in a new tab)
- github.com/rails/rails/commit/d479192cf88a8b30a335a8bc25188a2d8e0f8d9f (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.0.5.2 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.1.4.1 (opens in a new tab)