CVE-2025-46336
MEDIUM 4.2CVSS 3.1Rack session gets restored after deletion
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.
- Published
- 8 May 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-362CWE-367CWE-613
- Also known as
- GHSA-9j94-67jr-4cqj
- Sources
- NVDJSONOSV GHSA-9j94-67jr-4cqjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | rack-session | >= 2.0.0, < 2.1.1 | 2.1.1 |
References
- https://github.com/rack/rack-session/commit/c28c4a8c1861d814e09f2ae48264ac4c40be2d3b · WEB
- https://github.com/rack/rack-session/security/advisories/GHSA-9j94-67jr-4cqj · WEB
- https://github.com/rack/rack/security/advisories/GHSA-vpfw-47h7-xj4g · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-46336 · ADVISORY
- https://github.com/rack/rack-session · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-session/CVE-2025-46336.yml · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 8 May 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 May 2025)