Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-46336

MEDIUM 4.2EPSS 25%

Rack session gets restored after deletion

Also known as GHSA-9j94-67jr-4cqj

Mitigation

  • Upgrade rack-session to 2.1.1 or later.

Who should check

  • Projects that depend on RubyGems package rack-session (>= 2.0.0, < 2.1.1)
  • Anyone running rack-session >= 2.0.0, < 2.1.1

Vulnerability facts

Affected
rack-session >= 2.0.0, < 2.1.1
Fixed in
2.1.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
4.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
CWE
CWE-362, CWE-367, CWE-613
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
RubyGems rack-session>= 2.0.0, < 2.1.12.1.1osv
rack-session>= 2.0.0, < 2.1.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-46336. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-46336.md
Affected: rack-session >= 2.0.0, < 2.1.1
Fixed in: 2.1.1

Steps:
1. Search this machine and project for rack-session (RubyGems), rack-session: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-46336 being exploited?

There is no confirmed exploitation: CVE-2025-46336 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-46336?

Medium: CVSS 4.2 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-46336?

rack-session >= 2.0.0, < 2.1.1.

Is there a fix for CVE-2025-46336?

Yes. Fixed in 2.1.1. Upgrade rack-session to 2.1.1 or later.

How do I check if I'm affected by CVE-2025-46336?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors