Skip to content
High 8.1 Web Application

Unsafe Deserialization in react-router

CVE-2026-42211 First seen on SecPulse

Summary

Vulnerability in react-router (CVE-2026-42211). Successful exploitation can lead to full system takeover. Exploitable via createBrowserRouter. Mitigation: upgrade to >=7.14.2 or later.

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

React Routerのフレームワークモードに、外部からの細工したリクエストにより認証なしで遠隔からコードを実行される脆弱性が見つかりました。攻撃の前提としてアプリケーション側にプロトタイプ汚染の脆弱性が必要です。影響を受けるのはバージョン7.0.0から7.14.1のreact-routerで、7.14.2で修正されています。修正版へ更新してください。

What is the problem

React RouterのFramework Modeで、プロトタイプ汚染を利用した不正なリモートコード実行が可能になります。

Affected scope

React Router バージョン7.0.0から7.14.1のFramework Mode

Severity

不正なリモートコード実行が可能で、高い危険性を持ちます。CVSSスコアは8.1です。

How to fix

React Routerをバージョン7.14.2にアップデートする。

Workaround

Declarative ModeまたはData Modeを使用することで回避可能です。

Detection

自身のアプリケーションでFramework Modeを利用しているかを確認し、プロトタイプ汚染の影響を調査する。

Affected packages

PackageAffected → Fixed
npmreact-router
≥ 7.0.0, < 7.14.2→ 7.14.2
Original description The description as published by the source.

React Router is a router for React. In versions 7.0.0 through 7.14.1, when using Framework Mode, a combination of steps could potentially allow unauthorized remote code execution (RCE) through external requests. This attack requires the application code to have an existing prototype pollution vulnerability, which can then be leveraged in a 2-step attack where the second step triggers unauthorized RCE on the remote server. This does not impact applications using Declarative Mode (``) or Data Mode (createBrowserRouter/). This is patched in version 7.14.2.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details