Intel

AIKIDO-2026-549413

actionpack is vulnerable to Insufficient Session Expiration

GHSA-2586-8ghr-69fjPublished 3 days ago
November 4, 2026

42

CVE Score

Medium

Insufficient Session Expiration

Are you affected? Scan for Free

TL;DR

ActionDispatch::Session::CacheStore in actionpack writes a loaded session back to the cache at the end of the request without checking that the cache entry still exists. A request that finishes after a concurrent logout or server-side delete restores the session under its original id, so a stolen session cookie can stay valid across logout. Cookie store sessions are not affected. The fix skips the write when the session's cache entry is gone and discards changes made by that request.

How do I fix this?

Upgrade the actionpack library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the application uses config.session_store :cache_store.

Package

Versions

0.9.0 - 8.0.5.1

Fixed in 8.0.5.2

8.1.0 - 8.1.4

Fixed in 8.1.4.1

Background info

actionpack is vulnerable to Insufficient Session Expiration in versions 0.9.0 - 8.0.5.1 and 8.1.0 - 8.1.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea