cve.bz

CVE-2025-31137 remix-run react-router: HTTP Request Smuggling

7.5 highEPSS 1.2%Fix available

High (7.5) in remix-run react-router. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in @react-router/express 7.4.1.

On this page
React Router is a multi-strategy router for React bridging the gap from React 18 to React 19. There is a vulnerability in Remix/React Router that affects all Remix 2 and React Router 7 consumers using the Express adapter. Basically, this vulnerability allows anyone to spoof the URL used in an incoming Request by putting a URL pathname in the port section of a URL that is part of a Host or X-Forwarded-Host header sent to a Remix/React Router request handler. This issue has been patched and released in Remix 2.16.3 and React Router 7.4.1.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th 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: no · Technical impact: partial, assessed 2025-04-02. 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-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • @react-router/express (npm): fixed in 7.4.1
  • @remix-run/express (npm): fixed in 2.16.3

Ask an AI about this CVE

Show the promptExplain CVE-2025-31137 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-31137?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-31137?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-31137 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

Versions

From the CNA's record in the CVE List.

ProductAffected
remix-run react-router>= 7.0.0, < 7.4.1
remix-run react-router>= 2.11.1, < 2.16.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4q56-crqp-v477npm@react-router/express>=7.0.0 <7.4.17.4.1
GHSA-4q56-crqp-v477npm@remix-run/express>=2.11.1 <2.16.32.16.3

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability allows URL spoofing, which can lead to unauthorized access to resources and potential data breaches. The fact that it requires no authentication or user interaction significantly increases its exploitability. The use of Host or X-Forwarded-Host headers, which are commonly used in web applications, makes this a widespread issue. While arbitrary code execution isn't directly possible based on the description, the ability to manipulate URLs and potentially access sensitive data warrants an Important impact rating.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Cryostat 4io.cryostat-cryostatNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Not affected
Migration Toolkit for Applications 7mta/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
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Not affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-db-migration-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-db-migration-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/kiali-ossmc-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/kiali-rhel8Not affected
64 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-31137.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

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

References

Check your stackJSON