React2Shell patching itself isn't going to cut it. Single campaign stole keys from thousands of servers - and they left backdoors wide open (CVE-2025-55182)

5 min read

Fix CVE-2025-55182 by updating React Server Components to >= 19.0.1 (or >=19.1.2 or >=19.2.1). Then rotate all secrets on the server(s) impacted by this and get rid of any SSH keys you can't explain. In November 2026, over 50,000 credentials from at least 19,000 hosts were stolen by React2Keys. Installed SSH keys are persistent after patching.

On this page

An automated operator has been running for ten days in November. The target is React and Next.js servers. The operator took the keys. The campaign has been reported by a security company. The report was released by CloudSEK on November 30, 2026. The name of the campaign is React2Keys. Sought out servers from Certificate Transparency logs, ran the React2Shell vulnerability check on them, and grabbed the credentials from the ones it could access.

Per CloudSEK, over 50,000 creds from over 19,000 hosts and over 400 organizations. It has cloud keys for AWS/Azure/Google Cloud and AI provider keys for OpenAI, Anthropic and Gemini. It also has OAuth tokens for Claude Code and GitHub creds, database passwords, Stripe and PayPal keys, registrar keys, crypto keys. Still not done if they had patched it already. The patch plugs the hole. A cloud key that left in November cannot be patched back to the server.

What the operator did with the keys

CloudSEK claims the actor used AI assistance to verify the stolen keys, to sort them by value and to use some. Victims were charged for their own stolen keys used in AI/cloud. They also installed SSH keys on the hacked servers. The November SSH key works to login to the server after React is updated.

The flaw underneath

React2Shell (CVE-2025-55182 10.0) is an unauthenticated RCE vulnerability in React Server Components. This impacts react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack. Specifically the 19.0, 19.1 and 19.2 versions. 19.0.1, 19.1.2, 19.2.1 were patched. Next.js released patches for affected lines. It was disclosed on December 3rd, 2025. The vulnerability was exploited in hours. It was put into CISA Known Exploited Vulnerabilities on December 5th, 2025.

Affected product and versions

React Server Components for react-server-dom-webpack, react-server-dom-parcel, react-server-dom-turbopack for 19.0, 19.1, 19.2, and Next.js apps using these versions. 19.0.1, 19.1.2 and 19.2.1 are the versions of the fixed React.

Who is not in scope

If you never ran the affected versions of React Server Components on the server, then there's no risk of being exposed to React2Shell. If the server was patched before any scan got there (and no signs of infiltration), then it's a simpler task. But you should still do this check if the server was running a vulnerable version at any time in the month of November. There are no server components used on a static React site. Therefore, the campaign did not go for that. It targeted servers and their keys.

One check to run now

Check your servers for any ssh keys that you don't know. For every server that had a vulnerable version, look in the authorized keys for each user (including root and the app account) and correlate that key with those people/systems that should be able to access. Any unnamed key is removed and that's considered an indicator the server was opened. Then run npm ls react react-dom next for each of the services to see what versions you are on and confirm you are on a fixed release of the React Server Components packages.

What this is not

That's not a new bug in React. So React2Shell has been out for a year now. Fixes have been available since December 2025. But the news here is how big a single theft spree against unpatched servers was and what was left behind.

How to fix

So first, update. First, make sure you're using React Server Components: 19.0.1 / 19.1.2 / 19.2.1 (or newer). Upgrade to a patched version of Next.js.

npm install react@latest react-dom@latest next@latest

Secondly, rotate all the secrets on any server that was running a vulnerable version in November. That means you would have cloud keys (AWS, Azure, Google Cloud), AI provider keys, GitHub tokens, database passwords, Stripe/PayPal payment keys, registrar keys, crypto keys. Rather than adding new keys, revoke old ones. Otherwise, the stolen old key will continue to work until it gets revoked.

Third, remove any SSH key you can't explain (as mentioned in the check above). That door still stays open when you just patch.

Fourth: Check your November billing and use of the accounts that these keys unlock. CloudSEK indicates those keys were used and customers invoiced, so watch for any seemingly unexplained increase of AI or cloud spending in November.

How much of this is confirmed

All the campaign data in this post is based on ONE investigation by CloudSEK. This news has also been covered by SecurityWeek and CSO Online, both pointing to the same CloudSEK report. The victim level impact is unsubstantiated from any external source. The numbers are all CloudSEK's. All available information on the flaw and fixes and CISA listing are public. Take the numbers for the campaign as some company's findings, still perform patch and rotate. It's all well warranted from public view. All servers running the vulnerable code were exposed for everyone.

HOL's assessment

All servers running the flaw were reachable to any scanner in November. Patching will prevent new entry through the flaw. It's not going to pull back a key that has already exited from the server. And it's not going to remove an SSH key that has been seeded when the server was open. This is exactly why rotation is on par with update in the list of fixes for this post. The teams that did November patches and left it at that still need to handle rotation and the SSH key check. Campaign numbers are from one company. Exposure window is public info.

Sources

CloudSEK, React2Keys report: cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft

SecurityWeek coverage: securityweek.com/react2keys-campaign-steals-50000-credentials-via-react2shell-exploitation/

React advisory for CVE-2025-55182: react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components

I patched React2Shell already. Am I done?

No, if you used the vulnerable version before the patch. A patch will close the hole from further entry. It doesn't revoke stolen keys. It doesn't clear out any of your SSH keys that were snuck into your server when you had it open. Rotate the secrets stored on the server and check authorized keys files.

How do I fix CVE-2025-55182?

Upgrade the React Server Components packages to 19.0.1, 19.1.2 or 19.2.1 (or later), or update to a patched version of Next.js. And then cycle all your credentials stored on the compromised server. And get rid of any SSH key that you don't have a good reason for.

CVE-2025-55182 questions

Reviewed . 2 questions.

I patched React2Shell already. Am I done?

No, if you used the vulnerable version before the patch. A patch will close the hole from further entry. It doesn't revoke stolen keys. It doesn't clear out any of your SSH keys that were snuck into your server when you had it open. Rotate the secrets stored on the server and check authorized keys files.

How do I fix CVE-2025-55182?

Upgrade the React Server Components packages to 19.0.1, 19.1.2 or 19.2.1 (or later), or update to a patched version of Next.js. And then cycle all your credentials stored on the compromised server. And get rid of any SSH key that you don't have a good reason for.

Sources

  1. CloudSEK, React2Keys report — 2026-11-30
  2. React advisory for CVE-2025-55182 — 2025-12-03
  3. SecurityWeek coverage of React2Keys — 2026-12-01
All articles

Keep exploring

The engineering desk continues across the ecosystem: security research on shipping agents safely, and plugins that put the standards to work.