Skip to content
Start with Identity

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

CloudSEK says an AI-automated campaign it calls React2Keys used the React2Shell flaw to steal over 50,000 credentials from 19,000+ hosts tied to 400+ organizations, including AWS, Azure and GCP identities, AI API keys and Claude Code OAuth tokens. It planted an SSH key, so patching alone is not enough.

By SWI Community TeamNov 30, 2026

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). BleepingComputer 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 tokens of the workload itself, and the attacker turned AI keys into free compute (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 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 managed-identity sign-ins for the November window, and give each app its own narrowly scoped workload identity instead of shared keys.

Source: CloudSEK, BleepingComputer

Last reviewed By SWI Community TeamSuggest a correctionHow we research
Independent analysis. No vendor sponsorship. Editorial policy · Report a correction