cve.bz

CVE-2025-61686 shopify: Path traversal

9.1 criticalEPSS 17%Fix available

Critical (9.1) in shopify. EPSS 17% estimated probability of exploitation activity in the next 30 days. Fixed in @react-router/node 7.9.4.

On this page
React Router is a router for React. In @react-router/node versions 7.0.0 through 7.9.3, @remix-run/deno prior to version 2.17.2, and @remix-run/node prior to version 2.17.2, if createFileSessionStorage() is being used 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. This issue has been patched in @react-router/node version 7.9.4, @remix-run/deno version 2.17.2, and @remix-run/node version 2.17.2.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
17% (unchanged from 17% a week ago; 17% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-01-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-61686 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61686?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61686?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-61686 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • shopify:react-router\/node
  • shopify:remix-run\/deno
  • shopify:remix-run\/node

Versions

From the NVD's CPE matches.

ProductAffected
shopify:react-router/nodefrom 7.0.0 before 7.9.4
shopify:remix-run/denobefore 2.17.2
shopify:remix-run/nodebefore 2.17.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9583-h5hc-x8cwnpm@react-router/node>=7.0.0 <7.9.47.9.4
GHSA-9583-h5hc-x8cwnpm@remix-run/node<2.17.22.17.2
GHSA-9583-h5hc-x8cwnpm@remix-run/deno<2.17.22.17.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Module for Package Hub 15 SP7golang-github-prometheus-prometheus3.13.2-150100.4.40.2SUSE-SU-2026:4606-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-prometheus3.13.2-150002.3.19.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15grafana12.4.10-150002.4.27.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15mgr-push5.2.5-150002.3.12.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15spacecmd5.2.10-150002.3.15.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15spacewalk-client-tools5.2.7-150002.3.12.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15, Multi Linux Manager Tools SLE-Micro-5uyuni-tools5.2.17-150002.3.20.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15, Multi Linux Manager Tools SLE-Micro-5venv-salt-minion3006.0-150002.5.22.1SUSE-SU-2026:4585-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

No Red Hat products ship the vulnerable component.

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.

ProductPackageStateAdvisory
Cryostat 4io.cryostat-cryostatNot affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-curator5-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/loki-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/loki-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/lokistack-gateway-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/opa-openshift-rhel9Not affected
Migration Toolkit for Applications 7mta/mta-ui-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-ui-rhel9Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-ui-rhel8Not affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Not affected
Migration Toolkit for Virtualizationmtv-candidate/mtv-console-plugin-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel8Not affected
115 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-61686.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON