CVE-2026-126187 — react-server-dom-parcel
Fix: react/react#37842CVE-2026-126187 is a Deserialization of Untrusted Data vulnerability in react-server-dom-parcel. A fix is available for react-server-dom-parcel — see the affected versions and patch details below.
React: Unauthenticated Remote Code Execution in React Server Components
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
react-server-dom-parcelnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | react-server-dom-parcel | ≥ 19.0.0&&< 19.0.9 | 19.0.9npm install react-server-dom-parcel@19.0.9 |
| 📦npm | react-server-dom-parcel | ≥ 19.1.0&&< 19.1.10 | 19.1.10npm install react-server-dom-parcel@19.1.10 |
| 📦npm | react-server-dom-parcel | ≥ 19.2.0&&< 19.2.9 | 19.2.9npm install react-server-dom-parcel@19.2.9 |
| 📦npm | react-server-dom-parcel | ≥ 19.3.0&&< 19.3.1 | 19.3.1npm install react-server-dom-parcel@19.3.1 |
| 📦npm | react-server-dom-turbopack | ≥ 19.0.0&&< 19.0.9 | 19.0.9npm install react-server-dom-turbopack@19.0.9 |
| 📦npm | react-server-dom-turbopack | ≥ 19.1.0&&< 19.1.10 | 19.1.10npm install react-server-dom-turbopack@19.1.10 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for react-server-dom-parcel, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update react-server-dom-parcel to 19.0.9 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-126187 is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is CVE-2026-126187 in your dependencies?
Find it across npm, including transitive dependencies.