CVE-2026-126187: React Server Components Flaw Can Enable RCE Through Flight Row Smuggling

· Original article ↗

Summary

Step Security reports CVE-2026-126187, a critical unauthenticated RCE in React Server Components under shared-ArrayBuffer transfer preconditions. A lab reproduced Flight row smuggling; fixes are 19.0.9, 19.1.10, 19.2.9 and 19.3.1.

Key points

  • The flaw affects the React Server Components packages react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack.
  • Exploitation requires multiple typed-array views over a shared ArrayBuffer, attacker-influenced bytes and a consumer that transfers the backing store.
  • The vulnerable writer can emit a length header without its corresponding bytes; the parser may then consume later rows as payload, allowing a smuggled module row to execute when consumed.
  • Step Security reports reproducing the chain in a lab using React 19.2.8; the article does not report real-world exploitation.
  • Affected releases are 19.0.0–19.0.8, 19.1.0–19.1.9, 19.2.0–19.2.8 and 19.3.0. Fixed releases are 19.0.9, 19.1.10, 19.2.9 and 19.3.1.
  • The article recommends upgrading framework-managed or direct dependencies, checking resolved transitive package versions, and copying shared-buffer views as a temporary mitigation.

Article Details

Attack Vectors
  • Unauthenticated remote code execution is possible when an RSC response transports multiple typed-array views over one shared ArrayBuffer, attacker-influenced bytes are present in one view, and a downstream consumer transfers the backing store.
  • In the reproduced exploit, the vulnerable writer leaves a binary-row header on the wire after its view is dropped. The parser consumes subsequent rows as that row's payload, allowing attacker-controlled bytes to contain a smuggled module row that executes when the application consumes the referenced chunk.
  • The article reports that Fetch bodies, BYOB readers, and edge-runtime transfer boundaries are possible backing-store transfer paths; which production consumers detach backing stores is deployment-specific.
Defensive Notes
  • Upgrade affected Flight packages to fixed releases: 19.0.9, 19.1.10, 19.2.9, or 19.3.1, as applicable. For framework-managed dependencies, upgrade the framework and confirm that a patched package version resolves.
  • Check resolved dependencies, including transitive ones, with `npm ls react-server-dom-webpack react-server-dom-parcel react-server-dom-turbopack` and inspect lockfiles for affected versions.
  • As a mitigation before upgrading, do not transport multiple views of one ArrayBuffer in RSC payloads; copy the view before rendering.
  • Monitor Flight responses for binary rows whose declared length exceeds the bytes that follow, and for client-side “Connection closed” errors after responses carrying large typed arrays.
  • Keep runtime egress control enabled for SSR and edge workloads, and rebuild and redeploy applications after upgrading.

MITRE ATT&CK

CVE

Products

Related Articles