Keyrook

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.

A table from CloudSEK showing stolen credentials by category, led by other app secrets at 20,636
Image: CloudSEK

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
Scale of the campaign, as reported by CloudSEK on 30 November

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

  1. 9 Nov 2026, 18:21 UTC

    Fleet scan tooling goes live

    The scan orchestration layer starts queueing targets.

  2. 9 Nov 2026, 19:07 UTC

    Environment harvesting begins

    Confirmed-vulnerable hosts start having their environments dumped.

  3. 9–18 Nov 2026

    Sustained mass exploitation

    Distributed workers feed back 782,643 scan-output files over this window.

  4. 19 Nov 2026, 04:56 UTC

    Targeted follow-up phase

    Per-target scripts pull SSH keys, private git repositories and crypto-linked hosts.

  5. 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

010,00020,00030,000Other secrets20,636Auth9,581Database7,778Cloud7,777Comms3,100LLM / AI2,989Payment2,091DevOps166 010,00020,00030,000Other secrets20,636Auth9,581Database7,778Cloud7,777Comms3,100LLM / AI2,989Payment2,091DevOps166
Source: CloudSEK · in credentials
The numbers
credentialsCredentials
Other secrets20,636
Auth9,581
Database7,778
Cloud7,777
Comms3,100
LLM / AI2,989
Payment2,091
DevOps166

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

  1. 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.

  2. 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.

  3. 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.

  4. Hunt for persistence

    Review every authorized_keys file for unknown keys, and check cron jobs and SSH logins for anything unfamiliar.

  5. 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.

  6. 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

  1. React2Keys: AI-Powered React2Shell Campaign Steals 50,000+ AI, Cloud, Database, Payment, Registrar, and Crypto Keys from 19K+ VictimsCloudSEK
  2. AI-powered React2Keys campaign steals secrets from 400 organizationsBleepingComputer

More news

All the news
  1. Threat Brief3 min

    Dark Project claims 250 GB theft from two rural hospitals — nothing confirmed yet

    Dark Project claims it stole more than 250 GB and over a million files from Scott County Hospital and Big South Fork Medical Center. Neither hospital has confirmed the claim.

    • Scott County Hospital
    • Big South Fork Medical Center
  2. Threat Brief3 min

    Fake 2FA and AI apps on the Microsoft Store hid backdoors

    Unit 42 found four trojanised apps on the Microsoft Store, live from September to November 2026 with hundreds of downloads. They worked as advertised while running backdoors.

    • Microsoft Store
  3. Threat Brief4 min

    The Gentlemen claims 250 GB theft from Ottawa hospital — but nothing is confirmed yet

    The Gentlemen ransomware group claims it stole 250 GB from Queensway Carleton Hospital in Ottawa, listing the hospital on 1 December 2026. The hospital has not commented and no files have been verified.

    • Queensway Carleton Hospital