CVE-2025-46336: Rack Rack-Session

Medium severity, CVSS 4.2. EPSS: 0.3% chance of exploitation in the next 30 days.

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 products

  • Rack Rack-Session: from 2.0.0, before 2.1.1 (fixed in 2.1.1)

Published 2025-05-08. Last modified 2026-06-17.