CVE-2025-46336 json
Rack session gets restored after deletion
published 2025-05-08 18 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-14006 , GHSA-9j94-67jr-4cqj
- cvss
- 4.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems rack-session 2.1.1
- rack rack-session 2.1.1
- ruby-rack-session Debian 14, Debian 13 2.1.1-0.1
debian advisories DEBIAN-CVE-2025-46336
- rubygem-rack-session openSUSE Tumbleweed 2.1.1-1.3
- rubygem-rack-session openSUSE Tumbleweed 2.1.1-1.1
opensuse advisories openSUSE-SU-2026:10359-1openSUSE-SU-2025:15623-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-46336 updated cvss 4.2
rack: Rack::Session Session Persistence Vulnerability
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/fluentd-rhel8, openshift-logging/fluentd-rhel9 Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel8, 3scale-amp2/zync-rhel9 Red Hat Enterprise Linux 7 pcs, pcs-snmp, python-clufter Red Hat Enterprise Linux 8 pcs, pcs-snmp Red Hat Enterprise Linux 9 pcs, pcs-snmp Red Hat Satellite 6 rubygem-rackaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rack-session | >=2.0.0, <2.1.1 |
2.1.1 |
Affected products
- rack rack-session
Classification
References
-
github.com
/rack/rack-session/commit/c28c4a8c1861d814e09f2ae48264ac4c40be2d3b
web
-
github.com
/rack/rack-session/security/advisories/GHSA-9j94-67jr-4cqj
web
-
github.com
/rack/rack/security/advisories/GHSA-vpfw-47h7-xj4g
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-46336
advisory
-
github.com
/rack/rack-session
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rack-session/CVE-2025-46336.yml
web
Sources
- CVE List CVE-2025-46336
- GitHub Advisory GHSA-9j94-67jr-4cqj
- NVD CVE-2025-46336
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.