CVE-2026-126076
Last modified
CVE-2026-126076 is a medium-severity vulnerability rated 4.2/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rails | rails | >= 8.1, < 8.1.4.1; < 8.0.5.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126076?
How severe is CVE-2026-126076?
How do I fix CVE-2026-126076?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126070Action View is a framework for handling view template lookup…6.1
- CVE-2026-126071Active Storage makes it simple to upload and reference files…5.3
- CVE-2026-126072Action Pack is a framework for handling and responding to we…5.9
- CVE-2026-126073Action Pack is a framework for handling and responding to we…4.8
- CVE-2026-126074Active Storage makes it simple to upload and reference files…4.3
- CVE-2026-126075Active Support is a collection of utility classes and standa…4.7
- CVE-2026-126077Action Pack is a framework for handling and responding to we…6.8
- CVE-2026-126078Action View is a framework for handling view template lookup…6.1
- CVE-2026-126079Action View is a framework for handling view template lookup…6.1
- CVE-2026-126080Active Support is a collection of utility classes and standa…7.5
- CVE-2026-126081Action Pack is a framework for handling and responding to we…7.5
- CVE-2026-126082Rejected reason: This CVE is a duplicate of another CVE.
Are you affected by CVE-2026-126076?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
