GHSA-9qr9-h5gf-34mp Next.js is vulnerable to RCE in React flight protocol

Not scored Published

Remote attackers can execute arbitrary code via the React flight protocol in affected Next.js and React server packages.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-9qr9-h5gf-34mp?

GHSA-9qr9-h5gf-34mp is a code injection vulnerability in next, published on 3 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability affects certain React packages<sup>1</sup> for versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 and frameworks that use the affected packages, including Next.js 15.x and 16.x using the App Router. The issue is tracked upstream as CVE-2025-55182.

Fixed in: React: 19.0.1, 19.1.2, 19.2.1 Next.js: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7, 15.6.0-canary.58, 16.1.0-canary.12+

The vulnerability also affects experimental canary releases starting with 14.3.0-canary.77. Users on any of the 14.3 canary builds should either downgrade to a 14.x stable release or 14.3.0-canary.76.

All users of stable 15.x or 16.x Next.js versions should upgrade to a patched, stable version immediately.

<sup>1</sup> The affected React packages are:

  • react-server-dom-parcel
  • react-server-dom-turbopack
  • react-server-dom-webpack

Which versions are affected by GHSA-9qr9-h5gf-34mp?

14 open source packages ship an affected version, including next.

PackageAffectedFixed in
next npmFrom 14.3.0-canary.7715.0.5
next npmFrom 14.3.0-canary.7715.0.5
next npmFrom 15.1.0-canary.015.1.9
next npmFrom 15.1.0-canary.015.1.9
next npmFrom 15.2.0-canary.015.2.6
next npmFrom 15.2.0-canary.015.2.6
8 more packages
next npmFrom 15.3.0-canary.015.3.6
next npmFrom 15.3.0-canary.015.3.6
next npmFrom 15.4.0-canary.015.4.8
next npmFrom 15.4.0-canary.015.4.8
next npmFrom 15.5.0-canary.015.5.7
next npmFrom 15.5.0-canary.015.5.7
next npmFrom 16.0.0-canary.016.0.7
next npmFrom 16.0.0-canary.016.0.7

How do I fix GHSA-9qr9-h5gf-34mp?

Upgrade next to a fixed version for your release line: 15.0.5, 15.1.9, 15.2.6 or 15.3.6.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is GHSA-9qr9-h5gf-34mp being exploited?

There is no known exploitation of GHSA-9qr9-h5gf-34mp in the wild and no public exploit code.

Sources

Is GHSA-9qr9-h5gf-34mp in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free