React2Shell vulnerability (CVE-2025-55182): find and fix the React Server Components RCE

React2Shell vulnerability (CVE-2025-55182): inventory versions, apply React and Next.js fixes, watch headers and child processes on Dynatrace SaaS.
Faille React2Shell (CVE-2025-55182) : repérer et corriger la RCE de React Server Components

On a Monday morning the security channel drops an identifier in front of you: CVE-2025-55182. The operations question is blunt: which applications in the fleet run React on the server, and in which versions? The React2Shell vulnerability allows unauthenticated remote code execution, rated CVSS 10.0 by the React team. This article starts from that decision (what to patch first, how to prove it, how to watch in the meantime) and builds an action plan from it.

The facts come from the official React advisory, the Next.js advisory and the Dynatrace documentation. The vendor blog post was my starting point for the detection ideas; the structure and the examples below are my own. I did not run the queries on a tenant, so try them on a small scope first. This applies to Dynatrace SaaS; I did not check the Managed equivalent.

This article does not cover the PHP2Shell flaw, a different topic, nor the general reading of runtime vulnerabilities, already covered in the article on process exposure.

What the React2Shell vulnerability really affects

The flaw sits in the way React decodes data sent to Server Function endpoints. According to the React advisory, three packages are affected in versions 19.0, 19.1.0, 19.1.1 and 19.2.0: react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack. The fixed versions are 19.0.1, 19.1.2 and 19.2.1.

The react and react-dom packages themselves do not carry the protocol involved. Frameworks and plugins built on React Server Components are exposed, though: Next.js, React Router, Waku, @parcel/rsc, @vitejs/plugin-rsc and rwsdk. An application with no React server code, or no framework supporting Server Components, is not concerned. One trap: an application with no Server Function endpoint can still be vulnerable if it supports Server Components.

The Next.js special case

Next.js tracks the flaw under a second identifier, CVE-2025-66478, presented as the downstream impact on the App Router. The Dynatrace post says that identifier was later rejected as a duplicate of CVE-2025-55182. Per the Next.js advisory, affected applications use the App Router on 15.x, 16.x or 14.3.0-canary.77 and later. Next.js 13.x, stable 14.x, the Pages Router and the Edge Runtime are not affected.

The fixed versions in the initial advisory are 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7 and 16.0.7. The advisory states there is no workaround: only upgrading fixes it. Another operational detail: the Dynatrace post explains that Next.js bundles its own compiled copies of these packages. Upgrading react alone is not enough, so you must bump next.

Step 1: build the inventory before patching

Patching blindly wastes time. Start by listing the applications that ship one of the packages above, then rank them by exposure: Internet-facing services first, internal ones next.

If OneAgent monitors your Node.js processes, Runtime Vulnerability Analytics can help. The documentation describes runtime detection: OneAgent observes loaded libraries, matches names and versions against vulnerability feeds (the Dynatrace feed and the NVD) and reports a vulnerability only when the component is actually in use. For Node.js, the documentation gives a minimum OneAgent version of 1.231 (1.253 for Node.js runtimes). It also warns that a bundler can hide components: only packages deployed as external packages are detected. For a compiled Next.js application, check what you actually see before concluding that nothing is vulnerable.

Unexecuted DQL query filtering software components whose name contains react-server-dom

The vendor post also describes a manual lookup in Smartscape with DQL on dt.entity.software_component. The query above is a minimal version to adapt: it does not replace the vulnerability view. The documentation page I read mentions neither the Davis Security Score nor how to filter on a given CVE, so I do not describe them here. Look for them in the Vulnerabilities app of your tenant.

Step 2: fix the right versions

The fix follows your release line. For Next.js, move to the latest fixed version of your line. The advisory also offers the npx fix-react2shell-next tool, which checks versions and applies deterministic bumps.

Commands from the Next.js advisory: fix-react2shell-next then npm install next for the 15.5.x, 16.0.x and 14 lines
  1. Note the next (or framework) version in each affected repository.
  2. Bump to the fixed version of the same line, rebuild the image and redeploy.
  3. Check that the old package is gone from the deployed artefact, not just from the repository.
  4. Rotate your secrets: the Next.js advisory recommends it for any application that was online and unpatched on 4 December 2025 at 1:00 PM Pacific time.

Two batches of fixes, not one

After that first fix, three more identifiers were published on 11 December 2025 according to the Dynatrace post: CVE-2025-55184 and CVE-2025-67779 (denial of service, high severity) and CVE-2025-55183 (source code exposure, medium severity). None allows remote code execution. The React advisory adds CVE-2026-23864, a denial of service disclosed on 26 January 2026. Check the target version in your framework’s latest advisory before freezing a number: my list in the previous section reflects only the initial advisory.

Step 3: watch during the patch window

Between the announcement and the deployment, risk remains. The Dynatrace post lists several usable hints in requests: the next-action header for Next.js, rsc-action-id for other applications, and the x-action-redirect response header. It also notes that public proofs of concept often use a static value such as x.

To see them in your data, the post describes capturing request attributes with OneAgent, using the source “HTTP request header” (or “HTTP response header” for x-action-redirect) and the “All distinct values” option when the header is multi-valued. Restart processes if real-time capture is disabled.

Three request attributes to configure: next-action and rsc-action-id on requests, x-action-redirect on responses

The list above is a simplified transcription of the settings described, not a screenshot of the interface. Then two complementary checks:

  • Child processes. A node or bun process that launches a shell, curl, wget, nc or whoami is suspect. The post gives an example with process logs from Tetragon on Kubernetes, and a Windows variant on process creation where the parent is node.exe or bun.exe.
  • CPU usage. The post notes that post-exploitation often deploys cryptocurrency miners, which push CPU up. An isolated spike on a container exposing a vulnerable component deserves an investigation.

To write your own aggregations on this data, the syntax basics are in the article on filter, summarize and timeseries.

Good practice after the React2Shell vulnerability

  • Treat Internet-facing services first, then internal ones, in the order described in step 1.
  • Prove the fix: the vulnerability must disappear from the security view, which also confirms the fix is really deployed.
  • Keep header capture on while older deployments remain.
  • Make the analysis continuous: the Application Security article sets the frame so you stop discovering a flaw through a channel message.
  • Keep the unverified visible: if you do not know a service is fixed, say so in the ticket.

Frequently asked questions

Is Dynatrace affected by the React2Shell vulnerability?

The vendor post states that Dynatrace is not affected. That says nothing about your own applications, which still need checking.

Does updating React fix Next.js?

No, according to the Dynatrace post, Next.js bundles its own compiled copies of the packages. Bump next to a fixed version of your line.

Is there a public exploit?

The vendor post contradicts itself here: one section says no public exploit is verified, another mentions public proofs of concept, the CISA KEV catalogue and active scanning. I could not settle it; assume the more cautious case, active exploitation.

Conclusion

The sequence is simple: inventory, fix the right line, prove the fix, watch for as long as the window lasts. For the feature itself, see the Runtime Vulnerability Analytics page.

Independent blog, not affiliated with Dynatrace LLC. Dynatrace is a trademark of Dynatrace LLC.

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
traceAI OpenTelemetry Python : tracer une application LLM

traceAI OpenTelemetry Python: trace an LLM application

Related Posts