CVE-2024-26144: Session Cookie Disclosure in Rails Active Storage
- Vendors
- RailsRuby On Rails
CVE-2024-26144 is a sensitive session information disclosure vulnerability in Ruby on Rails Active Storage, introduced in Rails 5.2.0. Affected Active Storage blob responses can include a Set-Cookie header containing the user's session cookie while also specifying public caching through Cache-Control. Shared caching proxies that retain Set-Cookie headers may cache and redistribute the session cookie to other users. Fixes were released in Rails 6.1.7.7 and 7.0.8.1; Rails 7.1.0 and later also include the original mitigation.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A shared caching proxy may deliver one user's session cookie to another requester, exposing session credentials and potentially enabling session hijacking. Successful reuse of a valid authenticated session could permit access to private data and actions under the affected user's identity.
Mitigation
If you can’t patch tonight, do this now.
Configure shared caching proxies and CDNs not to cache Set-Cookie headers from affected Active Storage responses, preferably by refusing to cache responses containing Set-Cookie.
Remediation
Patch, then assume compromise.
Upgrade affected Rails installations to 6.1.7.7, 7.0.8.1, or a later release containing the fix, as appropriate for the deployment branch. A separately identified bypass, CVE-2026-126077, affects automatic legacy-cookie rewriting under certain configurations; deployments using cookie rotation or hybrid serialization with Active Storage proxy delivery should also apply the relevant follow-up fixes, identified as 8.0.5.2 and 8.1.4.1.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-26144 exploited in the wild?
- As of Nov 13, 2026, Mallory has no reports of CVE-2024-26144 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-26144?
- As of Nov 13, 2026, Mallory has found no public exploit for CVE-2024-26144.
- Is there a patch for CVE-2024-26144?
- Upgrade affected Rails installations to 6.1.7.7, 7.0.8.1, or a later release containing the fix, as appropriate for the deployment branch. A separately identified bypass, CVE-2026-126077, affects automatic legacy-cookie rewriting under certain configurations; deployments using cookie rotation or hybrid serialization with Active Storage proxy delivery should also apply the relevant follow-up fixes, identified as 8.0.5.2 and 8.1.4.1.
- What products are affected by CVE-2024-26144?
- Rails and Ruby On Rails Rails.
- How severe is CVE-2024-26144?
- CVE-2024-26144 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 1.3% (70th percentile) as of Nov 13, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.