Advisories · Node.js & Next.js
CVE-2025-55182
Critical
CVSS 10.0
Actively exploited
React Server Components remote code execution
Disclosed 2025 · Last reviewed 2 Dec 2026
A crafted request to a React Server Components endpoint could run code on the server. The first published patch was incomplete.
What happened
The Flight protocol decoded untrusted input into server execution.
Affected and patched versions
- Affected
- react-server-dom-webpack, react-server-dom-parcel, and react-server-dom-turbopack 19.0.0, 19.1.0, 19.1.1, and 19.2.0. Next.js 15.0.0 through 16.0.6 and Next.js 14 canaries after 14.3.0-canary.76 are in the same set. The first patch releases were not the final fix.
- Patched
- React 19.0.3, 19.1.4, and 19.2.3. Next.js 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, and 16.0.10 or the later patched release for that line. CVE-2025-66478 was rejected as a duplicate.
How to check your server
Check
npm ls react-server-dom-webpack next
How to fix and harden
- Run npm ls next and npm ls react-server-dom-webpack in the application directory.
- Upgrade to the patched release for the minor you already run. 19.0.1, 19.1.2, and 19.2.1 were not the final fix. Use 19.0.3, 19.1.4, or 19.2.3, and the Next.js release listed for your minor.
- Stable Next.js 13 and 14, and the Pages Router, were not this bug. 14 canaries after 14.3.0-canary.76 were.
- Redeploy after the lockfile changes.
Fix
npm ls next
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON