Protect.Computer
NEWS

React2Keys Campaign Used React2Shell to Steal 50,000+ Secrets

· 2 min read · Got hacked Data hijack
React2Keys Campaign Used React2Shell to Steal 50,000+ Secrets

Researchers at security firm CloudSEK say they uncovered a campaign they call “React2Keys” that broke into unpatched Next.js servers through the React2Shell flaw (CVE-2025-55182) and stole more than 50,000 credentials from at least 19,000 hosts at about 400 organizations, as reported by BleepingComputer. React2Shell is a critical, unauthenticated remote code execution bug in React Server Components that has been exploited since shortly after its disclosure in December 2025. CloudSEK says it reached the attacker’s infrastructure and recovered a 1.9-million-line exfiltration log, per-victim result folders and a toolkit of more than 900,000 files.

CloudSEK describes the operation as largely automated, with AI assistance, and as running from November 9 to 19. According to its report, the attacker polled six public Certificate Transparency logs every three minutes, so a newly issued TLS certificate could become a scan target within minutes; only about 3% of the domains checked looked like Next.js. On compromised servers the attacker collected cloud keys and identities, AI-provider keys (Anthropic, OpenAI, Google Gemini), GitHub tokens, database credentials and cryptocurrency exchange keys, then tested which ones still worked and ranked them by estimated value. CloudSEK says the same worker code can also switch to an Odoo mode and that a separate chain targets WordPress flaws.

How to check if you’re affected

Affected products are servers running React Server Components or Next.js applications that have not been updated for CVE-2025-55182. CloudSEK’s remediation list, in its own order:

  • Patch. Upgrade React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later, and move Next.js to a release patched for CVE-2025-55182 per the vendor advisory.
  • Rotate everything on the host. CloudSEK says to assume every environment variable and secret file on an exposed server is compromised: cloud keys, AI-provider keys, database credentials, registrar, payment and messaging tokens, and secrets-manager credentials. It adds that patching alone is not enough, because stolen credentials keep working independently of the vulnerable app.
  • Audit persistence. Review every authorized_keys file for unknown keys, plus cron jobs and SSH logins.
  • Audit logs. Check AWS CloudTrail, cloud audit logs and AI-platform usage for unusual calls, new IAM users, Bedrock model-access changes and unexpected instance deployments.

CloudSEK also offers an exposure-check page where you can enter a domain or work email; that is the vendor’s own service, and we have not tested it.

Sources

Related reading