CVE-2025-46336
Rack::Session is a session management implementation for Rack. In …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/rack/rack-session/commit/c28c4a8c1861d814e09f2ae48264ac4c40be2d3b
- github.com/rack/rack-session/security/advisories/GHSA-9j94-67jr-4cqj
- github.com/rack/rack/security/advisories/GHSA-vpfw-47h7-xj4g
- nvd.nist.gov/vuln/detail/CVE-2025-46336
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-session/CVE-2025-46336.yml
- github.com/advisories/GHSA-9j94-67jr-4cqj
- nvd.nist.gov/vuln/detail/CVE-2025-46336
- cve.org/CVERecord?id=CVE-2025-46336
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.