CVE-2025-46336 MEDIUM

CVE-2025-46336: Rack session gets restored after deletion

Vendor Rack
Product rack-session
Weakness CWE-362
Published May 8, 2025
Last update May 8, 2025

CVSS base score

4.2/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 8, 2025 CVE published
May 8, 2025 Record updated