CVE-2025-46336 in Retain products
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...
Affects 0 products from 1 vendor. Facts below cite their sources.
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
| Vendor | Product | Affected versions |
|---|---|---|
| Retain | — | — |
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.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-46336 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-261236-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Published | 2025-05-08 |
| Last modified | 2026-04-15 |
| Weakness (CWE) | |
| Source | NVD |
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::Session::Pool middleware in versions 2.0.0 to before 2.1.1 allows an attacker to retain a session if they can trigger a long-running request adjacent to the user logging out, provided they have acquired a session cookie.
The attack involves an attacker obtaining a session cookie and then triggering a long-running request in the same session while the user is logging out. This can prevent the session from being properly terminated, allowing the attacker to retain access.
Questions
What is CVE-2025-46336?
A vulnerability in Rack::Session::Pool middleware in versions 2.0.0 to before 2.1.1 allows an attacker to retain a session if they can trigger a long-running request adjacent to the user logging out, provided they have acquired a session cookie.
What is the CVSS score for CVE-2025-46336?
CVE-2025-46336 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-46336 actively exploited?
No confirmed active exploitation of CVE-2025-46336 as of 2026-05-30.
How do I remediate CVE-2025-46336?
Priority: HIGH.
What systems are affected by CVE-2025-46336?
CVE-2025-46336 affects Retain.
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":"Retain","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.