React2Keys: an automated campaign exploits React2Shell (CVE-2025-55182) on Next.js hosts it picks from certificate-transparency logs, harvests cloud, AI, database and payment secrets, and plants an SSH key that survives patching, per CloudSEK (CVSS 10.0)
React2Keys: automated React2Shell campaign steals cloud, AI and database secrets; patching does not evict, rotate
Defender actions
- Upgrade every internet-facing app that supports React Server Components to React 19.0.1, 19.1.2 or 19.2.1 or later (Next.js to the release patched for CVE-2025-55182) and, for any that ran an older build while reachable, rotate every credential in its environment variables and secret files (cloud, AI-provider, database, registrar, payment and secrets-manager credentials) and review its authorized_keys files and cron jobs, because CloudSEK reports the actor plants an SSH key that survives patching.
Analysis
CloudSEK says it recovered an operator's exposed server, including a 1.9-million-line exfiltration log, per-victim result folders and a toolkit of more than 900,000 files, and reports a fully automated credential-harvesting operation it calls React2Keys, built on React2Shell, the unauthenticated remote code execution flaw CVE-2025-55182 in React Server Components that the React team rates CVSS 10.0 (CloudSEK, 2026-11-30; React Team, 2025-12-03). CloudSEK counts compromised CI/CD, cloud and AI infrastructure of more than 400 organisations and more than 50,000 credentials from 19,000+ victims in no particular sector or region; the counts are CloudSEK's own (CloudSEK, 2026-11-30).
Targets select themselves: the actor polls six public certificate-transparency logs every three minutes, so a new certificate can become a scan target within minutes, keeps the roughly 3 percent of domains that fingerprint as Next.js, and, where a payload is blocked at the edge, infers an undocumented Cloudflare IP range to attack the origin server directly (CloudSEK, 2026-11-30). Initial access is one unauthenticated POST with a crafted multipart body to any route a Server Action can reach, and the exploit re-sends the body at each redirect hop, so apps behind authentication-middleware redirects are not mistaken for patched (CloudSEK, 2026-11-30). The payload then reads environment variables that match a credential pattern and known secret files (.env files, cloud credential files, SSH keys, the Kubernetes service-account token), queries the container metadata endpoint, exchanges a Kubernetes token for temporary AWS credentials through EKS Pod Identity or steals Azure managed-identity tokens, opens connections to the victim's own PostgreSQL, Redis and MongoDB databases, exfiltrates git archives, and uses a GitHub token to search whole organisations for Anthropic keys, AWS secrets, private keys and mnemonic phrases (CloudSEK, 2026-11-30). CloudSEK reports that the actor appends its own SSH public key to a compromised account's authorized_keys, so patching does not remove access (CloudSEK, 2026-11-30). React lists 19.0, 19.1.0, 19.1.1 and 19.2.0 as affected, fixed in 19.0.1, 19.1.2 and 19.2.1 (React Team, 2025-12-03).
Cited evidence
The threat actor has been harvesting environment variables, application secrets, cloud and database credentials, API keys, authentication tokens and other sensitive information from exposed servers.
Because stolen credentials work independently of the vulnerable app, patching alone is insufficient.
This is not a campaign against a specific sector or region.
There is an unauthenticated remote code execution vulnerability in React Server Components.
Sources2
AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.