The React Server Components RCE was fixed a month before it got a CVE

CVE-2026-126187 is a critical unauthenticated RCE in React Server Components. The fix shipped on October 14, the CVE on November 10. What that gap means for scanners, what to upgrade for Next.js on AWS, and how to shrink the blast radius.

Antivenom5 min read

On November 10, the React team's advisory GHSA-xqc2-xf4c-x3h3 received CVE-2026-126187 and entered the GitHub Advisory Database. It describes unauthenticated remote code execution in React Server Components, rated critical at CVSS 4.0 score 9.5. The fixed versions are 19.0.9, 19.1.10, 19.2.9 and 19.3.1 of react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack.

The advisory itself is dated October 14. The Hacker News covered the fixes the next day. For four weeks the patch existed, but the tools that only watch CVE feeds had nothing to flag.

Diagram: a timeline from the React and Next.js fixes on October 14 to the CVE and GitHub Advisory Database entry on November 10, showing the four weeks when CVE-based scanners had nothing to flag, and the Next.js advisory that still has no CVE.

What happened

React's advisory says crafted payloads aimed at frameworks that support Server Components can lead to remote code execution. It also says the issue affects "extremely rare cases where responses transport multiple typed arrays and an attacker-controlled value." Apps that do not render React on a server, or that do not use a framework or bundler with Server Components support, are not affected. The finder is credited as evolutionstorm.

Cloudflare's tracking page adds detail. The trigger is several large typed arrays that share one underlying buffer, which leads the writer to frame the stream incorrectly. The reader can then treat attacker-controlled bytes as protocol rows that call a Server Action with attacker-chosen arguments. Command execution also needs a Server Action that does something dangerous with those arguments.

Next.js has its own advisory, credited to the same finder, GHSA-673q-mjm6-r5xr, also rated 9.5. It covers App Router apps with Cache Components where a use cache function returns multiple typed arrays. Affected versions are 16.0.0 through 16.4.0, fixed in 16.4.1. The page says "No known CVE" and lists no workaround. Vercel tells users to upgrade even if they have no such function. Cloudflare notes that Next.js 15.5.28 also includes React's fix, and that "Updating React alone does not fix Next.js."

The exploit question

You will see claims that exploit code is public. Treat them carefully. Cloudflare reports that one firm published a lab proof of concept on October 17 and that another found public repositories claiming proof-of-concept code, and says it has verified neither. It also says React, Vercel and CISA had not reported exploitation as of November 11, and the CVE was not in CISA's KEV catalog that day.

One vendor write-up dates the fixes to November 10. The GitHub advisory shows October 14 as the publish date and November 10 as the date it entered the database, and October coverage confirms the fixed releases existed then. We use those dates.

The careful reading: a narrow bug, no confirmed attacks, and a fix that has been available since mid-October. That is the best case for patching. It will not stay that way if the lab exploits mature.

Why the gap matters

Dependabot alerts fire when a new vulnerability is added to the GitHub Advisory Database, and only for reviewed advisories. The React advisory entered that database on November 10. For Next.js, The Hacker News noted on October 15 that the use cache advisory had no CVE and was not in the feed npm audit uses, so dependency scanners may not flag it.

So a team that waits for the scanner was exposed for a month without a signal, and a team on Next.js 16 may still have no CVE to search for. If your patch process starts with "the scanner found it", your process starts late. Framework security releases are the signal, whether or not a CVE id is attached yet.

What it means on AWS

Next.js runs on AWS in a few common shapes: Amplify Hosting compute, containers on ECS or EKS, and Lambda behind an adapter. In all of them, React and Next.js are inside your build output. AWS does not patch your bundle. The fix is the same everywhere: update the dependency, rebuild, redeploy, and confirm the new build is the one serving traffic.

None of the advisories offers a WAF rule or another workaround, so the stopgap is not at the edge. It is in what the server process can reach. If this bug runs code, it runs as your server.

  • On Amplify, server-side code runs with the SSR compute role, separate from the service role Amplify uses to deploy. AWS recommends IAM roles over credentials in environment variables, and warns that anyone with access to deployment artifacts can read those variables.
  • On ECS, it is the task role. On Lambda, the execution role.
  • In every case, ask what that role can read and write, and what network egress the process has. StepSecurity's write-up recommends keeping egress control on for server rendering and edge workloads.

A rendering server rarely needs to list S3 buckets, read every secret or call IAM. If yours can, this is the week to change that.

What to do this week

  • Check what resolves, not what is declared. Run npm ls for the three react-server-dom-* packages and for next, and check the lockfile. A framework can pin its own copy.
  • Upgrade Next.js to 16.4.1 or later on 16.x, or 15.5.28 on 15.x. Upgrade other Server Components frameworks to releases that include React 19.0.9, 19.1.10, 19.2.9 or 19.3.1.
  • Rebuild and redeploy every environment, including preview and staging, and confirm the deployed build carries the new versions. A fixed lockfile does not prove the fix is deployed.
  • Cut the role. Review the Amplify SSR compute role, ECS task role or Lambda execution role. Remove access the rendering code does not use.
  • Limit egress from rendering workloads to the hosts they actually call.
  • Watch framework advisories directly. Subscribe to the React and Next.js GitHub security advisories, not only CVE feeds.

The pattern

The bug is narrow. The process gap is not. A fix that waits a month for an id, and a second advisory that still has none, will slip past any program that treats the CVE feed as the start of the clock.

Antivenom is built to start from the path, not the id. An AI red team works only against your own systems, with your permission, and checks whether a running app is still reachable and what its role could do next. An AI blue team ships the upgrade and the narrower role, and the red team retests both. For the identity side of that blast radius, read your AWS perimeter is a graph of who can become whom.

← All posts
  • CVE-2026-126187
  • React Server Components
  • Next.js
  • remote code execution
  • supply chain security
  • AWS security
  • cloud security
  • application security

The arms race has started

Evolve as fast as the attacker.

Antivenom is opening to a small group of security and platform teams first. Join the waitlist to get early access.