React: Unauthenticated Remote Code Execution in React Server Components
GHSA-xqc2-xf4c-x3h3 · CVE-2026-126187
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
Crafted payloads targeting frameworks supporting React Server Components can lead to remote code execution. This only affects extremely rare cases where responses transport multiple typed arrays and an attacker-controlled value.
Updating immediately is recommended.
The vulnerability exists in versions 19.0.0 through 19.0.8, 19.1.0 through 19.1.9, 19.2.0 through 19.2.8 and 19.3.0 of:
- react-server-dom-webpack
- react-server-dom-parcel
- react-server-dom-turbopack
Patches
Fixes were back ported to versions 19.0.09, 19.1.10, 19.2.9, and 19.3.1.
If applications are using any of the above packages please upgrade to any of the fixed versions immediately.
If an app’s React code does not use a server, the app is not affected by this vulnerability. If an app does not use a framework, bundler, or bundler plugin that supports React Server Components, the app is not affected by this vulnerability.
References
- WEB https://github.com/react/react/security/advisories/GHSA-xqc2-xf4c-x3h3
- WEB https://github.com/react/react/pull/37842
- WEB https://github.com/react/react/pull/37843
- WEB https://github.com/react/react/pull/37844
- WEB https://github.com/react/react/pull/37845
- WEB https://github.com/react/react/pull/37846
- WEB https://github.com/react/react/commit/0c9913ae87283f96e868a8f1c20a3389827632d0
- WEB https://github.com/react/react/commit/249ac87b0dadea4ba024d1393e5cb60cf1186080
- WEB https://github.com/react/react/commit/3d06b4005ac0cf9dec37267f26174adfe6d83611
- WEB https://github.com/react/react/commit/611d9217df39cf7b8ac91b2e41fd00555923e904
- WEB https://github.com/react/react/commit/61aa00df822d0eb76d0362eb8b6fdd3527693efe
- PACKAGE https://github.com/react/react
- WEB https://github.com/react/react/releases/tag/v19.0.9
- WEB https://github.com/react/react/releases/tag/v19.1.10
- WEB https://github.com/react/react/releases/tag/v19.2.9
- WEB https://github.com/react/react/releases/tag/v19.3.1
Ready to move
Start Securing
Free, no credit card | First findings in minutes