← Vulnerabilities

MediumAdvisoryRubyRuby on Rails

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

Affected

PackageAffected versionsFixed in
rubygems:actionpack>= 8.1.0.beta1, < 8.1.4.18.1.4.1
rubygems:actionpack< 8.0.5.28.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…

Read on GitHub Advisory Database

On 11/11/2026, 06:19 AM, GitHub Advisory Database published "Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore" (type: Advisory). Severity is "Medium" (medium). Related technologies: Ruby, Ruby on Rails. CVE: CVE-2026-126076.