Last modified 2026 Nov 12
CVE-2026-126187 is a flaw in three packages that implement React Server Components for particular bundlers: react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack. The React advisory states that crafted payloads sent to a framework supporting Server Components can lead to unauthenticated remote code execution. It adds that the flaw arises only in "extremely rare cases", where responses carry multiple typed arrays together with an attacker-controlled value. The CNA classifies the weakness as deserialization of untrusted data. The fix shipped on October 14, 2026, and the CVE record followed on November 10, twenty-seven days later.
The flaw is worth studying for three reasons. It is reachable over the network before any authentication, and it lies in the layer that moves data between server and browser, which every Server Components framework shares. Its trigger is narrow, and the narrowness has misled some scanners, which had no identifier to match until the CVE appeared. And it recalls React2Shell, the maximum-severity flaw in the same three packages disclosed in December 2025 and exploited at scale. The Hacker News stresses that this flaw is far narrower than that one. GitHub's CNA scores it CVSS 4.0 9.5, Critical.
This lesson has two parts. Part I explains how the packages move data across the server and client boundary, and what the sources reveal about the defect and its repair. Part II maps the configurations that reach the flaw, the evidence a defender can observe, and how to confirm the fix is in force. Two limits of the sources are stated once here. First, the public material says plainly what the exposure is, but it does not explain how the flaw ends in code execution. The lesson does not supply that explanation. Second, I read the 19.0.x backport of the fix, and I could not read the server-side portions of its diff. The affected and patched versions, as the advisories and the CVE record give them, are these:
| Package or product | Affected | First patched |
|---|---|---|
react-server-dom-webpack, -parcel, -turbopack (19.0 line) |
19.0.0 – 19.0.8 | 19.0.9 |
| the same packages (19.1 line) | 19.1.0 – 19.1.9 | 19.1.10 |
| the same packages (19.2 line) | 19.2.0 – 19.2.8 | 19.2.9 |
| the same packages (19.3 line) | 19.3.0 | 19.3.1 |
| Next.js (App Router with Cache Components) | 16.0.0 – 16.4.0 | 16.4.1 |
The CVE record lists the affected product under the name react, with the same ranges, while the description and the React advisory name the three packages. No source establishes the status of other Next.js lines, or of other frameworks, beyond what the table shows.
'use client' directive, ships to the browser. Server Components pass data and rendered output to Client Components as props.'use server' that the client may call. The documentation notes that no directive marks a Server Component itself.react-server-dom-* packages. The bundler-specific implementations of that protocol, one each for webpack, Parcel and Turbopack. React's documentation warns that the APIs a bundler or framework uses to implement Server Components do not follow semantic versioning between minor releases of 19.x. It recommends pinning to a specific version.ArrayBuffer.prototype.detached capability, which they say Node.js releases before 21 and older browsers lack.use cache. A Next.js feature, stable from version 16, enabled by the cacheComponents configuration option. The 'use cache' directive marks an asynchronous function whose output Next.js stores. Its documentation states that arguments and return values must be serializable, and that typed arrays and array buffers are supported in both.then method, which JavaScript treats as a promise. The patch contains comments about foreign thenables.