Rapid alert3 min read

React2Keys: automated campaign plunders 50,000 credentials from 19,000 Next.js hosts via React2Shell

An automated, AI-assisted campaign exploited React2Shell (CVE-2025-55182) to steal more than 50,000 cloud, AI, database and crypto credentials from over 19,000 Next.js hosts at 400-plus organisations. Patching closes the door but the secrets are already out.

React2Shell rapid alert: Running Next.js on the internet? Every secret on that box is gone.
The rapid alert card: save it and share it with your team

What happened

CloudSEK uncovered an automated credential theft campaign it calls React2Keys. Between 9 and 19 November 2026 the operator used React2Shell (CVE-2025-55182) to run code on internet-facing Next.js servers without signing in, then harvested every secret the application could read.

React2Shell is a critical unauthenticated remote code execution flaw in React Server Components, including Next.js deployments. React disclosed it on 3 December 2025 and rated it CVSS 10. It was exploited within hours of disclosure and later added to CISA's catalogue.

From access to the attacker's own infrastructure, CloudSEK recovered a 1.9-million-line exfiltration log, per-victim folders and a toolkit of more than 900,000 files. The operator stole over 50,000 credentials from more than 19,000 hosts, and linked compromised build, cloud and AI infrastructure to more than 400 organisations. The 50,000 figure counts credentials, not people.

Timeline

  • 3 Dec 2025: React2Shell disclosed, CVSS 10.
  • Dec 2025: Exploited within hours, including by China-linked actors. Added to CISA KEV.
  • 9 Nov 2026: React2Keys campaign begins.
  • 19 Nov 2026: Ten-day run ends.
  • 30 Nov 2026: CloudSEK publishes its report.

Am I affected?

You are exposed if you run an internet-facing Next.js or React Server Components app that was not patched for CVE-2025-55182. React warned that an app can be vulnerable even if developers never explicitly added React Server Functions.

The operator polled six public Certificate Transparency logs every three minutes, so a newly issued TLS certificate could become a scan target within minutes of deployment. About 3 percent of fingerprinted domains passed the Next.js filter and were targeted.

Finding no static cloud keys on a host does not clear you. The toolkit also went after temporary cloud session credentials, so the wider cloud account can still be exposed.

What to do now

  1. Upgrade React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later, and move Next.js to a release patched for CVE-2025-55182 per the vendor advisory. Check newer advisories before choosing a version.
  2. Rotate every credential the affected application could read: database passwords, AWS access keys and session tokens, Azure managed-identity and Google Cloud service-account credentials, GitHub tokens, AI keys (OpenAI, Anthropic, Gemini), Claude Code OAuth tokens, payment tokens, registrar logins and crypto keys.
  3. Revoke secrets-manager credentials the app held. In at least one case a stolen vault credential gave access to further secrets.
  4. Remove any unauthorised SSH keys from compromised accounts and hosts.
  5. Run apps as non-root and isolate per-app secrets to reduce blast radius.

How to hunt

  • Check ~/.ssh/authorized_keys on all accounts for the planted Ed25519 key. CloudSEK observed the comment bluelocale-foothold and the key beginning AAAAC3NzaC1lZDI1NTE5AAAAINiNfAw552VRo+E3mBu/MHaVsRDcN0BMGuVCjgIyHbb3.
  • Review SSH logins, scheduled jobs and crontabs for entries the application would not create.
  • Review cloud audit logs, AI usage and billing, and repository access for activity the app would not normally generate. Watch for unexplained compute spend: the operator used stolen cloud credentials to fund further scanning.
  • Check AI provider billing for requests you did not make, including those billed via stolen Claude Code OAuth tokens.
  • Use CloudSEK's exposure checker against your domains or work emails as a starting point, not a substitute for examining host and cloud logs.

What does not help

Patching alone. The fix closes the entry point, but it does not invalidate stolen credentials or remove access the operator already set up. The planted SSH key and stolen secrets keep working after you upgrade. If you ran an exposed Next.js app and only patched it, do not assume you are clean.

Sources

Drafted with the help of AI, then checked, edited and approved by Marcus Lenngren, who takes editorial responsibility for it.

More from us