Skip to content
Fencer Vulns
medium 4.2

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-rack
    affected: 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

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-613 DEPRECATED: Insufficient Session Expiration

References

Sources

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.