CloudSEK says an AI-assisted crew stole 50,000+ keys from unpatched Next.js servers
CloudSEK says one attacker used the React2Shell flaw to pull secrets from more than 19,000 Next.js hosts tied to 400+ organizations, then tested stolen AI keys and ran a victim's Claude Code login on the victim's bill. The firm says the operation was automated with help from AI.

What happened
Security firm CloudSEK published research on November 30, 2026 describing a campaign it calls React2Keys. According to the firm, a single unnamed attacker broke into more than 19,000 Next.js servers and collected over 50,000 credentials, linked to more than 400 organizations across dozens of countries.
The way in was React2Shell (CVE-2025-55182), a maximum-severity flaw in Next.js Server Actions that was disclosed in December 2025. Dark Reading notes that patches have been available for about a year, yet unpatched servers remain online.
How the attack worked
CloudSEK says the attacker watched public certificate logs every few minutes, so a newly launched site could be probed soon after it went live. Hosts that looked vulnerable got one unauthenticated request that ran the attacker's code inside the server.
From there, the toolkit read environment variables and secret files, then reached into cloud accounts, databases, source code and a secrets manager. CloudSEK says it also planted an SSH key, so patching the app alone does not remove the attacker.
- Targets included AI provider keys, cloud credentials, database passwords, payment and registrar tokens, and crypto exchange keys.
- Each stolen secret was scored by estimated value and tested live, according to CloudSEK.
- Stolen cloud access was reportedly used to pay for more scanning.
Where AI comes in
CloudSEK says the attack chain, from finding targets to sorting stolen credentials, was automated with assistance from AI, and points to a file path in the toolkit that hints at an AI-agent framework.
The firm also describes AI services as a prize: stolen keys were checked against about ten AI providers, and a victim's Claude Code login tokens were refreshed and used to run work billed to that victim. One security executive quoted by Dark Reading said AI keys are "now on the shopping list" next to cloud and payment credentials.
What defenders should do
CloudSEK and Dark Reading both stress that stolen secrets keep working after a server is patched.
- Install the React Server Components and Next.js releases that fix CVE-2025-55182, following the vendor advisory.
- Rotate every secret that lived on an exposed host, including AI provider keys.
- Check authorized_keys files for unknown SSH keys and review cloud and AI usage logs for unusual activity.
- CloudSEK has published a free exposure checker for affected domains.
What is not known
The attacker has not been named or attributed. The counts of hosts, organizations and credentials are CloudSEK's estimates from material it recovered, and have not been confirmed by victims. CloudSEK has not said how many Claude Code tokens were taken, and it is not clear how much of the work an AI system did on its own versus scripts written in advance.