CVE-2026-126076 json
Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore
published 7d ago modified 22h ago also EUVD-2026-122925 , GHSA-2586-8ghr-69fj
- cvss
- 4.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems actionpack 8.0.5.2, 8.1.4.1
Is CVE-2026-126076 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-126076 updated cvss 4.2
actionpack: actionpack: Session retention across logout via race condition in CacheStore
-
Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel9, 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9affected: workaround, no fix available, no fix planned “Out of support scope”
-
Red Hat Satellite 6 rubygem-actionpack 7.0.8.7-1.el9sataffected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.0 | 4.2 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionpack | >=8.1.0.beta1, <8.1.4.1 <8.0.5.2 |
8.1.4.1 8.0.5.2 |
Affected products
- rails rails
Classification
- Weakness
-
- CWE-613 DEPRECATED: Insufficient Session Expiration
- Technology feeds
References
-
github.com
/rails/rails/commit/5bb5ec66ed8faaf590ffe1222d7a5eb6e9d050f5
web
-
github.com
/rails/rails/commit/d479192cf88a8b30a335a8bc25188a2d8e0f8d9f
web
-
github.com
/rails/rails/security/advisories/GHSA-2586-8ghr-69fj
web, advisory
-
github.com
/rails/rails/releases/tag/v8.0.5.2
web
-
github.com
/rails/rails/releases/tag/v8.1.4.1
web
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-2586-8ghr-69fj.yml
web
Sources
- CVE List CVE-2026-126076
- GitHub Advisory GHSA-2586-8ghr-69fj
- NVD CVE-2026-126076
- Maintainer advisory GHSA-2586-8ghr-69fj
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.