React2Keys stole 50,000 credentials — the loot list was your .env
CloudSEK traced 50k+ credentials from 19,000 hosts at 400 organisations to the year-old React2Shell bug — automated, unpatched fleets, and AI keys first.
A campaign called React2Keys spent ten days walking through Next.js deployments and came out with more than 50,000 credentials from over 19,000 hosts across roughly 400 organisations. That is CloudSEK's count, and the taxonomy is the story: AI API keys, cloud tokens, database passwords, payment credentials, crypto keys. The bug it used — CVE-2025-55182, React2Shell — was a pre-auth RCE in React Server Components with fixed versions published long ago. The harvest did not defeat the patch. It found the fleets that never applied it.
What bug did it ride?
React2Shell is an unsafe-deserialization flaw in the React Server Components "Flight" protocol — the wire format RSC uses to stream UI and data. Versions 19.0.0, 19.1.0, 19.1.1 and 19.2.0 are vulnerable; the fixes landed in 19.0.1, 19.1.2 and 19.2.1. Next.js ships RSC, so a Next.js app on an unpatched React 19 line exposed a pre-authentication remote-code-execution endpoint to the internet. CloudSEK assesses the campaign automated its exploitation with AI — the scanner wrote the exploits, ranked the targets and swept on schedule.
Why did AI keys top the loot list?
Because of what production .env files have become. A typical AI-era deployment carries provider keys that are pure liquidity: no fence, no ledger, a straight drain of prepaid inference. The React2Keys haul — AI API keys ahead of payment credentials — says the market for your inference budget is now the most liquid in the breach economy. This page's neighbour tonight tells the same story from the victim's side: one team watched $80K of unauthorised inference burn on keys leaked in a platform incident. Env files used to hold passwords; now they hold spending authority.
| RSC version | Status | Exposure |
|---|---|---|
| 19.0.0 / 19.1.0 / 19.1.1 / 19.2.0 | vulnerable | pre-auth RCE via Flight protocol |
| 19.0.1 / 19.1.2 / 19.2.1+ | fixed | patch published before the campaign |
- Scan. Automated fingerprinting of RSC/Next.js hosts at scale.
- Exploit. The deserialization flaw hands over pre-auth code execution.
- Harvest. Grep the environment: provider keys, cloud tokens, database DSNs.
- Drain. Keys get spent immediately — inference budget converts to attacker budget.
The patch was a version number away for a year. The campaign needed ten days.
What should you actually do?
The inventory beats the panic. Check what your RSC line runs — npm ls react is one command — and if it lands on a vulnerable version, upgrade today; the fix is a minor bump, not a migration. Then treat the environment file as a liability register: keys there should be scoped, rotatable and cheap to revoke, because the React2Keys haul proves the assumption that they will leak. AI provider keys deserve the same per-key spend caps you would give a corporate card.
the radar reads hundreds of sources so you don't have to — the feed · the digest, nightly 21:00