A single unauthenticated web request was enough to hand an attacker the AI, cloud and payment keys of a Next.js server. The threat intelligence firm CloudSEK calls the campaign React2Keys and describes it in a report published on 30 November 2026: more than 50,000 credentials taken from over 19,000 Next.js hosts at more than 400 organizations, using the React2Shell flaw (CVE-2025-55182). The attacker used AI to help build and run the operation, and the report says the stolen keys include those for Anthropic, OpenAI and Google Gemini. Patching the hole does not undo the theft, because the secrets keep working afterwards.
How the attack runs from a new certificate to your keys
The flaw is an unauthenticated remote code execution bug in React Server Components, which is how Next.js Server Actions receive data. CloudSEK reports that the actor watches six public Certificate Transparency logs every three minutes, so a freshly issued TLS certificate can turn into a scan target within minutes of a site going live. Only about 3 percent of the candidates it fingerprints pass the filter. The exploit is one POST request with a crafted multipart body; the output of the injected code comes back inside the digest field of an error that Next.js itself throws.
On the server, the payload reads every environment variable that looks like a secret, plus .env files, cloud credential files, SSH keys and the Kubernetes service-account token. Follow-on code then reaches into cloud identity services, opens connections to the victim’s PostgreSQL, Redis and MongoDB, copies whole git repositories and uses a GitHub token to search the victim’s entire organization for keys. In one case a single credential for a third-party secrets manager exposed every secret stored in it, so centralizing secrets did not help.
CloudSEK also saw two side chains that share the same harvesting layer: one aimed at Odoo (CVE-2026-25137) and one at WordPress (CVE-2026-63030 and CVE-2026-60137). Of 2,939 WordPress hosts scanned, only 4 were confirmed vulnerable, so Next.js is clearly the main road.
Check and clean up: what to do today
- Update first. The Next.js advisory lists these patched releases: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7 and 16.0.7, plus 15.6.0-canary.58 and 16.1.0-canary.12 for canary users. Next.js 13.x, 14.x stable, Pages Router apps and the Edge Runtime are not affected. If you run 14.3.0-canary.77 or a later 14.x canary, the advisory says to move back to the latest stable 14.x. The fixed React versions are 19.0.1, 19.1.2 and 19.2.1.
- Test your exposure. CloudSEK offers a checker for domains and work email addresses. In your own logs, look for POST requests to Server Action routes with multipart bodies from unknown addresses since early November.
- Rotate everything the app could read, not only what you think was taken: cloud keys, AI provider keys, database passwords, registrar, payment and messaging tokens, and any secrets manager credential. Do this after the patch is deployed and in the order of damage a thief could do.
- Look for planted SSH keys. The actor appends its own public key to
authorized_keys, so access survives the patch. Search all accounts, for examplegrep -r "AAAAC3NzaC1lZDI1NTE5AAAAINiNfAw552VRo+E3mBu/MHaVsRDcN0BMGuVCjgIyHbb3" /root/.ssh /home/*/.ssh. CloudSEK names the key commentbluelocale-foothold, but match on the key, not the label. Also review cron jobs and recent SSH logins. - Do not stop at “no static keys here”. On Kubernetes, ECS or Azure, the code can pull short lived tokens from the metadata service. Check IRSA and EKS Pod Identity role use, managed identity token use and CloudTrail for new IAM users, changed Bedrock model access and instances you did not start.
The advisory itself is older than the campaign. Next.js published a rotation recommendation for apps that were online and unpatched on 4 December 2025. A server that missed that window is the kind of host this crew was looking for.
One step further: a stolen key is a bill, not only a leak
Our own count from CloudSEK’s figures: at least 2.6 credentials per host and about 47 hosts per organization, so one unpatched fleet can lose its whole set of keys at once. The campaign began on 9 November 2026, 341 days after the patches shipped on 3 December 2025, and the last exfiltration was seen on 19 November, so patching late was not a safe plan.
The AI keys are the new part. According to CloudSEK, harvested keys are tested against roughly ten LLM providers and sorted into seven states, including live, out of credit and quota capped, and a valid key with no credit is kept rather than thrown away. Stolen Claude Code login tokens are refreshed and used for inference that the victim’s subscription pays for. Where a stolen AWS account blocks Claude access behind the Bedrock use-case form, the actor’s script submits the form with the stolen credentials. A cloud token that CloudSEK found in the actor’s own scripts also turned up in a victim’s leaked environment, which fits the report’s picture of victims financing further scanning. The report does not claim that keys were resold, so we do not either.
What this costs in practice is visible in a case we covered earlier: a Railway breach that exposed AI provider keys led to $740,000 in unauthorized charges. The same logic applies to an agent bridge that handed out shells and AI keys and to criminals who already plan fraud with AI. Check the usage and billing pages of every AI provider whose key lived on a Next.js server, set spend limits, and revoke old keys rather than only creating new ones. Vercel’s bulletin adds that its firewall rules protect projects hosted there but are no substitute for upgrading.
Still open: how many of the 400 organizations have rotated their keys, whether other Next.js campaigns reuse this toolkit and how much money was actually drained from exchange or payment accounts. More cases are on our AI Security tracker.
How we checked
Checked on 3 December 2026, 23:22 CET.
- Read CloudSEK’s full report, the Next.js security advisory for CVE-2025-66478 and Vercel’s summary of CVE-2025-55182; versions are copied from the advisory.
- Cross-checked the headline numbers against The Hacker News ThreatsDay roundup, which repeats CloudSEK’s figures; Dark Reading blocked automated access, so we did not use it.
- The per host and per organization averages and the 341 day gap are our calculations from CloudSEK’s rounded numbers. We did not run the exploit or the checker ourselves.



