React2Keys: an automated campaign used the year-old React2Shell flaw to steal more than 50,000 secrets from Next.js servers, including AI and cloud keys; patching is not enough, rotate every secret (CVE-2025-55182)
CloudSEK reported on 30 November 2026 a fully automated campaign it calls React2Keys. Between 9 and 18 November it exploited React2Shell (CVE-2025-55182, CVSS 10.0, fixed in December 2025) on more than 19,000 Next.js hosts, read their environment variables and secret files, and took more than 50,000 credentials, from AI provider keys to cloud, database and payment keys. It also left its own SSH key behind. What to patch, what to rotate and what to check.
How urgent
Act now
Who is affected
Apps that use React Server Components, mainly Next.js 15.x and 16.x with the App Router (and 14.3 canaries), still running a React or Next.js version from before the December 2025 fixes. Pages Router apps, Next.js 13.x and 14.x stable, and React apps without a server are not affected by this flaw
What to do
Update React Server Components packages to 19.0.1, 19.1.2 or 19.2.1 or later and Next.js to the patched release of your line; then rotate every secret the server could read (AI, cloud, database, payment keys), check authorized_keys, cron jobs and SSH logins for anything you did not add, and review cloud and AI account logs
Published 1 Dec 2026 · Sources last checked 1 Dec 2026No. 145 / 168
Watch the short video
The video loads from YouTube (privacy-enhanced mode) only when you press play.
What happened
On 30 November 2026 the research firm CloudSEK published what it calls React2Keys: a fully automated campaign that exploited React2Shell (CVE-2025-55182) on internet-facing Next.js servers. React2Shell is a critical flaw (CVSSCVSS score A number from 0 to 10 that rates how serious a flaw is in general. From 9.0 up it is called Critical. Tap again to open the glossary 10.0) in React Server Components that lets anyone run code on the server without logging in. React fixed it on 3 December 2025, and CISA added it to its catalog of exploited flaws on 5 December 2025. A year later, many servers were still unpatched.
According to CloudSEK, the campaign scanned from 9 November, exploited servers in bulk until 18 November, and took more than 50,000 credentials from more than 19,000 Next.js hosts; more than 400 organizations had cloud, CI/CD or AI infrastructure compromised.
What it took
Once inside, the code read environment variables and secretSecret (API key, token, password) Any piece of text that proves to a service that you are allowed in, such as an API key, a database password or an access token. Tap again to open the glossary files (including .env-style files) and moved on to cloud accounts and databases. CloudSEK lists AI provider keys (Anthropic, OpenAI, Google Gemini), AWS, Azure and GCP credentials, Kubernetes tokens, database and Firebase keys, payment, messaging and crypto exchange keys, and git archives. It says the operation checked which stolen keys worked and ranked them by value.
Why patching alone is not enough
CloudSEK says the attackers added their own SSH key to the servers' authorized_keys, so they keep access after you update. And every secret the server could read must be treated as stolen. Next.js already advised in December 2025 to rotate application secrets if a server stayed online unpatched.
What to do
- Update: React Server Components packages to 19.0.1, 19.1.2 or 19.2.1 or later; Next.js to the patched release of your line (React's updated post lists 14.2.35, 15.0.8, 15.1.12, 15.2.9, 15.3.9, 15.4.11, 15.5.10, 16.0.11 and 16.1.5). Next.js offers
npx fix-react2shell-nextto do it. - Rotate every secret the server could read: AI, cloud, database, payment and messaging keys.
- Check for persistence: unknown keys in
authorized_keys, new cron jobs, unexpected SSH logins. - Review logs of your cloud and AI accounts (for example CloudTrail and your AI provider's usage) for activity since early November.
- Going forward (our advice and CloudSEK's): run apps as a non-root user and give each app only its own secrets.
What we could not confirm
The victim counts come from CloudSEK's analysis of the attackers' logs and tools; we cannot check them, and CloudSEK sells security services. It names affected organizations; we do not repeat them. CloudSEK also offers its own exposure checker; we have not tested it. We do not know who runs the campaign.
Related
Glossary: vulnerabilityVulnerability A weakness in software, a setting or a process that an attacker could use to get in or do harm. Tap again to open the glossary, patchPatch (security update) A fix released by the maker of a piece of software to close a flaw or a bug. Tap again to open the glossary, secret. See also our free tool trust check.
Keep reading
More stories on the same topic or from the same area.
- Microsoft's agent-framework package on PyPI was hijacked: versions 1.26.1 and 1.26.2 steal cloud and CI credentials; go back to 1.26.0 and rotate every secret they could reachAct now 22 Nov 2026
- Check Point firewall management servers were broken into at 22+ organizations, and the campaign is still active (CVE-2026-16232): install the hotfix, close the management port and check your audit logsAct now 25 Nov 2026
- React Server Components has a new critical flaw that lets an unauthenticated attacker run code: update react-server-dom-* to 19.0.9, 19.1.10, 19.2.9 or 19.3.1Act now 10 Nov 2026
Comments
No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.
We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.
Sources and verification
- CloudSEK, React2Keys: React2Shell exploitation and AI-powered credential theft (30 Nov 2026, vendor research; read 1 Dec 2026) (opens in a new tab)
- React team, Critical security vulnerability in React Server Components (3 Dec 2025, updated 26 Jan 2026; official; read 1 Dec 2026) (opens in a new tab)
- Next.js, Security advisory for the React Server Components flaw (3 Dec 2025, updated 6 Dec 2025; official; read 1 Dec 2026) (opens in a new tab)
- CISA Known Exploited Vulnerabilities catalog (CVE-2025-55182 added 5 Dec 2025; catalog read 1 Dec 2026) (opens in a new tab)
- SecurityWeek, React2Keys campaign steals 50,000 credentials via React2Shell exploitation (1 Dec 2026, press report; read 1 Dec 2026) (opens in a new tab)
We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.
Spotted a mistake? Email [email protected] and we will correct it and note the change.