cd /news/ai-safety/react2keys-10-day-react2shell-campai… · home › topics › ai-safety › article
[ARTICLE · art-178875] src=dev.to ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

React2Keys: 10-Day React2Shell Campaign Took 50,000+ Credentials From 19,000+ Hosts

A credential-theft campaign dubbed React2Keys exploited the React2Shell flaw (CVE-2025-55182, CVSS 10.0) to harvest more than 50,000 credentials from over 19,000 hosts across 400-plus organizations between November 9 and 19, 2026, according to a CloudSEK report. The toolkit gained unauthenticated remote code execution via a single crafted POST to a Server Action route, then swept environment variables, cloud credential files, SSH keys and Kubernetes tokens, planting an SSH public key for persistent access. Stolen secrets included AI, cloud, database, payment and cryptocurrency credentials, with the operator refreshing Claude Code OAuth tokens and running inference billed to victims.

recommendation

After any React2Shell exposure, rotate cloud, AI-provider and payment credentials and remove attacker-planted SSH keys, since patched hosts stayed accessible via stolen secrets.

more in playbook: Securing agents and AI tools
by read5 min views4 publishedNov 30, 2026

A React flaw patched in December 2025 fueled a mass credential theft campaign 11 months later. CloudSEK's November 30, 2026 report on React2Keys describes more than 50,000 stolen credentials and 19,000+ victims. It associates the activity with over 400 organizations. BleepingComputer describes the 19,000 figure as hosts and dates the campaign to November 9 to 19.

The stolen data includes AI, cloud, database, payment, registrar and cryptocurrency credentials. The operator also planted an SSH public key on compromised systems. A server can therefore be patched against React2Shell and still be open to the attacker, while credentials already taken from it may still work elsewhere.

This post draws on CloudSEK's report, BleepingComputer's coverage, and the React and Next.js advisories.

React2Shell is tracked as CVE-2025-55182 and carries a CVSS score of 10.0. It allows unauthenticated remote code execution. React disclosed it on December 3, 2025. The flaw affects versions 19.0, 19.1.0, 19.1.1 and 19.2.0 of three packages: react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack.

CloudSEK says the React2Keys exploit needs one unauthenticated POST to any route that can reach a Server Action. The request's multipart body carries a crafted React Flight object. Prototype pollution then leads to JavaScript execution inside the Node.js process. Command output returns in the digest field of a thrown error. If the application redirects the request, the exploit sends the body again at each hop.

The operator polled six public Certificate Transparency logs every three minutes, so a newly issued certificate could quickly put a domain in the scanning queue. The tooling deduplicated results by registrable domain, then fingerprinted the sites for Next.js. About 3% passed that filter.

The scanner ran 60 concurrent probes with TLS verification disabled. A separate module looked for origin servers behind Cloudflare, and the credential collection routine retried when Cloudflare blocked it. CloudSEK also found a bundle for a fleet of virtual machines that held 1,483,686 additional target lines across 297 files. Those lines are targets, not confirmed victims.

React2Shell was not the toolkit's only exploit. It also had an Odoo mode for CVE-2026-25137 and a WordPress chain using CVE-2026-63030 and CVE-2026-60137. The WordPress results were limited: 4 of 2,939 scanned hosts were confirmed vulnerable.

After gaining execution, the tooling identified its environment, including Kubernetes pods, AWS Lambda, ECS Fargate, PM2 and generic containers. It searched environment variables, .env files, cloud credential files, SSH keys and Kubernetes service account tokens. A server-side filter kept values that looked like keys. CloudSEK documented several routes beyond the host:

These routes extend the impact beyond the web application. A workload identity can expose cloud resources, Git history can hold old secrets, and one gateway credential can open a larger store. CloudSEK does not say that every route succeeded at every victim.

The operation scored secrets by estimated monetary value and tested them in priority order, with a limit of 10 probes per host. Results fell into seven states: live, no credit, quota capped, organization disabled, workspace scoped, dead or rate limited. CloudSEK found 225 captured AWS STS session credential files and says they show that validation ran in near real time.

AI accounts were a clear target. The tooling tested OpenRouter access against four Claude models and checked Claude deployments in Azure AI Foundry. It refreshed stolen Claude Code OAuth tokens and ran inference billed to victims. Some OpenAI Codex validation requests ran from inside the victim's network. The operator also used stolen AWS credentials to submit a Bedrock use-case form.

Cryptocurrency checks covered 11 exchanges, and signed Binance requests were routed through Tor. Stolen cloud access also supported more scanning, including an AWS Lambda worker running in an account accessed with stolen credentials.

⚠️ Patching does not remove the SSH key — CloudSEK says the actor appended its SSH public key to authorized_keys and treats that key as a confirmed indicator of compromise. Its Sigma rule includes the bluelocale-foothold marker. The actor also built a 74-entry lateral movement list from harvested SSH credentials, but CloudSEK did not confirm that a separate stage used it.

React's RCE fixes are in 19.0.1, 19.1.2 and 19.2.1. The original Next.js fixes are 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7 and 16.0.7 for their respective release lines. The Next.js advisory covers App Router applications on 15.x, 16.x, and 14.3.0-canary.77 and later canaries. It lists stable 14.x, 13.x, Pages Router applications and the Edge Runtime as unaffected by this RCE.

Those versions are the minimum for the RCE, not the latest security baseline. React and Next.js both say the React2Shell patch remains effective. Separate denial-of-service and source code exposure flaws required later updates, and one early denial-of-service fix was incomplete. React's January 26, 2026 update lists 19.0.4, 19.1.5 and 19.2.4 as the fixed versions for those follow-up issues. Next.js has its own later security releases.

CloudSEK's response guidance goes beyond patching. It calls for rotating every credential on an affected host, auditing SSH access and cron, and reviewing cloud identity activity and AWS CloudTrail. Next.js had already strongly encouraged secret rotation for applications that were online and unpatched as of December 4, 2025 at 1:00 PM PT.

Old exposure can outlast the fix — A current package version shows the state of the software today. It does not show whether the application was exploited before the update, which secrets were readable then, or whether those secrets still work. CloudSEK also offers a React2Keys exposure lookup. The material reviewed does not establish that a negative result rules out compromise.

CloudSEK says it engaged with the adversary and its infrastructure. It recovered a 1.9-million-line exfiltration log, per-victim result folders, scan databases and a toolkit of more than 900,000 files. That supports a detailed view of the operation, but the headline numbers need care. CloudSEK's title counts 19,000+ victims, while BleepingComputer counts at least 19,000 hosts. Neither should be read as 19,000 separate companies. The report text we reviewed also gives no total for credentials confirmed live, so the 50,000+ figure should not be read as 50,000 working keys.

The report text names no threat actor. Earlier React2Shell exploitation by China-linked groups does not tie them to React2Keys. The "AI-powered" label also needs context. The report documents theft, testing and abuse of AI service access. A .hermes/skills import path hints at an AI agent framework, but the text does not identify a model that ran the intrusions. CloudSEK's statement about automation with AI assistance refers to its own mapping work.

Originally published on RedEye Threat Intelligence.

── more in #ai-safety 4 stories · sorted by recency
── more on @cloudsek 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/react2keys-10-day-re…] indexed:0 read:5min 2026-11-30 · —