BreachSpiderVerified, not vibes

CVE-2025-32441 in Rack

Medium 4.2

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,...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.14.2
EPSS0.4%
EPSS percentile30th
FixUnknown

Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Rack Rack < 2.2.14

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-32441
BreachSpider IDBS-2025-GLOBAL-040092-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Published2025-05-07
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-362: Race Condition

Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.

CWE-367: CWE-367

CWE-613: CWE-613

Related attack patterns (CAPEC)

CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367

CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362, CWE-367

CAPEC-26 Leveraging Race Conditions via CWE-362

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in Rack versions prior to 2.2.14 allows unauthenticated users to occupy a deleted session when using the Rack::Session::Pool middleware, potentially leading to unauthorized access.

The vulnerability arises from the way Rack::Session::Pool middleware handles session restoration. Simultaneous requests can restore a session that has been deleted, allowing an attacker to take over that session without authentication.

Questions

What is CVE-2025-32441?

A vulnerability in Rack versions prior to 2.2.14 allows unauthenticated users to occupy a deleted session when using the Rack::Session::Pool middleware, potentially leading to unauthorized access.

What is the CVSS score for CVE-2025-32441?

CVE-2025-32441 has CVSS 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.4%.

Is CVE-2025-32441 actively exploited?

No confirmed active exploitation of CVE-2025-32441 as of 2026-09-25.

How do I remediate CVE-2025-32441?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2025-32441?

CVE-2025-32441 affects Rack Rack.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Rack","product":"Rack","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.