Live threats

All CVEs / rack

CVE-2025-46336rack-session

Medium 4.2

Priority
25
CVSS 3.1
4.2
EPSS
—
Auth required
Yes
Published
May 8, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362, CWE-367, CWE-613
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for rack-session.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.