PT-2025-20398

CVE-2025-46336

·

Published

2025-05-08

·

Updated

2026-03-13

Description by

CVSS 3.1
4.2
Medium
MetricsAV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Rack::Session versions 2.0.0 through 2.1.0
Description The issue concerns the Rack::Session::Pool middleware, where simultaneous requests can restore a deleted session, allowing an unauthenticated user to occupy that session. If an attacker can acquire a session cookie and trigger a long-running request adjacent to the user logging out, they may retain illicit access even after the user has attempted to log out.
Recommendations
  • Update to version 2.1.1 or later.
  • Ensure your application invalidates sessions atomically by marking them as logged out, for example, using a logged out flag, instead of deleting them, and check this flag on every request to prevent reuse.
  • Implement a custom session store that tracks session invalidation timestamps and refuses to accept session data if the session was invalidated after the request began.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-9J94-67JR-4CQJ
GHSA-VPFW-47H7-XJ4G
OPENSUSE-SU-2025:15623-1
OPENSUSE-SU-2026:10359-1
Found an issue in the description? Have something to add? Feel free to write us 👾