CVE-2025-46336rack-session
Medium 4.2
Follow: this CVE · rack · rack-session We alert you by email or Slack (account required).
- Priority
- 25
- CVSS 3.1
- 4.2
- EPSS
- —
- Auth required
- Yes
- Published
- May 8, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
What happens
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
- Apply the vendor's security update for rack-session.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rack-session |
≥ 2.0.0 < 2.1.1 |
2.1.1 |
gem "rack-session", ">= 2.1.1" |
Per OSV / GitHub Advisories (GHSA-9j94-67jr-4cqj). Check the version in your lockfile before upgrading.
Affected products
- rack · rack-session
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- ruby4.0-rubygem-rack-session-2.1.1-1.3 on GA media · SUSE · openSUSE-SU-2026:10359-1 · Mar 13, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.