Automated attacks used React2Shell to steal 50,000 credentials

Automated React2Keys attacks used React2Shell to steal 50,000 credentials from 400 organisations

From the HARD Situation Room · First reported
By Mitchell Flindell, founder of HARD
Share Email X Facebook
Automated attacks used React2Shell to steal 50,000 credentials: update Next.js and React to a patched release
High software flaw: who’s affected and what to do, reported 1 Dec 2026.
nextjs.org: Security Advisory: CVE-2025-66478
Screenshot: nextjs.org

Automated attacks used React2Shell (CVE-2025-55182), a critical flaw in React Server Components, to steal credentials from Next.js apps that had not been patched. Researchers at CloudSEK, who named the campaign React2Keys, say more than 50,000 credentials were taken from at least 19,000 hosts across 400 organisations between 9 and 19 November. Next.js says there is no workaround, so the fix is a patched release.

Does this affect your devices? HARD for Mac and iPhone matches what you have installed against these stories, privately on your device, and explains why you need to update, while the free browser extension stops scams and fake sites before they load.

Current event.First reported 1 Dec 2026. Details may change as more becomes known; updates will be added to the timeline.

What to do this week

  1. Find every Next.js app you run or depend on.Ask your developers or hosting company for the list, then check the Next.js version in each project's package.json file. Vercel's tool fix-react2shell-next can check versions and make the update. Run npx fix-react2shell-next from the project folder.
  2. Update Next.js and React to a patched version, then redeploy.For Next.js, use 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7 or 16.0.7, or a later patch in the same line. For the React server packages, use 19.0.1, 19.1.2 or 19.2.1 or later. Next.js says there is no workaround, so the update is the fix.
  3. Rotate the secrets for any app that was online and unpatched on 4 December 2025.Do this after the update and redeploy, as Next.js advises. Change cloud access keys, AI API keys, GitHub tokens, database passwords and any crypto keys the app could read.
  4. Look for SSH keys you did not add.On each server the app ran on, open the file called authorized_keys for every user account. Remove any key you do not recognise, then check the login records for that account.
  5. Check cloud, AI and database activity for things you did not start.Review cloud audit logs, AI provider usage and bills, and database login records. CloudSEK's window is 9 to 19 November, but check back to when each app was first online and unpatched.
  6. Ask your developer or host for the answers in writing.Ask which Next.js and React versions run in production, the date each was updated, and whether the secrets were rotated.

What happened

Automated attacks used a flaw in React, the software behind many modern websites, to steal more than 50,000 credentials from at least 19,000 hosts (machines that serve websites or apps). Researchers at CloudSEK, who named the campaign React2Keys, say it hit 400 organisations over ten days, from 9 to 19 November. The flaw itself was disclosed about a year earlier, in December 2025, so the fix has been available for a long time. The work now falls to whoever builds and runs the affected apps.

React2Keys campaignCVE-2025-55182 (React2Shell)
Severity
High Critical flaw, CVSS score 10.0, on CISA's list of flaws under active attack.
Scale
More than 50,000 credentials, at least 19,000 hosts, 400 organisations
Window
9 to 19 November 2026, according to CloudSEK
Fixed in
Next.js 15.0.5 to 16.0.7 (by release line); React 19.0.1, 19.1.2 and 19.2.1
Workaround
None. Update, redeploy, then rotate secrets.
What's known.Campaign figures from BleepingComputer, citing CloudSEK. Fixed versions from the Next.js and React advisories.

The flaw is called React2Shell, and its number is CVE-2025-55182. It sits in React Server Components, a feature that lets React code run on the server rather than in the visitor's browser. Its severity score is 10.0 out of 10. An attacker who reaches an unpatched server can run their own code on it, and no login is needed. React and Next.js published fixes on 3 December 2025. Our CVE-2025-55182 page tracks the flaw, and CISA, the US cybersecurity agency, added it to its list of flaws under active attack on 5 December 2025.

The attackers automated the work from start to finish. BleepingComputer reports[1] that AI tools helped check whether each stolen key still worked, rank the keys by estimated value, and flag crypto keys that could move funds. Researchers recovered a log of 1.9 million lines and a toolkit of more than 900,000 files, which showed what was taken from each victim. The same article says China-linked hackers began exploiting the flaw within hours of its disclosure in December 2025.

The full story2 more sections

Who is affected

If you build or run a website or app with Next.js, this is yours to act on. That includes a small business's booking system, a client portal a developer built for you, or an internal tool your IT team hosts. Check the Next.js version first. Next.js 15 and 16 are affected until they run a patched release, and so are canary builds (test releases) from 14.3.0-canary.77 onward. Next.js says[2] that stable Next.js 13 and 14, apps on the Pages Router and apps on the Edge Runtime are not affected.

Next.js also advises that any app that was online and unpatched as of 4 December 2025 at 1pm Pacific should have its secrets rotated, starting with the most critical. A secret is any password, key or token an app uses to reach another system.

What the attackers took

BleepingComputer lists[1] the kinds of secrets the campaign went after. They include cloud access keys for Amazon Web Services, Microsoft Azure and Google Cloud, and API keys (passwords for a service) for Anthropic, OpenAI and Google Gemini. They also include OAuth tokens (login passes) for Claude Code, which the attacker used to run AI requests billed to the victim. The list continues with GitHub access tokens, passwords for PostgreSQL, Redis and MongoDB databases, and crypto exchange keys and wallet private keys.

In some cases the attacker planted an SSH key, a login key that opens a server without a password, to keep access. Stolen cloud access then helped the attacker reach further into accounts, databases, code repositories and secrets managers.

Patching does not undo the theft. CloudSEK warns that stolen credentials and planted SSH access can stay usable after the flaw is fixed. That is why the rotation step below matters as much as the update.

Timeline
  1. HARD publishes its article, at High.

Share Email X Facebook

Written by Mitchell Flindell, founder of HARD. How we check our stories. Spotted a mistake? Tell us.

Latest from HARD

References5
  1. ^ BleepingComputer (). “AI-powered React2Keys campaign steals secrets from 400 organizations”. Campaign name, 50,000 credentials, 19,000 hosts, 400 organisations, 9 to 19 November window, secret types, AI use, persistence, CloudSEK as finder.
  2. ^ Next.js (Vercel) (). “Security Advisory: CVE-2025-66478”. Affected and unaffected Next.js ranges, fixed versions per line, no workaround, secret rotation advice (updated 6 Dec 2025).
  3. React (). “Critical Security Vulnerability in React Server Components”. CVE-2025-55182, CVSS 10.0, fixed React 19.0.1, 19.1.2, 19.2.1; follow-up CVEs listed (page updated 26 Jan 2026).
  4. Dark Reading (). “'React2Keys' Campaign Plunders Org Credentials via React2Shell”. Feed summary only: cloud, AI and CI/CD systems, 400-plus organisations. Article page returned HTTP 403 and was not read.
  5. The Hacker News (). “Critical React2Shell flaw added to CISA”. CISA added CVE-2025-55182 to its Known Exploited Vulnerabilities catalog on 5 December 2025. Seen in a search snippet only; the article was not opened.

Situation Room articles are updated as events develop: updates are added to the timeline, and never edited away. Follow them by email or RSS.