CVE-2026-126187 React: Unauthenticated Remote Code Execution in React Server Components
CriticalCVSS 9.5
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| react | = >= 19.0.0, < 19.0.9 | No fix listed |
| react | = >= 19.1.0, < 19.1.10 | No fix listed |
| react | = >= 19.2.0, < 19.2.9 | No fix listed |
| react | = >= 19.3.0, < 19.3.1 | No fix listed |
| npm react-server-dom-parcel(npm) | >= 19.0.0, < 19.0.9 | 19.0.9 |
| npm react-server-dom-parcel(npm) | >= 19.1.0, < 19.1.10 | 19.1.10 |
| npm react-server-dom-parcel(npm) | >= 19.2.0, < 19.2.9 | 19.2.9 |
| npm react-server-dom-parcel(npm) | >= 19.3.0, < 19.3.1 | 19.3.1 |
| npm react-server-dom-turbopack(npm) | >= 19.0.0, < 19.0.9 | 19.0.9 |
| npm react-server-dom-turbopack(npm) | >= 19.1.0, < 19.1.10 | 19.1.10 |
| npm react-server-dom-turbopack(npm) | >= 19.2.0, < 19.2.9 | 19.2.9 |
| npm react-server-dom-turbopack(npm) | >= 19.3.0, < 19.3.1 | 19.3.1 |
| npm react-server-dom-webpack(npm) | >= 19.0.0, < 19.0.9 | 19.0.9 |
| npm react-server-dom-webpack(npm) | >= 19.1.0, < 19.1.10 | 19.1.10 |
| npm react-server-dom-webpack(npm) | >= 19.2.0, < 19.2.9 | 19.2.9 |
| npm react-server-dom-webpack(npm) | >= 19.3.0, < 19.3.1 | 19.3.1 |
References
- https://github.com/react/react/security/advisories/GHSA-xqc2-xf4c-x3h3 vendor-advisory
- https://github.com/react/react/pull/37842 patch
- https://github.com/react/react/pull/37843 patch
- https://github.com/react/react/pull/37844 patch
- https://github.com/react/react/pull/37845 patch
- https://github.com/react/react/pull/37846 patch
- https://github.com/react/react/commit/0c9913ae87283f96e868a8f1c20a3389827632d0 patch
- https://github.com/react/react/commit/249ac87b0dadea4ba024d1393e5cb60cf1186080 patch
- https://github.com/react/react/commit/3d06b4005ac0cf9dec37267f26174adfe6d83611 patch
- https://github.com/react/react/commit/611d9217df39cf7b8ac91b2e41fd00555923e904 patch
- https://github.com/react/react/commit/61aa00df822d0eb76d0362eb8b6fdd3527693efe patch
- https://github.com/react/react/releases/tag/v19.0.9
- https://github.com/react/react/releases/tag/v19.1.10
- https://github.com/react/react/releases/tag/v19.2.9
- https://github.com/react/react/releases/tag/v19.3.1
- github.com