Live threats

All CVEs / Rubyonrails

CVE-2024-26144Rubyonrails Rails

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Feb 27, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activestorage ≥ 5.2.0 < 6.1.7.7 6.1.7.7 gem "activestorage", ">= 6.1.7.7"
RubyGems activestorage ≥ 7.0.0 < 7.0.8.1 7.0.8.1 gem "activestorage", ">= 7.0.8.1"

Per OSV / GitHub Advisories (GHSA-8h22-8cf7-hq6g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails≥ 5.2.0 < 6.1.7.7
rubyonrailsrails≥ 7.0.0 < 7.1.0

Official sources

References

Links published by the sources. Open them with care.