React2Keys campaign abuses React2Shell flaw to steal credentials from 400 organizations
CloudSEK reports an AI-assisted campaign that exploited unpatched Node.js servers via CVE-2025-55182, stealing over 50,000 credentials from 19,000+ hosts. Patching alone does not remove stolen secrets or planted SSH keys.

Key points
- The campaign stole more than 50,000 credentials from at least 19,000 hosts across 400 organizations.
- It exploited React2Shell (CVE-2025-55182), a critical unauthenticated remote code execution flaw in React Server Components, including Next.js applications.
- Targets were found by watching newly issued TLS certificates in public Certificate Transparency logs.
- Stolen items included cloud keys, AI service tokens, GitHub tokens and database credentials; the attacker also planted SSH keys for persistence.
- Credentials and SSH keys can stay usable after patching, so revocation and cleanup are also needed.
What happened
CloudSEK researchers have described a campaign named React2Keys that targeted unpatched Node.js servers. The attacker exploited React2Shell (CVE-2025-55182), a critical flaw in React Server Components that lets a remote party run code without authenticating, including on servers hosting Next.js applications. The researchers gained access to the attacker's infrastructure and recovered an exfiltration log of 1.9 million lines, per-victim data and a toolkit of over 900,000 files.
The activity ran for ten days, from November 9 to 19. More than 50,000 credentials were taken from at least 19,000 hosts at 400 organizations.
How it worked
The attacker polled six public Certificate Transparency logs every three minutes, so a newly deployed TLS certificate could become a scan target within minutes. About 3% of the unique domains checked were fingerprinted as likely running Next.js.
On compromised servers the attacker harvested AWS, Azure and Google Cloud credentials, API keys for AI services, GitHub tokens, database credentials (PostgreSQL, Redis, MongoDB) and cryptocurrency keys. Secrets were then validated and ranked by estimated value, using several AI services. Stolen Claude Code OAuth tokens were used to run AI requests billed to victims. In some cases access extended to cloud identities, databases, Git repositories and secrets managers. An SSH key was also planted for persistent access.
Why patching is not enough
CloudSEK stresses that stolen credentials and planted SSH access can remain usable after the flaw is fixed. Institutions running Next.js or React Server Components should treat patching as the first step, followed by revocation of secrets and removal of unauthorized keys.
What to do now
- Identify all Node.js, React Server Components and Next.js servers, including internet-facing ones, and patch them against CVE-2025-55182.
- Rotate and revoke cloud keys, AI service API keys, GitHub tokens and database credentials that were stored on or reachable from affected servers.
- Check servers for unauthorized SSH keys and remove any found; investigate the host if one is present.
- Audit cloud identity activity and AI-platform usage and billing for unexpected requests.
- Use CloudSEK's online tool to check exposure, and record the response under your incident and vulnerability management processes.
How useful was this story?
0.0 out of 5 · 0 ratings
Our consultants can assess your exposure and map the change to your controls and evidence.