# React2Keys campaign took 50,000 cloud, AI and Claude Code credentials from unpatched Next.js servers

Source: https://startwithidentity.com/blog/2026-11-30-react2keys-campaign-took-50000-cloud-ai-and-claude-code-credentials-from-unpatched-next-js-servers/
Last updated: 2026-11-30
License: content by Start with Identity. Cite the source URL.

---

CloudSEK said on November 30 that an automated campaign it calls React2Keys exploited CVE-2025-55182 ("React2Shell"), an unauthenticated remote code execution flaw in React Server Components, to steal more than 50,000 credentials from over 19,000 hosts tied to more than 400 organizations ([CloudSEK](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft)). [BleepingComputer](https://www.bleepingcomputer.com/news/security/ai-powered-react2keys-campaign-steals-secrets-from-400-organizations/) dates the campaign to November 9 to 19. The actor found targets by polling six Certificate Transparency logs every three minutes, then took AWS keys and temporary credentials, Azure managed-identity tokens from the instance metadata service, GCP service-account keys, AI provider keys, GitHub tokens and database passwords. It validated and ranked each secret by value, refreshed stolen Claude Code OAuth tokens to run inference billed to victims, and appended its own SSH key to `authorized_keys`. CloudSEK recovered a 1.9-million-line exfiltration log.

## Why it matters

A web server's environment is a credential store. One pre-auth bug handed over the cloud identities and API keys the app could reach, plus the [metadata service](https://startwithidentity.com/glossary/instance-metadata-service/) tokens of the workload itself, and the attacker turned AI keys into free compute ([LLMjacking](https://startwithidentity.com/glossary/llmjacking/)). The planted SSH key means a patched host can still be owned.

Patch React Server Components to 19.0.1, 19.1.2, 19.2.1 or later and move Next.js to a fixed release. Then [rotate](https://startwithidentity.com/glossary/secrets-rotation/) every secret the host held, revoke AI and GitHub tokens, and remove unknown `authorized_keys` entries. Review CloudTrail, Kubernetes service-account and EKS Pod Identity activity, and [Microsoft Entra](https://startwithidentity.com/vendors/iam/microsoft-entra/) managed-identity sign-ins for the November window, and give each app its own narrowly scoped [workload identity](https://startwithidentity.com/glossary/workload-identity/) instead of shared keys.

Source: [CloudSEK](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft), [BleepingComputer](https://www.bleepingcomputer.com/news/security/ai-powered-react2keys-campaign-steals-secrets-from-400-organizations/)
