Check your React Server Components patches
Check the deployed Next.js or React Server Components package versions against the initial security fixes and later advisories.
If you installed the first React Server Components patch in December 2025, check which version your deployment serves today. React issued more fixes after that initial remote code execution patch.
Find the version your app runs
For a Next.js app, start inside the deployed app's package or container. If it includes the Next.js package, ask Node which version it resolves from there.
node -p "require('next/package.json').version"The command prints the installed Next.js version. Use that number to look up the right release line.
Compare that number with the patched versions for your release line in the Next.js security advisories. The framework ships its own RSC implementation. The top-level react version and an empty result for a standalone RSC package can both miss the framework code.
For another RSC integration that installs the packages without bundling them, inspect its resolved dependencies. In an npm project using the webpack integration, run this from the app directory.
npm ls react-server-dom-webpack --all
node -p "require('react-server-dom-webpack/package.json').version"The tree shows where the package is installed, and Node prints 19.2.6 when the app resolves that version.
Check react-server-dom-parcel or react-server-dom-turbopack if your integration uses one of those. Compare all three packages against the React security advisories. For example, the July advisory lists 19.2.8 as the first fix on the 19.2 line for that issue. If the tree contains several versions, check the copy each deployed app uses.
Check the artifact after rebuilding
Upgrade through your framework's documented path and check in the lockfile. Run the inspection in the fresh build or deployment image. The deployment image tells you what was installed. Check its build ID against the artifact serving requests.
If your deployment bundles its dependencies into a server artifact, record the installed versions during the build and associate that record with the artifact ID. For several services or environments, check the build ID on each deployed target. Then open a normal page that uses Server Components and exercise a Server Function from the app to check ordinary behavior after the upgrade.