Last week a lot of teams opened their repos to a red Dependabot alert naming a package they never installed: react-server-dom-webpack. That is the React Server Components vulnerability tracked as CVE-2026-126187, an unauthenticated remote code execution flaw with a CVSS 4.0 score of 9.5 (GitHub Advisory Database). If your app runs Next.js App Router, React Router or any bundler plugin that supports RSC, you can be exposed without having written a single line of risky code.
The interesting part isn't "go update". It's that the advisory has been public since 14 October, and your tooling only noticed on 10 November.
What this React Server Components vulnerability actually is
It's a deserialization bug (CWE-502) in React's own server packages. The React team's advisory says crafted payloads sent to frameworks that support React Server Components can lead to remote code execution, and that it only happens in the rare case where a response transports multiple typed arrays together with an attacker-controlled value (GHSA-xqc2-xf4c-x3h3).
Three packages are affected:
react-server-dom-webpackreact-server-dom-parcelreact-server-dom-turbopack
Affected ranges are 19.0.0–19.0.8, 19.1.0–19.1.9, 19.2.0–19.2.8 and 19.3.0. The patched releases are 19.0.9, 19.1.10, 19.2.9 and 19.3.1 (the advisory text writes "19.0.09", which is a typo for 19.0.9).
EPSS currently sits at 1.763%, and StepSecurity, which reverse-engineered the bug, reports no known in-the-wild exploitation. But "no authentication" plus "code execution on your server" is not something to leave open across a month of sprints.
Why npm audit only flagged it in November
Because the CVE and the advisory didn't arrive together. React published the advisory in the react/react repository on 14 October 2026 along with the fixed versions. CVE-2026-126187 was assigned, and the advisory reviewed into the GitHub Advisory Database, on 10 November 2026 (GitHub Advisory Database).
npm audit and Dependabot both read that database. So for roughly four weeks, vulnerable apps got a clean audit.
That matters more than the CVE itself. A green npm audit doesn't mean "safe", it means "nothing in the database yet". If audit is your only gate, you learn about issues about a month after the people who read their framework's security blog. The same gap hit Node.js from the other direction: runtime CVEs aren't in anyone's package.json, so audit never mentions them (our write-up of the November 2026 Node.js release).
Who is affected and who can relax
If you render RSC on a server, treat this as urgent. React states that apps whose React code doesn't use a server, and apps that don't use a framework, bundler or bundler plugin supporting RSC, are not affected. A Vite-built SPA served as static files can sleep through this one.
Next.js has its own advisory, GHSA-673q-mjm6-r5xr, also scored 9.5. It applies to apps on the App Router with Cache Components that have a use cache function returning multiple typed arrays. Affected versions are 16.0.0 through 16.4.0, fixed in 16.4.1 (Next.js security update, 14 October 2026).
Read the next line in that advisory too. Vercel says affected apps have no known workaround and that you should upgrade immediately even if your application does not have similar functions. Don't spend an afternoon grepping for use cache functions that return typed arrays. Upgrading is faster than auditing your own code.
Where the bug comes from
RSC streams UI from the server using a protocol React calls Flight. It mixes text rows and binary rows, and each binary row declares its exact byte count up front.
Per StepSecurity's analysis, the vulnerable writer serialized typed arrays larger than 2048 bytes as a view onto a shared ArrayBuffer instead of copying them. A zero-length chunk check could then drop the data while the header still promised bytes were coming. The parser consumed the following bytes as data instead, its alignment shifted, and attacker-supplied content ended up being read as a module row, which loads code out of the application's own bundle (StepSecurity).
The patch makes the writer copy large payloads into exact-size buffers first.
If the preconditions sound unlikely, they are, and both advisories say so. The catch is that you don't control whether a library beneath your code puts several typed arrays into one response. That's why the advice is one word long: upgrade.
How to check your own project
These three packages almost always arrive as transitive dependencies, so they won't be in your package.json. Go straight at the dependency tree and the lockfile.
- See what actually resolves:
npm ls react-server-dom-webpack react-server-dom-parcel react-server-dom-turbopack(with pnpm,pnpm why react-server-dom-webpack). - Grep the lockfile in case several versions coexist:
grep -n "react-server-dom" package-lock.json. - Run
npm auditagain. The database knows now, so the result differs from last month. - Compare what you find against 19.0.9 / 19.1.10 / 19.2.9 / 19.3.1. Anything lower in the same line is still vulnerable.
In a monorepo, run this per workspace. One lockfile can hold several versions of react-server-dom-webpack at the same time.
What to upgrade, and why bumping React isn't enough
Upgrade the framework first and let it pull in the fixed react-server-dom-* build.
- Next.js 16.x: at least 16.4.1
- Next.js 15.5.x: at least 15.5.28
react-server-dom-*directly: 19.0.9, 19.1.10, 19.2.9 or 19.3.1, matching your line
Worth repeating: upgrading react and react-dom does not close the Next.js hole. GHSA-673q-mjm6-r5xr is fixed inside the next package itself, so next has to move.
And while you're in there, don't stop at 16.4.1. A November security release followed, including a cache leak that crossed tenants (what the November 2026 Next.js release fixed, and which version to target). One upgrade to the latest patch in your line beats two upgrades a week apart.
Second Flight RCE in twelve months, and what to change in your process
The Flight parser already had an RCE in December 2025: CVE-2025-55182, nicknamed React2Shell, scored a full 10.0. There an attacker could send a crafted request to any Server Function endpoint and get code execution when React deserialized the payload, and React confirmed apps using RSC were potentially affected even without implementing a single Server Function (React Blog).
Both point at the same place: the code that unpacks network payloads is now the main attack surface of full-stack React. Should you drop RSC over this? I wouldn't. Every framework that deserializes outside input carries this class of risk. What you can realistically change is how fast you patch.
Three things worth doing this sprint:
- Subscribe to your framework's security blog directly instead of waiting for a CVE. Next.js even announces these releases a week ahead.
- Keep a standing weekly patch window that doesn't need fresh approval. If the team can bump patch versions on its own, this kind of thing closes in a day.
- Stop treating
npm auditas a pass/fail gate. Use it as one signal, and keep lockfiles or an SBOM so you can answer later what shipped inside which release.
Stuck on an older Next.js version and unsure what an upgrade will break? We can help plan the upgrade and test it before it reaches production.
Talk to our team

