CVE-2026-126187

React: Unauthenticated Remote Code Execution in React Server Components

Critical published · updated · also known as GHSA-XQC2-XF4C-X3H3

9.5
CVSS score out of 10 · NVD (github.com)

Description

React is a JavaScript library for building user interfaces. From 19.0.0 until 19.0.9, 19.1.10, 19.2.9, and 19.3.1, the react-server-dom-webpack, react-server-dom-parcel, and react-server-dom-turbopack packages are vulnerable to unauthenticated remote code execution through crafted payloads targeting frameworks that support React Server Components. The vulnerability only affects extremely rare cases where responses transport multiple typed arrays and an attacker-controlled value. Applications whose React code does not use a server are not affected. Applications that do not use a framework, bundler, or bundler plugin that supports React Server Components are not affected. This issue is fixed in versions 19.0.9, 19.1.10, 19.2.9, and 19.3.1.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
react-server-dom-parcel npm >= 19.0.0, < 19.0.919.0.9 GitHub
react-server-dom-parcel npm >= 19.1.0, < 19.1.1019.1.10 GitHub
react-server-dom-parcel npm >= 19.2.0, < 19.2.919.2.9 GitHub
react-server-dom-parcel npm >= 19.3.0, < 19.3.119.3.1 GitHub
react-server-dom-turbopack npm >= 19.0.0, < 19.0.919.0.9 GitHub
react-server-dom-turbopack npm >= 19.1.0, < 19.1.1019.1.10 GitHub
react-server-dom-turbopack npm >= 19.2.0, < 19.2.919.2.9 GitHub
react-server-dom-turbopack npm >= 19.3.0, < 19.3.119.3.1 GitHub
react-server-dom-webpack npm >= 19.0.0, < 19.0.919.0.9 GitHub
react-server-dom-webpack npm >= 19.1.0, < 19.1.1019.1.10 GitHub
react-server-dom-webpack npm >= 19.2.0, < 19.2.919.2.9 GitHub
react-server-dom-webpack npm >= 19.3.0, < 19.3.119.3.1 GitHub

References