Skip to content

CVE-2025-46336 Rack session gets restored after deletion

MediumCVSS 4.2 EPSS 0.39% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Debian

Description

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
debian/ruby-rack-session(Debian 13) < 2.1.1-0.1 2.1.1-0.1 Fixed
debian/ruby-rack-session(Debian 14) < 2.1.1-0.1 2.1.1-0.1 Fixed
rubygems rack-session(RubyGems) = 2.0.0; = 2.1.0; >= 2.0.0, < 2.1.1 2.1.1 Fixed
rack-session = >= 2.0.0, < 2.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems rack-session(RubyGems) >= 2.0.0, < 2.1.1 2.1.1
rubygems rack-session(RubyGems) = 2.0.0 No fix listed
rubygems rack-session(RubyGems) = 2.1.0 No fix listed
debian/ruby-rack-session(Debian:13) < 2.1.1-0.1 2.1.1-0.1
debian/ruby-rack-session(Debian:14) < 2.1.1-0.1 2.1.1-0.1
rack-session = >= 2.0.0, < 2.1.1 No fix listed

References