The Library

React2Shell CVE-2025-55182: Attackers Compromised at Least 766 Hosts and Harvested Credentials, and Why Patching Next.js Is Only Half the Fix

Researchers say a group exploiting React2Shell (CVE-2025-55182) compromised at least 766 hosts and collected their credentials. Here are the fixed React and Next.js versions, and why you should rotate secrets after you patch.

Elite Performance Exclusive LLC 6 min read

Where Worldwide

React2Shell CVE-2025-55182: Attackers Compromised at Least 766 Hosts and Harvested Credentials, and Why Patching Next.js Is Only Half the Fix
On this page 8 sections

A critical flaw in React Server Components and Next.js, tracked as CVE-2025-55182 and known as React2Shell, lets attackers run their own code on a web server without logging in. Researchers at Talos say one group used it to compromise at least 766 hosts and collect their credentials. If your website or app ran an affected version, patching the code may not be enough, because the keys it held may already be gone.

This post covers what is confirmed, what is unknown, and what to do this week.

What is React2Shell (CVE-2025-55182)?

Microsoft describes CVE-2025-55182 as a critical pre-authentication remote code execution vulnerability affecting React Server Components, Next.js and related frameworks. In short, an attacker can run code on a vulnerable server with no account and no password.

It has a CVSS score of 10.0, the highest rating there is. Microsoft's security blog post, dated December 15, 2025, says exploitation was detected as early as December 5, 2025, and that public proof-of-concept exploits are readily available with near-100% reliability. Attackers do not need special skill to use this flaw: working code is already out there.

Which React and Next.js versions are affected?

Microsoft lists these affected and patched versions:

Package Affected versions Patched version
React 19.0.0, 19.1.0, 19.1.1, 19.2.0 19.0.1, 19.1.2, 19.2.1
Next.js 15.0.0–15.0.4, 15.1.0–15.1.8, 15.2.0–15.2.5, 15.3.0–15.3.5, 15.4.0–15.4.7, 15.5.0–15.5.6 5.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7

A note on the fix list: Microsoft's list of patched Next.js versions includes 5.0.5, which does not match the affected ranges above; we are not going to guess what was meant. If your build falls in an affected range, move to a later patched release such as 15.5.7 or 16.0.7, and test the upgrade before it goes live. Microsoft's guidance is to upgrade to one of the patched versions, or a later one in the same release line.

What the UAT-10608 campaign did with React2Shell

Talos tracks a group it calls UAT-10608, which has been targeting public-facing web applications vulnerable to React2Shell:

  • The campaign has resulted in the compromise of at least 766 hosts.
  • 10,120 files in total were collected from compromised hosts.
  • The breadth of victims and the indiscriminate targeting are consistent with automated scanning.

Servers were found because they answered on the internet and ran a vulnerable version, not because anyone chose the victims.

Talos is blunt about the stolen data: "Every credential in this dataset should be considered fully compromised." SecurityWeek adds: "All the exposed credentials, keys, tokens, and secrets in the dataset should be considered compromised and rotated".

What is confirmed and what is not known

Confirmed by the primary sources:

  • CVE-2025-55182 is a no-login remote code execution flaw rated CVSS 10.0 (Microsoft).
  • It has been exploited since at least December 5, 2025 (Microsoft).
  • Public exploit code is readily available (Microsoft).
  • UAT-10608 compromised at least 766 hosts and collected 10,120 files (Talos).

Not known from the sources we checked:

  • Which organisations or industries were among the 766 hosts.
  • How many individual credentials were in those 10,120 files.
  • Whether the stolen credentials have been used, and if so, for what.
  • When the campaign started, or whether it is still running.

Why credential theft changes the fix

A patch closes the door. It does nothing about what has already been taken. The researchers say the exposed data includes credentials, keys, tokens and secrets: what a web app uses to reach its database, payment provider, email service and cloud account. If an attacker copied them while your server was vulnerable, they can still log in to those services after you patch, without touching your website again.

That makes this a business problem, not just a developer task. A customer portal, an online store or an internal tool built on Next.js can hold keys to systems that matter far more than the website itself. It also raises a question many companies cannot answer straight away: who keeps the libraries under your web app up to date? If an agency, a freelancer or an AI tool built the site, someone still has to track flaws like this one.

How to fix React2Shell: what to do this week

Step What to do How to check
1. Find every app List every site and tool using React Server Components or Next.js, including staging and preview servers Ask your developer or hosting provider for a written list
2. Check versions Compare installed React and Next.js versions against the table above Check the lockfile, not just package.json
3. Upgrade Move to a patched version: React 19.0.1, 19.1.2 or 19.2.1; Next.js 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7 or 16.0.7 Confirm the running build, not just the repository, shows the new version
4. Rotate secrets If a server ran an affected version while reachable from the internet after exploitation began, change every password, API key, token and access key it held Revoke old keys at each provider, not just add new ones
5. Review activity Look for logins or API use you do not recognise at your database, cloud, payment and email providers Check each provider's access logs and active sessions
6. Name an owner Give one person responsibility for watching dependency updates Put it in writing, with a contact for after-hours alerts

Do not skip staging and preview servers. They often run the same code with real keys and get less attention.

React2Shell questions people are asking

Is React2Shell being exploited? Yes. Microsoft says exploitation was detected as early as December 5, 2025. Talos reports UAT-10608 has compromised at least 766 hosts.

What is CVE-2025-55182? The CVE number for React2Shell, a critical no-login remote code execution flaw in React Server Components, Next.js and related frameworks, rated CVSS 10.0.

Which Next.js version fixes React2Shell? Microsoft lists 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7 and 16.0.7, or a later version in the same line. See the note above if your build is older.

Which React version fixes CVE-2025-55182? React 19.0.1, 19.1.2 and 19.2.1. The affected versions are 19.0.0, 19.1.0, 19.1.1 and 19.2.0.

Does React2Shell affect React apps that do not use Server Components? Microsoft describes the flaw as affecting React Server Components. The sources we checked do not say whether a React app without Server Components is exposed. Ask your developer how your app is built.

I already patched. Do I still need to change passwords and keys? If the server was vulnerable and reachable from the internet after exploitation began, yes. Talos says every credential in the stolen dataset should be considered fully compromised, and patching does not cancel keys that were already copied.

Was my business one of the 766 hosts? The sources we checked do not name victims. Since the targeting looked like automated scanning, any exposed and vulnerable server could have been hit, including yours.

The bigger lesson

The most valuable thing on a web server is usually not the website. It is the keys the website holds. When a flaw like React2Shell comes out, the work does not stop at the upgrade. You need to know which apps you run, which versions they are on, which secrets each one holds, and who is responsible for rotating those secrets the same week.

For help hardening your apps and servers, see security hardening or request a quote.

Get security alerts like this by email, plus our free checklist, at /security-alerts.

Sources: Microsoft Security Blog; Talos; SecurityWeek.

Share X LinkedIn Facebook

Was this article helpful?

We only keep the note with this article. No name, no email.

Protected by reCAPTCHA - Privacy and Terms.

Have a question about this article?

Ask it here and we will answer you directly by email. Questions are private, never posted.

Protected by reCAPTCHA - Privacy and Terms.

Security alerts by email

Hear about the next one first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.

Want a result like this?

Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.

Get a Tech Quote

Security alerts by email

The next security hole is already out there. Hear about it from us first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.