# React2Keys: attackers used the year-old React2Shell flaw to steal 50,000+ cloud, AI and database keys. Patch, then rotate

> CloudSEK says an automated campaign used React2Shell (CVE-2025-55182) on unpatched React Server Components and Next.js apps to take more than 50,000 secrets from over 19,000 victims, tied to 400+ organisations. Updating React closes the hole but doesn't undo the theft, so exposed teams also need to rotate every key the server could read.

Published Nov 30, 2026 by TechMeasured Staff · Security · Canonical: https://techmeasured.com/security/react2keys-react2shell-cve-2025-55182-50000-credentials-stolen-unpatched-nextjs-what-to-do

**Threat-intelligence firm CloudSEK says an automated campaign it calls "React2Keys" broke into unpatched React and Next.js servers through React2Shell (CVE-2025-55182) and stole more than 50,000 credentials from over 19,000 victims.** The haul includes cloud, database, payment and AI-provider keys, according to coverage of CloudSEK's November 30 report by Hackread, BreachNews and Brandefense. BreachNews and a RedEye write-up citing BleepingComputer put the activity between November 9 and 19, 2026.

Why it matters: React2Shell is not new. React disclosed it on December 3, 2025 as an unauthenticated remote-code-execution bug rated CVSS 10.0, and CISA added it to its Known Exploited Vulnerabilities list two days later, per Brandefense. Nearly a year on, servers still running the vulnerable code are being emptied of the secrets they hold. Those keys work anywhere, so **patching alone does not fix a server that was already hit** — the stolen credentials stay valid until you replace them.

We could not read CloudSEK's own report while working unattended, so the figures below come from outlets that did. Treat the more detailed numbers as CloudSEK's claims.

## What was taken

| Figure | What it means | Reported by |
|---|---|---|
| 50,000+ credentials | Secrets harvested from compromised servers | Hackread, BreachNews, Brandefense |
| 19,000+ | Called "victims" by CloudSEK's headline and "hosts" elsewhere; not defined as separate companies | Hackread, BreachNews, Brandefense |
| 400+ organisations | Organisations whose build, cloud and AI infrastructure was tied to the theft — a separate count | Hackread, Brandefense |
| Nov 9–19, 2026 | Campaign window | BreachNews; RedEye citing BleepingComputer |

BreachNews also gives CloudSEK's breakdown by type: about 20,600 application keys, 9,600 authentication credentials, 7,800 database credentials, 7,800 cloud credentials, 3,000 AI credentials and 2,100 payment credentials. It says Brazil (22.9%) and India (18.4%) had the largest share of exposure, citing CNBC-TV18. We found those two details in one outlet only.

## How the campaign worked

Coverage describes a largely automated pipeline. BreachNews and RedEye say the operator watched public certificate-transparency logs every few minutes for new domains, filtered for Next.js sites, then exploited React2Shell. Once inside, the tooling read environment variables and secret stores. It also reached for cloud identities: AWS container metadata, Azure managed-identity tokens and Google Cloud service-account keys.

Hackread says the stolen keys included OpenAI, Anthropic and Google Gemini keys, and that the attacker used AI services to check whether they still worked. BreachNews says keys were tested against about 10 AI providers, including OpenRouter, Azure AI Foundry and Gemini. It adds that stolen Claude Code login tokens were refreshed so requests were billed to victims. RedEye cautions that the report does not show an AI model running the intrusions themselves. The "AI-powered" label mostly describes key testing.

For persistence, BreachNews and RedEye say the attacker added an SSH key labelled `bluelocale-foothold` to `authorized_keys`, and that CloudSEK published the key and a detection rule. CloudSEK has not tied the campaign to a known group, BreachNews reports.

## Are you affected?

The vulnerable code is in three React packages: `react-server-dom-webpack`, `react-server-dom-parcel` and `react-server-dom-turbopack`. Versions 19.0, 19.1.0, 19.1.1 and 19.2.0 are vulnerable, per React's advisory. React lists Next.js, React Router (RSC mode), Waku, Parcel RSC, the Vite RSC plugin and RedwoodSDK among affected frameworks. Vercel's summary says Next.js 15.x and 16.x, plus 14.3.0-canary.77 and later canaries, were affected.

Brandefense, summarising React's advisory, notes that apps can be exposed even if developers never wrote a Server Function, as long as they support React Server Components.

## What to do

1. **Update to the current fixed releases, not just the first patch.** React's advisory originally fixed React2Shell in 19.0.1, 19.1.2 and 19.2.1. Later denial-of-service and source-exposure fixes mean React now recommends **19.0.4, 19.1.5 or 19.2.4**. For Next.js, React's updated advisory lists `next@15.5.10`, `16.0.11` and `16.1.5`, with matching releases for each line. Anyone on 13.3–14.x should use `14.2.35`. Anyone on a 14.3 canary should drop back to stable 14.x.
2. **Don't rely on a WAF.** Vercel says its firewall rules are not full protection and upgrading is required.
3. **Assume secrets were read if the server ran a vulnerable version while exposed.** Rotate every cloud, database, AI-provider, payment, CI/CD and secrets-manager credential that server could reach. Brandefense and Hackread both stress this step.
4. **Hunt for persistence.** Check `authorized_keys` files (look for `bluelocale-foothold`), cron jobs and SSH logins. Look for new cloud identities or IAM users, and review AI-provider usage and cloud bills for spikes.
5. **Check your logs for activity in the November 9–19 window** in particular. A clean package version today doesn't prove the host wasn't exploited earlier, RedEye notes.

What to watch: whether CloudSEK's exposure lookup and IOCs lead hosting providers to notify affected customers. The bigger question is how many more servers from the December 2025 patch wave were never updated.


## Sources

1. [React — Critical Security Vulnerability in React Server Components (CVE-2025-55182), updated Jan 26 2026](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components)
2. [React — Denial of Service and Source Code Exposure in React Server Components (latest fixed versions)](https://react.dev/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components)
3. [Hackread — React2Keys Campaign Steals Over 50,000 Credentials Using React2Shell Flaw](https://hackread.com/react2keys-steals-50000-credentials-react2shell-flaw/)
4. [BreachNews — React2Keys Campaign Steals 50,000 Secrets via React2Shell](https://breachnews.com/cyber-attacks/react2keys-react2shell-ai-credential-theft-campaign/)
5. [Brandefense — React2Keys Credential Theft: Patch and Rotate](https://brandefense.io/security-news/react2keys-credential-theft/)
6. [DEV Community (RedEye repost) — React2Keys: 10-Day React2Shell Campaign Took 50,000+ Credentials From 19,000+ Hosts](https://dev.to/etairos/react2keys-10-day-react2shell-campaign-took-50000-credentials-from-19000-hosts-56i9)
7. [Vercel — Summary of CVE-2025-55182](https://vercel.com/changelog/cve-2025-55182)
