GHSA-9583-h5hc-x8cw

Suggest an improvement
Source
https://github.com/advisories/GHSA-9583-h5hc-x8cw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-9583-h5hc-x8cw/GHSA-9583-h5hc-x8cw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-9583-h5hc-x8cw
Aliases
Published
2026-01-08T20:45:07Z
Modified
2026-09-18T21:15:05Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
React Router has Path Traversal in File Session Storage
Details

If applications use createFileSessionStorage() from @react-router/node (or @remix-run/node/@remix-run/deno in Remix v2) with an unsigned cookie, 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.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-01-08T20:45:07Z",
    "nvd_published_at":  "2026-01-10T03:15:48Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / @react-router/node

Package

Name
@react-router/node
View open source insights on deps.dev
Purl
pkg:npm/%40react-router/node

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.9.4

Database specific

last_known_affected_version_range
"<= 7.9.3"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-9583-h5hc-x8cw/GHSA-9583-h5hc-x8cw.json"

npm / @remix-run/node

Package

Name
@remix-run/node
View open source insights on deps.dev
Purl
pkg:npm/%40remix-run/node

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.17.2

Database specific

last_known_affected_version_range
"<= 2.17.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-9583-h5hc-x8cw/GHSA-9583-h5hc-x8cw.json"

npm / @remix-run/deno

Package

Name
@remix-run/deno
View open source insights on deps.dev
Purl
pkg:npm/%40remix-run/deno

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.17.2

Database specific

last_known_affected_version_range
"<= 2.17.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-9583-h5hc-x8cw/GHSA-9583-h5hc-x8cw.json"