UBUNTU-CVE-2026-126076: Medium severity ubuntu/rails vulnerability

Published Nov 12, 2026
·
Updated

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 resetsession 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.sessionstore :cachestore 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.

Affected Software

7 affected components
ubuntu/rails*
ubuntu/rails*
ubuntu/rails*
ubuntu/rails*
ubuntu/rails*
ubuntu/rails*
ubuntu/rails*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Action Pack to a version that resolves this vulnerability.

    Fixed in 8.1.4.1
  2. Upgrade

    Upgrade Action Pack to a version that resolves this vulnerability.

    Fixed in 8.0.5.2

Event History

Nov 12, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which Rails session configurations are affected?

Applications configured with config.session_store :cache_store are affected regardless of the cache backend. CookieStore is not affected, and MemCacheStore using Dalli 4.0.0 or later is not affected because it does not write back a deleted session.

2

What does an attacker need to exploit this issue?

The attacker needs a stolen session cookie for a session that is being logged out or otherwise revoked. A concurrent request that loaded the session before its deletion and completes afterward can restore the session under the original ID, allowing the stolen cookie to remain valid.

3

How can I determine whether my application is exposed?

Check the application's session-store configuration for config.session_store :cache_store. If it uses that store and runs a version earlier than 8.1.4.1 or 8.0.5.2, it is exposed to the described session restoration condition.

4

What should be done if upgrading cannot happen immediately?

Use a session store that is not affected, such as CookieStore, or use MemCacheStore with Dalli 4.0.0 or later. The permanent fix is to upgrade to Rails 8.1.4.1 or 8.0.5.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203