Vulnerability
CVE-2026-126076
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.
74 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-2x2p-xjcx-c76w
- CGA-3j8r-rh6p-ffv2
- CGA-3x2g-6vh8-wjqc
- CGA-453p-6h69-qmcc
- CGA-4hx5-272m-mrm6
- CGA-54hw-gr4j-cm92
- CGA-56hx-mwc9-p64h
- CGA-58vr-9mwm-8gc3
- CGA-5jhg-qq5h-7j86
- CGA-5qp3-ffqp-6369
- CGA-5rhp-r7xx-8c6m
- CGA-5xcp-54vj-j87x
- CGA-5xf3-gvqc-jqx5
- CGA-62fg-3xw4-59f8
- CGA-64pj-3gr2-8qfm
- CGA-655w-f4wc-548w
- CGA-6v6c-9qj5-5jfj
- CGA-6wx4-778g-6288
- CGA-7cw7-h3p8-fmcx
- CGA-7vxw-x52j-r29f
- CGA-82vg-h2gv-prj2
- CGA-8335-xjqp-r5ch
- CGA-83rm-xw9r-6q82
- CGA-8f2p-vh6c-7v84
- CGA-8g9c-7cf3-cxqv
- CGA-8hp8-gpv2-948h
- CGA-8qrf-w2hc-w5hm
- CGA-9c5g-g9w2-9qwf
- CGA-9m2g-q85j-r75x
- CGA-9mm3-c8g7-q7w6
- CGA-c6c9-gfqh-37q4
- CGA-cg8q-gv8m-mjp8
- CGA-cr88-8w9q-xmmp
- CGA-f4xh-jvv8-56q4
- CGA-f7vq-2fx7-622j
- CGA-ffrg-hjvm-h5h3
- CGA-fhxf-vc74-88cj
- CGA-fp84-8hpg-fgwm
- CGA-fq9v-hgxx-749g
- CGA-g3ch-37wr-mcch
- CGA-g6p5-5mp9-5x8p
- CGA-g6pr-mm35-fx5p
- CGA-gq5j-424w-gg33
- CGA-hj4q-92gj-29c2
- CGA-hmvv-3x8x-4gmf
- CGA-hqvr-ghxq-6cw9
- CGA-hr74-9prf-cv52
- CGA-j7j5-x529-65pv
- CGA-j8fg-2mww-x9h8
- CGA-jhv2-xw9h-gw6j
- CGA-p8qg-7vv3-mpr6
- CGA-p8rq-6j66-2mgp
- CGA-ppr9-v65v-3vhr
- CGA-q6cf-6m6x-65rg
- CGA-qgc6-9x4h-g652
- CGA-qqx9-3g6g-prvg
- CGA-r3g2-h442-pxwx
- CGA-r576-mj3p-3hf6
- CGA-r7pw-hqc3-w7v8
- CGA-r7v4-xmgc-pc3h
- CGA-rj27-95hj-hqc7
- CGA-rv25-6qx2-cvgj
- CGA-rvv2-mxhv-wxm4
- CGA-v272-3747-39v9
- CGA-v659-v84h-3m23
- CGA-vcwv-q93j-5726
- CGA-vv5w-jf2p-pmww
- CGA-x4vw-xprw-7r3r
- CGA-xcg9-wp44-mvxc
- CGA-xj6j-8jhj-2qx8
-
DEBIAN-CVE-2026-126076
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,…
-
GHSA-2586-8ghr-69fj
Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore
-
SUSEVEX-CVE-2026-126076
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,…
-
UBUNTU-CVE-2026-126076
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,…
References
- https://github.com/rails/rails/commit/5bb5ec66ed8faaf590ffe1222d7a5eb6e9d050f5
- https://github.com/rails/rails/commit/d479192cf88a8b30a335a8bc25188a2d8e0f8d9f
- https://github.com/rails/rails/releases/tag/v8.0.5.2
- https://github.com/rails/rails/releases/tag/v8.1.4.1
- https://github.com/rails/rails/security/advisories/GHSA-2586-8ghr-69fj