{"id":"CVE-2024-26144","published":"2024-02-27T15:44:04Z","modified":"2025-02-13T17:41:06Z","title":"Possible Sensitive Session Information Leak in Active Storage","vendor":"rails","product":"rails","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01365,"percentile":0.71941,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/723f54566023e91060a67b03353e7c03e7436433","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/78fe149509fac5b05e54187aaaef216fbb5fd0d3","tags":["x_refsource_MISC"]},{"url":"https://discuss.rubyonrails.org/t/possible-sensitive-session-information-leak-in-active-storage/84945","tags":["x_refsource_MISC"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2024-26144.yml","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0013/","tags":[]}],"priority":{"score":23.1,"factors":[{"name":"EPSS percentile","points":14.39},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2020-04-05","earliestUrl":"https://github.com/usutani/study-turbolinks-link","repos":[{"name":"usutani/study-turbolinks-link","url":"https://github.com/usutani/study-turbolinks-link","stars":0,"created":"2020-04-05"}]},"first":{"date":"2020-04-05","source":"PoC-in-GitHub","url":"https://github.com/usutani/study-turbolinks-link"},"provenance":"source"},"vendorSlug":"rails","affectedVersions":[{"vendor":"rails","product":"rails","versions":[">= 5.2.0, < 6.1.7.7",">= 7.0.0, < 7.0.8.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-09T14:01:13.600938Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"activestorage","vulnerableRanges":[">=5.2.0, <6.1.7.7",">=7.0.0, <7.0.8.1"],"patched":["6.1.7.7","7.0.8.1"],"from":["GHSA-8h22-8cf7-hq6g"],"provenance":"source"}],"summary":{"text":"Active Storage in Rails, starting with version 5.2.0, serves blob responses with a Set-Cookie header alongside a public Cache-Control setting, which can expose session information. An attacker needs network access and no authentication or user interaction, but the leak depends on an intermediary proxy caching the Set-Cookie response.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:08Z"},"euvd":{"id":"EUVD-2024-0573","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-16477","published":"2018-11-30","fixed":"5.2.1.1","kev":false},{"cve":"CVE-2020-8162","published":"2020-06-19","fixed":"6.0.3.1","kev":false},{"cve":"CVE-2022-21831","published":"2022-05-26","fixed":"7.0.2.3","kev":false,"link":{"from":"CVE-2022-21831","to":"CVE-2024-26144","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activestorage","fromFixed":"6.1.4.7","toFixed":"6.1.7.7","daysApart":642},{"kind":"version-step","provenance":"source","package":"RubyGems:activestorage","fromFixed":"7.0.2.3","toFixed":"7.0.8.1","daysApart":642}]}},{"cve":"CVE-2024-26144","published":"2024-02-27","fixed":"7.0.8.1","kev":false},{"cve":"CVE-2025-24293","published":"2026-01-30","fixed":"8.0.2.1","kev":false,"link":{"from":"CVE-2024-26144","to":"CVE-2025-24293","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activestorage","fromFixed":"7.0.8.1","toFixed":"7.1.5.2","daysApart":703}]}},{"cve":"CVE-2026-33173","published":"2026-03-23","fixed":"8.1.2.1","kev":false},{"cve":"CVE-2026-33174","published":"2026-03-23","fixed":"8.1.2.1","kev":false}],"package":"RubyGems:activestorage"}}