React2Keys Campaign: CVE-2025-55182 Credential Theft

2 views 4 minutes read

The React2Keys campaign is an automated operation that exploited the React2Shell flaw, CVE-2025-55182, to steal more than 50,000 credentials from over 19,000 victims, according to CloudSEK’s research. The researchers recovered the attacker’s exfiltration log and toolkit, which gave an unusually clear view of how the operation worked.

The stolen material goes well beyond passwords. It includes cloud keys, AI platform keys, database credentials, payment and registrar secrets and crypto exchange keys. The attacker also planted an SSH key on compromised hosts, so applying the patch does not remove access.

Teams that run Next.js or other React Server Components applications should pay attention, especially if any server stayed unpatched after December 2025. Anyone who stores secrets in environment variables on those hosts should assume exposure until proven otherwise.

React2Keys Campaign: Key Takeaway

  • The React2Keys campaign shows that patching a critical flaw late is not enough, because credentials and SSH keys stolen in the gap stay valid until you rotate them.

Find unpatched systems faster. Tenable provides vulnerability management, which helps teams locate exposed software and track patching across their environment.

Get help when credentials leak. CrowdStrike provides AI native cybersecurity software and incident response services for investigating and containing intrusions.

What Happened: An AI Assisted Credential Harvest

CloudSEK describes React2Keys as a fully automated operation that used AI tools to help with validation and inference. The company’s report says it recovered material from the attacker’s infrastructure, including 1.9 million lines of exfiltration logs, per victim result folders and a toolkit of more than 900,000 files. BleepingComputer’s coverage says the activity ran for about ten days, from November 9 to 19, and touched roughly 400 organizations. The CloudSEK text available for this article does not restate that window, so treat it as a figure reported by BleepingComputer.

The two outlets use slightly different wording for the scale. BleepingComputer refers to 19,000 hosts, while CloudSEK’s title refers to more than 19,000 victims. Both put the number of organizations at about 400.

How the attacker found targets

CloudSEK says the scanner polled six public Certificate Transparency logs every three minutes. These logs record newly issued TLS certificates, so a freshly registered website shows up quickly. About 3% of the deduplicated domains matched a Next.js fingerprint and moved on to further probing.

The vulnerability behind it

React2Shell is tracked as CVE-2025-55182 and carries a CVSS score of 10.0, according to the React team’s advisory. The flaw affects React Server Components packages in versions 19.0, 19.1.0, 19.1.1 and 19.2.0. Fixes shipped in 19.0.1, 19.1.2 and 19.2.1. The Next.js team tracks the downstream impact as CVE-2025-66478 in its security advisory, which also rates it CVSS 10.0 and says upgrading is required because no workaround exists.

Attribution

CloudSEK names no actor. BleepingComputer mentions China linked exploitation of React2Shell in late 2025, but that refers to earlier, separate activity and is not attribution for React2Keys.

How the React2Keys Attack Chain Works

CloudSEK’s report describes a repeatable sequence:

  1. The attacker sends one unauthenticated POST request to a route reachable through Server Actions, using a crafted multipart body and a weaponized React Flight object.
  2. Prototype pollution leads to code execution inside the Node.js process, and output returns inside the digest field of a thrown error.
  3. The script fingerprints the runtime, such as a Kubernetes pod, AWS Lambda, ECS Fargate or PM2, and reads environment variables, .env files, cloud credential files, SSH keys and Kubernetes service account tokens.
  4. It pivots into cloud accounts using AWS metadata and EKS Pod Identity or IRSA token exchange, Azure managed identity tokens, and Google Cloud tokens derived from service account keys.
  5. It installs database drivers at runtime for PostgreSQL, Redis and MongoDB, and copies full git archives.
  6. It appends the attacker’s SSH public key to authorized_keys for persistence.

The report also says the attacker sorted stolen AI keys into seven states, such as live, quota capped or organization disabled, and tagged crypto keys as spendable or not. Stolen Claude Code OAuth tokens were used and billed to victims, and the toolkit tested roughly ten LLM providers. CloudSEK also notes related activity against an Odoo flaw and a WordPress chain, in which 4 of 2,939 scanned hosts were confirmed vulnerable.

Who Is Affected

Any organization running a vulnerable React Server Components or Next.js App Router application that was reachable from the internet is in scope. CloudSEK says victims span dozens of countries and several cloud providers, from enterprise infrastructure to small businesses.

The secrets at risk are the ones available to the server process: cloud provider keys, AI provider keys, GitHub tokens, database credentials, registrar and payment secrets, and wallet keys. Hosts that held a secrets manager gateway credential carry added risk, because CloudSEK says one such credential was used to pull every secret from a third party secrets manager.

Steps Administrators Can Take

The following steps come from CloudSEK’s remediation list unless marked otherwise:

  • Check exposure with the checker CloudSEK links in its report.
  • Upgrade React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later, and move Next.js to a release patched for CVE-2025-55182. CloudSEK states that patching alone is not sufficient.
  • Rotate every secret on affected hosts, including cloud, AI, database, registrar, payment, messaging and secrets manager credentials.
  • Audit every authorized_keys file for unknown keys, and review cron jobs and SSH logins.
  • Review Kubernetes service account, EKS Pod Identity, IRSA and Azure managed identity activity, even if no static keys were found.
  • Audit CloudTrail, cloud audit logs and AI platform usage for unusual calls, new IAM users, Bedrock model access changes and unexpected instances.
  • Reduce blast radius by running applications without root privileges and isolating secrets per application.

General hardening ideas that are not statements from the sources: keep an inventory of internet facing Node.js applications, and alert on new SSH keys appearing in production hosts. Our earlier piece on infostealer malware explains how stolen credentials get monetized.

Implications

Patching is only half of recovery

The attacker kept access through stolen credentials and a planted SSH key. A server patched on time after exposure can still hand an attacker working cloud access.

AI platform keys are now targets

Stolen LLM provider keys let attackers run models at the victim’s expense and test further access. Billing alerts and usage anomaly alerts for AI accounts deserve the same attention as cloud compute alerts.

Short lived credentials limit damage

CloudSEK recommends scoping IAM roles tightly and isolating per app secrets. The same lesson appears in other credential theft cases, such as the Salesloft Drift breach, where stolen tokens opened access to many downstream environments.

Keep compliance work on track. CyberUpgrade offers cybersecurity compliance and management, which can help teams document credential rotation and access reviews.

Looking Forward

CloudSEK recovered the attacker’s logs and toolkit, but the report names no operator and does not say whether the activity has stopped. The attacker’s scanning list, which CloudSEK says contained more than 1.4 million extra target lines, suggests the operation could continue against other hosts.

Still unknown: the full list of affected organizations, whether any stolen cloud or crypto access was used for further theft, and who runs the campaign. Defenders should expect more tooling that pairs a known critical flaw with automated secret validation.

Questions Worth Answering

What is the React2Keys campaign?

  • It is an automated campaign described by CloudSEK that exploits React2Shell to steal credentials from servers and validate them with AI services.

What is CVE-2025-55182?

  • It is the React2Shell flaw in React Server Components, rated CVSS 10.0 in the React team’s advisory.

How many credentials did React2Keys steal?

  • CloudSEK reports more than 50,000 credentials from over 19,000 victims across about 400 organizations.

Which versions are fixed?

  • React fixes are in 19.0.1, 19.1.2 and 19.2.1, and Next.js published patched releases listed in its advisory for CVE-2025-66478.

Is patching enough to stop React2Keys?

  • No, because the attacker planted an SSH key and stole credentials that remain valid after patching.

What kinds of secrets were stolen?

  • They included cloud keys, AI provider keys, GitHub tokens, database credentials, registrar and payment secrets and crypto exchange keys.

Who is behind the campaign?

  • CloudSEK names no actor, and attribution has not been published.

How did the attacker find vulnerable servers?

  • The scanner watched Certificate Transparency logs for new domains and probed those that looked like Next.js sites.

What should I rotate first?

  • Start with cloud, AI provider, database and secrets manager credentials found on any exposed host, then review SSH keys.

More tools worth a look: 1Password for logins, Optery for personal data removal and EasyDMARC for spoofed email.

Leave a Comment

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list for the latest news and updates.

You have Successfully Subscribed!

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More