CVE-2025-61686
React Router has Path Traversal in File Session Storage
描述
If applications use `createFileSessionStorage()` from `@react-router/node` (or `@remix-run/node`/`@remix-run/deno` in Remix v2) with an [**unsigned cookie**](https://reactrouter.com/explanation/sessions-and-cookies#signing-cookies), it is possible for an attacker to cause the session to try to read/write from a location outside the specified session file directory. The success of the attack would depend on the permissions of the web server process to access those files. Read files cannot be returned directly to the attacker. Session file reads would only succeed if the file matched the expected session file format. If the file matched the session file format, the data would be populated into the server side session but not directly returned to the attacker unless the application logic returned specific session information.
如何修補 CVE-2025-61686
要修補 CVE-2025-61686,請將受影響套件升級到下列已修補版本。
- —升級至 7.9.4 或更新版本
- —升級至 2.17.2 或更新版本
- —升級至 2.17.2 或更新版本
CVE-2025-61686 正在被利用嗎?
低 — EPSS 為 0.0%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- >= 7.0.0, < 7.9.4
- from 0, < 2.17.2
- from 0, < 2.17.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |