Read the docs

Destroyed sessions can be restored in Action Pack cache session store

Priority LOW 19CWE-613Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-613.

Summary

Action Pack versions from 8.1.0.beta1 before 8.1.4.1 and versions before 8.0.5.2 are affected. ActionDispatch::Session::CacheStore saves a session back to the cache at the end of a request without checking that it still exists, so a concurrent logout or server-side deletion can be undone (CWE-613). An attacker who holds a stolen session cookie can keep that session valid after the victim logs out. Applications that use config.session_store :cache_store are affected, with any cache backend.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0031 24th percentileScored 2026-11-16
Fix Partial rails (rails): 8.1.4.1, 8.0.5.2actionpack (RubyGems): 8.1.4.1, 8.0.5.2Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Railsrails8.1 to before 8.1.4.1; before 8.0.5.28.1.4.1, 8.0.5.2Patch availableCNA
—actionpack (RubyGems)8.1.0.beta1 to before 8.1.4.18.1.4.1Patch availableGHSA-2586-8ghr-69fj
—actionpack (RubyGems)before 8.0.5.28.0.5.2Patch availableGHSA-2586-8ghr-69fj
  • rails VendorRails Affected 8.1 to before 8.1.4.1; before 8.0.5.2 Fixed in 8.1.4.1, 8.0.5.2 Patch available CNA
  • actionpack (RubyGems) Vendor— Affected 8.1.0.beta1 to before 8.1.4.1 Fixed in 8.1.4.1 Patch available GHSA-2586-8ghr-69fj
  • actionpack (RubyGems) Vendor— Affected before 8.0.5.2 Fixed in 8.0.5.2 Patch available GHSA-2586-8ghr-69fj

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*——Rails
  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* Versions — — ·Rails

Remediation

Upgrade the rails and actionpack packages to 8.1.4.1 or 8.0.5.2. Red Hat 3scale API Management Platform 2 and Red Hat Satellite 6 have no fix available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

  • Fix · CNA rails (rails) Fixed in 8.1.4.1, 8.0.5.2
  • Fix · GHSA-2586-8ghr-69fj actionpack (RubyGems) Fixed in 8.1.4.1 Advisory →
  • Fix · GHSA-2586-8ghr-69fj actionpack (RubyGems) Fixed in 8.0.5.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat 3scale API Management Platform 2AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-126076
  2. 2026-11-10 Alias added: GHSA-2586-8ghr-69fj
  3. 2026-11-10 Fix available: RubyGems/[email protected], RubyGems/[email protected] · GHSA-2586-8ghr-69fj
  4. 2026-11-10 CVSS score added · GHSA-2586-8ghr-69fj
  5. 2026-11-10 Weakness changed · GHSA-2586-8ghr-69fj
  6. 2026-11-10 7 new references · GHSA-2586-8ghr-69fj
  7. 2026-11-11 Affected versions changed · Red Hat
  8. 2026-11-11 CVSS score added · Red Hat
  9. 2026-11-12 CISA SSVC decision points changed

References

  • TI-2014-00124 Path traversal in Ruby on Rails lets remote attackers read files KEVCVSS 3.1HIGH 7.5
  • TI-2019-03828 File content disclosure in Rails Action View KEVCVSS 3.1HIGH 7.5
  • TI-2016-00672 Directory traversal in Rails Action View lets attackers read files KEVCVSS 3.1HIGH 7.5
  • TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
  • TI-2026-47043 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing CVSS 4.0CRITICAL 9.5
  • TI-2025-18040 Command injection in Rails activestorage CVSS 4.0CRITICAL 9.2
See all 185 →

Sources