Description
Rails is a web-application framework. Starting with version 5.2.0, there is a possible sensitive session information leak in Active Storage. By default, Active Storage sends a Set-Cookie header along with the user's session cookie when serving blobs. It also sets Cache-Control to public. Certain proxies may cache the Set-Cookie, leading to an information leak. The vulnerability is fixed in 7.0.8.1 and 6.1.7.7.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rails | rails | >= 5.2.0, < 6.1.7.7, >= 7.0.0, < 7.0.8.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rails | 2:7.2.2.1+dfsg-1 | — |
| Debian 13 | rails | 2:7.2.2.1+dfsg-1 | — |
| Debian 12 | rails | 2:6.1.7.10+dfsg-1~deb12u1 | DSA-5881-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rails | No fix yet | — |
| Ubuntu 26.04 LTS | rails | No fix yet | — |
| Ubuntu 25.10 | rails | No fix yet | — |
| Ubuntu 24.04 LTS | rails | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 20.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 18.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 16.04 LTS | rails | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Satellite Capsule 6 | python-pulp-container +1 | 2.16.9-2.el8pc | RHSA-2024:10806 |
| Red Hat Satellite Capsule 6 | rubygem-rack | 2.2.8.1-1.el8sat | RHSA-2024:10806 |
| Red Hat Satellite 6 | python-pulp-container +1 | 2.16.9-2.el8pc | RHSA-2024:10806 |
| Red Hat Satellite 6 | rubygem-activestorage | 6.1.7.7-1.el8sat | RHSA-2024:10806 |
| Red Hat Satellite 6 | rubygem-rack | 2.2.8.1-1.el8sat | RHSA-2024:10806 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
gmo-ierae/CVE-2024-26144-test ★ 0 · May 24, 2024
-
usutani/study-turbolinks-link ★ 0 · Apr 5, 2020
Known security vulnerabilities detected. CVE-2022-21831 Critical severity CVE-2025-24293 Critical severity CVE-2020-8162 High severity CVE-2024-26144 Moderate severity
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | activestorage | >= 5.2.0, < 6.1.7.7 | 6.1.7.7 | GHSA-8h22-8cf7-hq6g |
| RubyGems | activestorage | >= 7.0.0, < 7.0.8.1 | 7.0.8.1 | GHSA-8h22-8cf7-hq6g |
Advisories 3
- RHSA-2024:10806 Red Hat Security Advisory: Satellite 6.15.5 Async Update Red Hat Security Advisories (RHSA) · Sep 18, 2026
- DSA-5881-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-0462 Ruby on Rails: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 16, 2025
References
- https://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g
- https://github.com/rails/rails/commit/723f54566023e91060a67b03353e7c03e7436433
- https://github.com/rails/rails/commit/78fe149509fac5b05e54187aaaef216fbb5fd0d3
- https://discuss.rubyonrails.org/t/possible-sensitive-session-information-leak-in-active-storage/84945
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2024-26144.yml
- https://security.netapp.com/advisory/ntap-20240510-0013/