CVE Tools

CVE-2025-32441

Rack session gets restored after deletion

CVE-2025-32441 is a race condition in Rack (CVSS 4.2, Medium).

Public exploit available. Not confirmed exploited in the wild yet. Fixed in 2.2.14.

Check it yourself

OpenVAS · 11 checks

e.g. OID 1.3.6.1.4.1.25623.1.1.1.2.2025.4357

Run the check

Published Updated Sources: CVE.org, NVD, GitHub, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • RubyGems rackAffected: < 2.2.14Upgrade to: 2.2.14Stated by: GitHub advisory
  • RackAffected: < 2.2.14Upgrade to: 2.2.14Stated by: NVD
  • Canonical Ltd. UbuntuAffected: 14.04 LTSUpgrade to: not statedStated by: BDU
  • Red Hat Inc. Red Hat Enterprise LinuxAffected: 7Upgrade to: not statedStated by: BDU
  • Novell Inc. OpenSUSE LeapAffected: 15.5Upgrade to: not statedStated by: BDU

Versions as the sources state them. 7 more products have version data. Full version matrix after sign-in

What it is

From the CVE record

Rack is a modular Ruby web server interface. Prior to version 2.2.14, when using the `Rack::Session::Pool` middleware, simultaneous rack requests can restore a deleted rack session, which allows the unauthenticated user to occupy that session. Rack session middleware prepares the session at the beginning of request, then saves is back to the store with possible changes applied by host rack application. This way the session becomes to be a subject of race conditions in general sense over concurrent rack requests. 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. Version 2.2.14 contains a patch for the issue. Some other mitigations are available. Either ensure the application invalidates sessions atomically by marking them as logged out e.g., using a `logged_out` flag, instead of deleting them, and check this flag on every request to prevent reuse; or implement a custom session store that tracks session invalidation timestamps and refuses to accept session data if the session was invalidated after the request began.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS29th
Public exploit
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

1 source with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

0.4% chance of exploitation activity in the next 30 days, which ranks it in the 29th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

The patch came 262 days before any public exploit.

  1. OpenVAS check added
  2. Public exploit / PoCsource: github-poc
  3. Patch availableworkaround available, record updated
  4. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

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

Scored 4.2 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality LowSome restricted information is disclosed, but limited in scope
  • Integrity LowData modification is possible but limited in scope or consequence
  • Availability NoneNo availability impact

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2025-32441

Is CVE-2025-32441 being exploited?
Not confirmed. Public exploit code exists (1 source), but CVE-2025-32441 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 0.4%.
Which versions are affected by CVE-2025-32441?
Rack: < 2.2.14. Rack: < 2.2.14. Ubuntu: 14.04 LTS. 9 more products are listed in the record.
How do I fix or mitigate CVE-2025-32441?
Upgrade to 2.2.14 or later. The advisory is on github.com.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Rack, not every advisory. This one: public exploit.