Skip to content
Threat Brief

← All advisories

CVE-2026-126076

Medium 4.2No known exploitationFix available

Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore

Vendor advisory: GHSA-2586-8ghr-69fj

Record last updated

CVSS score

4.2

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 24% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-613

Patching and mitigation

Patch status
Fix available (source: Microsoft MSRC)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
msrc.microsoft.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Microsoftazl4 rubygem-actionpack 1:8.0.2-6.azl4 on Azure Linux 4.0Not documentedNot documentedMicrosoft MSRC
railsrails< 8.0.5.2Not documentedCVE Program
railsrails>= 8.1, < 8.1.4.1Not documentedCVE Program
rubygemsactionpackfrom 8.1.0.beta1 before 8.1.4.18.1.4.1GitHub Advisory Database
rubygemsactionpackall versions before 8.0.5.28.0.5.2GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references