Threat intelligence firm CloudSEK has detailed React2Keys, a large credential-theft operation that used React2Shell (CVE-2025-55182), the critical React Server Components flaw disclosed a year ago, to break into internet-facing Next.js applications that were never patched. According to CloudSEK, the operator stole more than 50,000 secrets, including AI provider keys, cloud credentials, database logins, payment and crypto exchange keys, from around 19,000 hosts tied to more than 400 organisations.
The fix for React2Shell has been available since December 2025, but CloudSEK and other researchers stress that updating packages now does not undo the damage. The attacker added its own SSH key to compromised servers and harvested long-lived credentials, so organisations that were exposed in November need to rotate secrets and hunt for persistence, not just patch.
What happened
CloudSEK says it reconstructed the operation from material recovered from the attacker’s own infrastructure, including an exfiltration log of about 1.9 million lines, per-victim result folders and a toolkit of more than 900,000 files. SecurityWeek, citing CloudSEK, reports that scanning and environment dumps began on 9 November, mass exploitation ran until 18 November and the last exfiltration was seen on 19 November. Risky Business noted that the logs cover only about ten days and that the activity is probably continuing, and linked it to a campaign the OpenSourceMalware team had earlier described as React2Steal.
The workflow, as CloudSEK describes it, was highly automated:
- Target discovery: the operator polled six public Certificate Transparency logs every few minutes to spot newly issued certificates, then fingerprinted the domains for Next.js. A separate module tried to reach origin servers directly when Cloudflare blocked the payload at the edge.
- Exploitation: a single unauthenticated POST request carrying a malicious React Flight payload triggered code execution inside the Node.js process, with command output returned in an error field.
- Harvesting: the toolkit read environment variables,
.envfiles, cloud credential files, SSH keys and Kubernetes service-account tokens. - Pivoting: it requested credentials from AWS, Azure and GCP metadata and workload-identity services, connected to PostgreSQL, Redis and MongoDB, pulled Git history, searched GitHub organisations for more secrets and, in one case, dumped an entire secrets manager.
- Monetisation: stolen keys were scored for value and tested live, and stolen cloud access was reused to fund more scanning infrastructure.
CloudSEK also says the operator used several AI coding tools in the operation, including Claude Code with stolen OAuth tokens and OpenAI Codex, and that the toolkit included a script that used stolen AWS credentials to request access to gated models in Amazon Bedrock. No threat actor or country has been named.
Who is affected
Any internet-facing application built on React Server Components, including Next.js apps using Server Actions, that was still running a version vulnerable to CVE-2025-55182. CloudSEK advises upgrading React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later, and moving Next.js to a release that the vendor lists as fixed for CVE-2025-55182. SecurityWeek reported that Brazil, India, Germany, Russia and France were the most affected countries, and listed SoftBank, Mercell, Fonasa, Senkadagala Finance and Harvard University among the most affected organisations. CloudSEK has published an exposure checker for organisations that want to see whether their assets appear in the data.
Severity and exploitation
React2Shell carries a CVSS score of 10 and has been exploited since December 2025, SecurityWeek noted. What makes React2Keys serious is not the bug but the depth of post-exploitation: CloudSEK found 225 captured AWS STS session-credential files and evidence of access to Azure managed-identity tokens, live databases and source code. The planted SSH key, labelled bluelocale-foothold, means access can survive a later patch. CloudSEK published the full public key and a Sigma rule that watches for changes to authorized_keys.
What defenders should do now
- Inventory every internet-facing React Server Components and Next.js deployment, including preview, staging and forgotten projects, and update to a version fixed for CVE-2025-55182.
- On any host that was exposed and unpatched in November, assume compromise: rotate every secret it could reach, including AI provider keys, cloud keys, database passwords, payment and registrar credentials, bot tokens and SMTP logins.
- Check
~/.ssh/authorized_keys, cron entries and SSH login history for unknown keys and sessions, and compare against the key CloudSEK published. - Do not stop at static keys: review use of workload identities such as EKS Pod Identity, IRSA and Azure managed identities, and check CloudTrail and equivalent logs for new IAM users, unexpected instances and changes to Bedrock model access.
- Set spending limits and alerts on AI provider accounts so stolen keys are noticed quickly.
- Run applications as non-root, keep secrets out of plain environment files where possible, use short-lived credentials and avoid sharing hosts between applications.
SCVM analysis
React2Keys shows that the cost of an unpatched web framework bug is now measured by what sits in the server’s environment, not by the server itself. Modern Next.js deployments routinely hold keys for AI providers, cloud accounts, payment processors and databases, and an automated operator can turn one remote code execution into dozens of downstream compromises within minutes. Using Certificate Transparency logs as a targeting feed means new sites can be attacked as soon as they get a certificate, which shrinks any grace period for patching. The use of AI coding agents and the reinvestment of stolen cloud credits into more scanning point to operations that grow by themselves. For defenders, the lesson is to treat secret rotation and short-lived credentials as part of patching, and to find abandoned deployments before attackers do.
Sources
- CloudSEK: React2Keys: AI-Powered React2Shell Campaign Steals 50,000+ AI, Cloud, Database, Payment, Registrar, and Crypto Keys from 19K+ Victims
- SecurityWeek: React2Keys Campaign Steals 50,000 Credentials via React2Shell Exploitation
- CSO Online: React2Keys makes forgotten React2Shell exposure an expensive mistake
- Risky Business: Risky Bulletin: AI-powered campaign steals 50k secrets from 400 orgs
About this article: produced by the SCVM Newsroom with AI assistance from the public sources linked above, enriched with NVD, FIRST EPSS and CISA KEV data, and checked by automated quality controls under our editorial policy. Spotted an error? Request a correction.

