CVE-2026-126076: Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore
Vulnerability summary
CVE-2026-126076 is a medium (CVSS 4.2) vulnerability in rails. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 25.6% of scored vulnerabilities.
Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 10-11-2026PublishedVulnerability first disclosed.
- 12-11-2026Last modifiedVulnerability information updated.
Description
Action Pack is a framework for handling and responding to web requests. Prior to 8.1.4.1 and 8.0.5.2, ActionDispatch::Session::CacheStore writes a session back to the cache at the end of each request that loaded it, without checking that the session's cache entry still exists. When a concurrent request destroys the session, through reset_session on logout or by deleting its cache entry on the server, a request that loaded the session earlier and finishes later restores it under its original session ID. Logout and server-side revocation could therefore fail to end a session, and an attacker who holds a stolen session cookie could keep that session valid across the victim's logout. Applications that use config.session_store :cache_store are affected, with any cache backend. ActionDispatch::Session::CookieStore is not affected, nor is ActionDispatch::Session::MemCacheStore with Dalli 4.0.0 or later, whose session store does not write back a session that was deleted. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
CVSS metrics
6 scores · 6 sources · 2 versions- NVDNIST4.2MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard32 products
- commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.2All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.3All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.4All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.5All versions (No fix recorded)
Debian1 product
- railsAll versions (No fix recorded) | < 2:6.1.7.10+dfsg-1~deb12u4 | < 2:7.2.2.2+dfsg-2~deb13u3 | < 2:7.2.4+dfsg-3
Rails1 product
- rails≥ 8.1, < 8.1.4.1 | < 8.0.5.2
RubyGems1 product
- actionpack≥ 8.1.0.beta1, < 8.1.4.1 | < 8.0.5.2
Ubuntu1 product
- railsAll versions (No fix recorded)
5 vendors · 36 products
References
12 links- github.com/rails/railsPACKAGE