{"schema_version":"1.9.0","id":"CVE-2025-46336","published":"2025-05-08T19:26:01.638Z","modified":"2026-08-12T03:51:11.449479205Z","aliases":["GHSA-9j94-67jr-4cqj"],"related":["CGA-gvv9-gcjc-45p7","GHSA-9j94-67jr-4cqj","GHSA-vpfw-47h7-xj4g","openSUSE-SU-2025:15623-1","openSUSE-SU-2026:10359-1"],"summary":"Rack session gets restored after deletion","details":"Rack::Session is a session management implementation for Rack. In versions starting from 2.0.0 to before 2.1.1, when using the Rack::Session::Pool middleware, and provided the attacker can acquire a session cookie (already a major issue), the session may be restored if the attacker can trigger a long running request (within that same session) adjacent to the user logging out, in order to retain illicit access even after a user has attempted to logout. This issue has been patched in version 2.1.1.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rack/rack-session","events":[{"introduced":"711c671ae6ed7b062bd875125314f676e2ad0116"},{"fixed":"96663ece1596a3462704c30f98b85cd7e0337d6e"}],"database_specific":{"extracted_events":[{"introduced":"2.0.0"},{"fixed":"2.1.1"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.1.0","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46336.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46336.json"},{"type":"ADVISORY","url":"https://github.com/rack/rack-session/security/advisories/GHSA-9j94-67jr-4cqj"},{"type":"ADVISORY","url":"https://github.com/rack/rack/security/advisories/GHSA-vpfw-47h7-xj4g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46336"},{"type":"FIX","url":"https://github.com/rack/rack-session/commit/c28c4a8c1861d814e09f2ae48264ac4c40be2d3b"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-362","CWE-367","CWE-613"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46336.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}