React2Keys stole 50,000+ keys from 400 organisations through React2Shell
CloudSEK reported on 30 November that a ten-day AI-run campaign stole 50,000+ credentials from 19,000 hosts at 400 organisations through the React2Shell flaw.

Affects
- React
- Next.js
Tracked as
CVE-2025-55182React Server Components · CVSS 10
An automated theft operation spent ten days in November sweeping up credentials from servers that had never been patched against React2Shell — and it did the sorting, testing and ranking of its haul with AI tools, some of them paid for with the victims’ own accounts.
CloudSEK, which disclosed the campaign on 30 November after getting inside the attacker’s own infrastructure, calls it React2Keys. The researchers recovered a 1.9-million-line exfiltration log, per-victim result folders and a toolkit of more than 900,000 files, giving them a rare full view of the operation from first scan to final payout.
- 50,000+Credentials stolen
- 19,000+Hosts harvested
- 400+Organisations hit
- 10 daysCampaign window9–19 November 2026
Finding targets within minutes
The operation began by watching for fresh TLS certificates. It polled six public Certificate Transparency logs every three minutes, so a newly deployed server could land on the target list almost as soon as it went live. Each domain was then fingerprinted for Next.js from a server the attackers already controlled. Only about 3% passed that filter — the rest were dropped before any exploit was tried.
The way in was a single unauthenticated request to any route that reaches a Server Action, carrying a crafted multipart body with a weaponised React Flight object. Prototype pollution made the server run the attacker’s JavaScript inside its own live Node.js process, and the result came back hidden inside the digest field of a thrown error — Next.js’s own production error handling turned into the channel that carried the exploit’s output. Apps sitting behind authentication redirects were not spared either: the exploit body was re-sent at each redirect hop, so a login wall in front of a vulnerable app did not stop it.
How the ten days unfolded
9 Nov 2026, 18:21 UTC
Fleet scan tooling goes live
The scan orchestration layer starts queueing targets.
9 Nov 2026, 19:07 UTC
Environment harvesting begins
Confirmed-vulnerable hosts start having their environments dumped.
9–18 Nov 2026
Sustained mass exploitation
Distributed workers feed back 782,643 scan-output files over this window.
19 Nov 2026, 04:56 UTC
Targeted follow-up phase
Per-target scripts pull SSH keys, private git repositories and crypto-linked hosts.
19 Nov 2026, 06:39 UTC
Last write observed
Final timestamp inside the recovered dump ends a roughly ten-day run.
What was taken
Once inside, the payload read the server’s environment and secret files, swept for non-standard .env files, and kept anything shaped like a credential. The haul spanned almost every kind of secret a modern app holds:
Stolen credentials by category
The numbers
| credentials | Credentials |
|---|---|
| Other secrets | 20,636 |
| Auth | 9,581 |
| Database | 7,778 |
| Cloud | 7,777 |
| Comms | 3,100 |
| LLM / AI | 2,989 |
| Payment | 2,091 |
| DevOps | 166 |
App-specific tokens led the count at 20,636, followed by authentication secrets such as JWT and OAuth tokens at 9,581, then database credentials at 7,778 and cloud keys at 7,777. AI provider keys — OpenAI, Anthropic, Google Gemini and others — totalled 2,989, and payment credentials from PayPal and Stripe came to 2,091. The victims spanned dozens of countries, with Brazil accounting for the largest share at 22.9%, then India at 18.4% and Germany at 13.6%.
The operation did not stop at the first server. Stolen cloud identities were used to mint live credentials where no static key existed: temporary AWS session credentials through EKS Pod Identity, Azure managed-identity tokens from the instance metadata service, and Google OAuth tokens struck from stolen service-account keys. Databases were opened with live connections, full git archives — history included — were pulled out of victims’ repositories, and a stolen token was even used to run code search across a whole organisation for more secrets. In one case, a gateway credential found in an app’s environment opened a third-party secrets manager, and every secret stored there was pulled out. Centralising secrets had not protected that victim, because the key to the vault was readable from the app itself.
AI did the quality control
Every stolen secret was scored by estimated monetary value and then tested live against its provider, in priority order. The testing roster reads like a catalogue of coding assistants: stolen Claude Code login tokens were refreshed and used to run inference billed to the victim’s own subscription, OpenAI Codex validated keys with real streamed requests launched from inside the victim’s network, and OpenRouter, Azure AI Foundry, OpenCode Zen and Google Gemini each checked keys against the models they host. A key that was valid but out of credit was kept and tracked rather than thrown away, and crypto credentials were classified by whether funds could actually be moved — eleven exchanges were covered, and Binance keys were validated with real signed account calls routed through Tor.
The stolen cloud tokens then paid for the next round. The attackers provisioned new scan workers on Hetzner and deployed the scanner as an AWS Lambda function running inside a stolen-credential account — victims funding the campaign that had hit them.
Patching alone does not end it
React2Shell, tracked as CVE-2025-55182, is a critical unauthenticated remote code execution flaw in React Server Components, scored 10.0. It was disclosed in December 2025, and attackers began exploiting it within hours. Since then it has also been used in ransomware, botnet and cryptomining attacks. The fix is to upgrade React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later, and to move Next.js to a release patched for the flaw under the vendor advisory.
What to do now
If you run React or Next.js
Check whether you were exposed
Enter your domain or work email in CloudSEK’s exposure validation tool to see if your organisation appears in the recovered data.
Patch the flaw
Upgrade React Server Components to 19.0.1, 19.1.2, 19.2.1 or later, and bring Next.js up to a release patched for CVE-2025-55182.
Rotate everything on the host
Treat all credentials on the host as exposed: cloud access keys, AI service keys, database logins, payment and messaging tokens, and any gateway credential that unlocks a secrets store.
Hunt for persistence
Review every authorized_keys file for unknown keys, and check cron jobs and SSH logins for anything unfamiliar.
Audit the logs
Check AWS CloudTrail, cloud audit logs and AI-platform usage for unusual calls, new IAM users, Bedrock model-access changes and unexpected instance deployments.
Tighten the blast radius
Run apps as non-root, give each app its own secrets, and avoid sharing hosts across applications.
CloudSEK’s exposure check is at exposure.cloudsek.com/react2keys. Organisations that find themselves listed should treat every credential on the affected hosts as already in someone else’s hands — because, for more than 50,000 of them, that is exactly what happened.
Sources
- React2Keys: AI-Powered React2Shell Campaign Steals 50,000+ AI, Cloud, Database, Payment, Registrar, and Crypto Keys from 19K+ VictimsCloudSEK
- AI-powered React2Keys campaign steals secrets from 400 organizationsBleepingComputer


