CVE-2025-46336
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 3 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.1.1-0.1 |
| sid | Fixed | 2.1.1-0.1 |
| forky | Fixed | 2.1.1-0.1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | rack-session | !< 2.0.0||<>= 2.1.1 | >= 2.1.1 |
| RubyGems | rack-session | >=2.0.0,<2.1.1 | 2.1.1 |
References
- https://github.com/rack/rack-session/security/advisories/GHSA-9j94-67jr-4cqj
- https://www.suse.com/security/cve/CVE-2025-46336.html
- https://github.com/rack/rack/security/advisories/GHSA-vpfw-47h7-xj4g
- https://nvd.nist.gov/vuln/detail/CVE-2025-46336
- https://github.com/rack/rack-session/commit/c28c4a8c1861d814e09f2ae48264ac4c40be2d3b
- https://github.com/rack/rack-session
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-session/CVE-2025-46336.yml
- https://security-tracker.debian.org/tracker/CVE-2025-46336
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.