VDB

CVE-2025-46336

CVE-2025-46336 PUBLISHED CVSS 4.2 MEDIUM

Rack session gets restored after deletion

Reported by github_m · Published May 8, 2025

rack-session is fixed in 2.1.1 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rack-sessionRubyGems2.1.1

Risk scores

CVSS 3.1
4.2
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
rackrack-session>= 2.0.0, < 2.1.1
RubyGemsrack-session2.0.0
chainguardruby3.3-rails-8.00
chainguardruby3.2-rails-8.00
chainguardruby3.4-rails-7.20
chainguardruby3.4-rails-8.00
chainguardruby3.2-rails-7.20
chainguardruby3.3-rails-7.10
wolfiruby3.4-rails-8.00
chainguardruby3.4-rails-7.10
chainguardruby3.2-rails-7.10
wolfilogstash-80
chainguardruby3.3-rails-7.20
wolfiruby3.2-rails-8.00
chainguardlogstash-80
wolfiruby3.3-rails-8.00
rackrack-session2.0.0

Timeline

  • May 8, 2025 CVE Published
  • May 8, 2025 PoC Published (13 in total, the first dated here)
  • May 9, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory
  • Apr 15, 2026 CVE Updated
  • Jun 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-46336
vulnetix vdb fixes CVE-2025-46336

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-46336/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›