Information disclosure in Rails
CVE-2024-26144
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.013, 69.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rails — versions >= 5.2.0, < 6.1.7.7, >= 7.0.0, < 7.0.8.1
- Rubyonrails Rails
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- gmo-ierae/CVE-2024-26144-test (last pushed 2024-07-03)
- usutani/study-turbolinks-link (last pushed 2023-03-08): Known security vulnerabilities detected. CVE-2022-21831 Critical severity CVE-2025-24293 Critical severity CVE-2020-8162 High severity CVE-2024-26144 Moderate severity
Also mentioned in 3 other repositories (fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g (Vendor Advisory)
- https://github.com/rails/rails/commit/723f54566023e91060a67b03353e7c03e7436433 (Patch)
- https://github.com/rails/rails/commit/78fe149509fac5b05e54187aaaef216fbb5fd0d3 (Patch)
- https://discuss.rubyonrails.org/t/possible-sensitive-session-information-leak-in-active-storage/84945 (Vendor Advisory)
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2024-26144.yml (Third Party Advisory)
- security.netapp.com/advisory/ntap-20240510-0013/ (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.