React2Keys: How One Automated Campaign Harvested 50,000 Credentials

Front of server racks at the NERSC data center; public domain CC0 photograph via Wikimedia Commons

React2Keys: How One Automated Campaign Harvested 50,000 Credentials

Front of server racks at the NERSC data center; public domain CC0 photograph via Wikimedia Commons

A single automated campaign stole more than 50,000 credentials from over 400 organisations in just ten days, and it did so by exploiting a flaw that many teams thought they had already dealt with. Researchers at CloudSEK have named the operation React2Keys, after the way it turned a known vulnerability in React Server Components into an industrial-scale harvest of cloud keys, AI tokens, database logins, and cryptocurrency credentials.

The campaign ran between 9 and 19 November 2026 and touched at least 19,000 hosts, according to CloudSEK’s investigation. Its entry point was React2Shell, tracked as CVE-2025-55182, a critical flaw in React Server Components that affects applications built with frameworks such as Next.js. The React team disclosed the flaw on 3 December 2025 and rated it 10 out of 10 for severity, because it lets an attacker run code on a vulnerable server without signing in first.

What makes React2Keys stand out is not the flaw itself but the machinery built around it. The attacker automated every step, from finding new targets within minutes of their appearance to checking whether each stolen credential still worked and ranking it by value. CloudSEK uncovered the operation after gaining access to the attacker’s infrastructure, recovering a 1.9-million-line log of stolen data and a toolkit of more than 900,000 files.

Key takeaways

  • CloudSEK dubbed the campaign React2Keys: an automated operation that stole more than 50,000 credentials from 19,000-plus hosts at over 400 organisations in ten days.
  • The entry point was React2Shell (CVE-2025-55182), a critical flaw in React Server Components disclosed on 3 December 2025 and rated CVSS 10.0.
  • Targets were found by polling six public Certificate Transparency logs every three minutes, so a newly issued certificate could become a scan target within minutes.
  • Stolen material included cloud keys, AI API keys, database credentials, payment and registrar credentials, and cryptocurrency keys.
  • Patching alone is not enough: stolen credentials can stay valid, and the attacker planted SSH keys for persistent access that can survive an update.
The React2Keys campaign at a glance
Detail What is known
Campaign name React2Keys, named by researchers at CloudSEK
Timeframe 9 to 19 November 2026, a ten-day window
Scale 50,000-plus credentials, 19,000-plus hosts, 400-plus organisations
Entry point React2Shell, CVE-2025-55182, CVSS 10.0, in React Server Components
Disclosure Disclosed 3 December 2025; added to CISA’s Known Exploited Vulnerabilities list on 5 December 2025
Evidence recovered A 1.9-million-line exfiltration log and a toolkit of more than 900,000 files
Key advice Patch, rotate exposed credentials, audit cloud and AI usage, and check for planted SSH keys

What React2Shell is, and why it was so dangerous

React2Shell is a flaw in React Server Components, the server-side part of React that frameworks such as Next.js use to render pages and handle actions on the server. The vulnerability lets a remote attacker run code on a vulnerable server without authenticating, which is why it received the maximum severity score of 10.0. When the React team disclosed it on 3 December 2025, attackers began targeting it within hours, and exploitation continued throughout the year that followed.

The victims of React2Keys spanned dozens of countries and top-level domains, multiple cloud providers, and infrastructure belonging to large and small businesses, according to CloudSEK. The campaign was not limited to one industry or region. Its targets included developer CI/CD pipelines and the cloud and AI infrastructure behind them, which meant that a single vulnerable server could expose far more than its own data: the credentials it held often unlocked other systems entirely.

How the campaign found its targets in minutes

The React2Keys operation began with scanning, and the scanning was relentless. According to CloudSEK, the attacker ran mass, persistent internet scans using Lambda workers and fleets of virtual machines, fingerprinting hosts for software instances vulnerable to React2Shell. The distinctive part was how fresh the targets were: the attacker polled six public Certificate Transparency logs every three minutes, so a new TLS certificate could become a scan target within minutes of deployment.

Close-up photograph of the rear of server racks in a data centre, showing cabling and status lights; photo by NERSC, public domain CC0 via Wikimedia Commons
Servers exposed to the internet can become targets within minutes of deployment, which is why patching and credential hygiene have to keep pace with how quickly systems appear online.

Only a small fraction of fingerprinted hosts passed the attacker’s initial filtering: about 3 percent fit the criteria for being exploitable, according to CloudSEK. That sounds low, but at internet scale it was more than enough. Three percent of a vast scan still produced more than 19,000 compromised hosts, and the automation meant the attacker did not need to care which 3 percent they were. The machine simply kept working through the list.

For the hosts that passed filtering, the attacker sent a single unauthenticated request that made the server execute attacker-controlled code from within its live Node.js process, and then ran a series of steps to seize the credentials stored there. Once code runs on a server, every secret that server can reach is exposed.

What was stolen, and what the attacker did with it

The haul was broad. According to CloudSEK, the stolen material included AWS access keys and temporary session credentials, Azure managed-identity tokens, Google Cloud service-account keys, Anthropic, OpenAI, and Google Gemini API keys, Claude Code OAuth tokens, GitHub access tokens, PostgreSQL, Redis, and MongoDB credentials, and cryptocurrency exchange API keys and wallet private keys. Payment and domain registrar credentials were also stolen.

The attacker did not simply collect these secrets; the operation sorted and validated them. Stolen credentials were checked for validity and ranked by estimated value, with cryptocurrency credentials assessed for whether they could be used to move funds. AI services were used to test whether stolen API keys still worked, including OpenRouter for Claude models, Azure AI Foundry for Claude deployments, and Gemini for Google API keys.

Some stolen credentials were then put to work directly. CloudSEK found that stolen Claude Code OAuth tokens were used to run AI requests billed to the affected customers, and stolen cloud credentials were used to fund further internet scans, so compromised accounts effectively paid for the next round of attacks.

Why patching alone will not fix this

The standard advice after a vulnerability disclosure is to patch, and patching React2Shell matters: it closes the entry point. But CloudSEK’s findings show why patching alone is not enough for organisations caught by React2Keys. Stolen credentials can remain valid after the software is updated, and the planted SSH keys can survive a patch too, leaving the attacker with a quiet way back in.

That is why the recommended response has four parts, not one. First, patch affected systems so the entry point closes. Second, rotate every credential that could have been exposed, including cloud keys, API tokens, database passwords, and OAuth tokens, and assume exposure rather than trying to prove a negative. Third, audit cloud identity and AI-platform usage for activity that does not match your own. Fourth, check for unauthorised SSH keys on compromised systems and remove any you did not place there.

CloudSEK has also published an exposure checker that organisations can use to see whether their details appear in its findings, which gives teams a concrete starting point for that work. The broader pattern is worth noting: as breaches surge, cybersecurity firms are turning away hack victims as breaches surge, which means organisations increasingly need to handle the first hours of an incident themselves rather than assuming outside help will be available immediately.

What this campaign says about AI-era attacks

React2Keys is notable for how thoroughly AI was woven into the operation. The attacker used AI services to validate stolen keys at a scale no human team could match, and used stolen AI tokens to run further work billed to victims. As the chief information security officer at Cequence Security told Dark Reading, the entire process was automated and relied on targets gleaned from new certificate registrations, and AI keys are now on the shopping list next to cloud and payment credentials.

That last point deserves emphasis. API keys for AI services have become valuable targets in their own right, because they can be resold, used to run work, or spent to power further attacks. Organisations that once worried mainly about database passwords and cloud keys now need to treat AI tokens with the same care: scoped tightly, rotated regularly, and monitored for unusual usage.

The campaign also shows how disclosure timelines compress. React2Shell was disclosed in December 2025, exploited within hours, added to CISA’s exploited list within two days, and was still being harvested at industrial scale almost a year later. Teams that treat patching as a quarterly task are operating on a calendar the attackers do not share.

The pattern is not unique to this flaw. Recent weeks have brought a run of exploited flaws and compromised services, from the exploited Entra Connect Health flaw and a compromised GL.iNet cloud to the vCenter zero-day exploited for two months that Broadcom and CISA flagged.

Checklist: what to do if you run Next.js or React Server Components

  • Confirm whether your applications use affected versions of React Server Components or Next.js, and patch them now if they do.
  • Rotate every credential that could have been exposed, including cloud keys, AI API keys, OAuth tokens, and database passwords.
  • Check servers for unauthorised SSH keys in authorised keys files and remove any you did not place there.
  • Audit cloud and AI-platform usage for unfamiliar API calls, new resources, or unexpected spending.
  • Use CloudSEK’s exposure checker to see whether your organisation appears in its findings.
  • Scope secrets to the smallest access they need, and set up alerts for unusual credential use going forward.

Frequently asked questions

What is the React2Keys campaign?

React2Keys is the name CloudSEK gave to an automated credential-harvesting operation that stole more than 50,000 credentials from 19,000-plus hosts at over 400 organisations between 9 and 19 November 2026, exploiting the React2Shell vulnerability.

What is React2Shell?

React2Shell, tracked as CVE-2025-55182, is a critical flaw in React Server Components that lets a remote attacker run code on a vulnerable server without authenticating. It was disclosed on 3 December 2025 and rated CVSS 10.0, the maximum severity score.

What kinds of credentials were stolen?

Cloud, AI, database, payment, registrar, and cryptocurrency credentials, including AWS keys, Azure and Google Cloud credentials, Anthropic, OpenAI, and Gemini API keys, Claude Code OAuth tokens, GitHub tokens, database logins, and crypto exchange keys and wallet private keys.

How did the attacker find targets so quickly?

By polling 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 hosts passed the attacker’s filtering as exploitable.

Is patching enough to recover?

No. Patching closes the original entry point, but stolen credentials can remain valid and planted SSH keys can survive an update. Affected organisations should also rotate exposed credentials, audit cloud and AI usage, and check for unauthorised SSH keys.

How can I check whether my organisation was affected?

CloudSEK has published an exposure checker for organisations that want to see whether their details appear in its findings. Teams should also review their own cloud and AI-platform usage for unfamiliar activity.

The bottom line

React2Keys is a warning about what happens when a maximum-severity flaw meets an operation designed to exploit it at machine speed. In ten days, one automated campaign turned a known vulnerability into more than 50,000 stolen credentials, funded its own scanning with victims’ cloud accounts, and planted back doors that patching alone will not remove. The flaw was disclosed almost a year earlier, and still the harvest continued.

For any team running Next.js or React Server Components, the response is now clear: patch the flaw, rotate every credential that could have been exposed, audit your cloud and AI usage, and check for planted SSH keys. The gap between disclosure and exploitation is measured in hours, while the gap between exposure and discovery can stretch for months.

on this page