{"id":"CVE-2024-26144","aliases":["CVE-2024-26144","GHSA-8h22-8cf7-hq6g","BIT-RAILS-2024-26144"],"related":[],"kind":"vulnerability","state":"published","title":"Possible Sensitive Session Information Leak in Active Storage","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"# Possible Sensitive Session Information Leak in Active Storage\n\nThere is a possible sensitive session information leak in Active Storage.  By\ndefault, Active Storage sends a `Set-Cookie` header along with the user's\nsession cookie when serving blobs.  It also sets `Cache-Control` to public.\nCertain proxies may cache the Set-Cookie, leading to an information leak.\n\nThis vulnerability has been assigned the CVE identifier CVE-2024-26144.\n\nVersions Affected:  >= 5.2.0, < 7.1.0\nNot affected:       < 5.2.0, > 7.1.0\nFixed Versions:     7.0.8.1, 6.1.7.7\n\nImpact\n------\nA proxy which chooses to caches this request can cause users to share\nsessions. This may include a user receiving an attacker's session or vice\nversa.\n\nThis was patched in 7.1.0 but not previously identified as a security\nvulnerability.\n\nAll users running an affected release should either upgrade or use one of the\nworkarounds immediately.\n\nReleases\n--------\nThe fixed releases are available at the normal locations.\n\nWorkarounds\n-----------\nUpgrade to Rails 7.1.X, or configure caching proxies not to cache the\nSet-Cookie headers.\n\nCredits\n-------\n\nThanks to [tyage](https://hackerone.com/tyage) for reporting this!","format":"markdown","source":"ghsa"},{"lang":"es","text":"Rails es un framework de aplicación web. A partir de la versión 5.2.0, existe una posible fuga de información confidencial de la sesión en Active Storage. De forma predeterminada, Active Storage envía un encabezado Set-Cookie junto con la cookie de sesión del usuario cuando sirve blobs. También configura Cache-Control como público. Ciertos servidores proxy pueden almacenar en caché la Set-Cookie, lo que provoca una fuga de información. La vulnerabilidad se solucionó en 7.0.8.1 y 6.1.7.7.","source":"nvd"}],"published":"2024-02-27T15:44:04.166Z","modified":"2026-09-10T03:50:05.469Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":">= 5.2.0, < 6.1.7.7","status":"affected"},{"version":">= 7.0.0, < 7.0.8.1","status":"affected"}],"vendor":"rails","product":"rails","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.2.0","fixed":"7.1.0","status":"affected"}],"vendor":"rails","product":"rails","cpe":"cpe:2.3:a:rails:rails:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.2.0","status":"affected","fixed":"6.1.7.7"}],"ecosystem":"RubyGems","package":"activestorage","purl":"pkg:gem/activestorage","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.0.8.1"}],"ecosystem":"RubyGems","package":"activestorage","purl":"pkg:gem/activestorage","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.2.0","fixed":"6.1.7.7"},{"status":"affected","introduced":"7.0.0","fixed":"7.1.0"}],"vendor":"rubyonrails","product":"rails","cpe":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"5.2.0","status":"affected","fixed":"6.1.8"},{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.9"}],"ecosystem":"Bitnami","package":"rails","purl":"pkg:bitnami/rails","source":"bitnami"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/rails/rails/commit/723f54566023e91060a67b03353e7c03e7436433","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/rails/rails/commit/78fe149509fac5b05e54187aaaef216fbb5fd0d3","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://discuss.rubyonrails.org/t/possible-sensitive-session-information-leak-in-active-storage/84945","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2024-26144.yml","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0013/","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26144","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/rails/rails","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26144.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0013","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-08-09T14:01:13.600Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26144","url":"https://www.cve.org/CVERecord?id=CVE-2024-26144","licence":"CVE Terms of Use","modified":"2025-02-13T17:41:06.989Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8h22-8cf7-hq6g","url":"https://github.com/advisories/GHSA-8h22-8cf7-hq6g","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:05.469Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26144","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26144","licence":"Public domain","modified":"2026-06-17T07:17:11.480Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-RAILS-2024-26144","url":"https://osv.dev/vulnerability/BIT-RAILS-2024-26144","licence":"Apache-2.0","modified":"2025-05-20T10:02:07.006Z"}],"updatedAt":"2026-11-25T22:58:37.085Z","epss":{"score":0.0125,"percentile":0.70231,"date":"2026-12-01T12:00:22.000Z"}}