React2Keys Campaign Harvests 50,000 Secrets via React2Shell Flaw

A sweeping credential-stealing campaign dubbed React2Keys has exploited the critical React2Shell vulnerability (CVE-2025-55182) to amass over 50,000 credentials across more than 19,000 compromised servers. Adversaries snatched sensitive data including cloud keys, database passwords, AI tokens, payment-system credentials, and access to domain registrars and crypto platforms.

From React2Shell Exploit to Weaponized Toolkit

The breach targets internet-facing applications built on React Server Components—especially Next.js installations. The exploited vulnerability enables attackers to execute code on servers without legitimate login credentials. Even applications not explicitly using React Server Functions can still be at risk if they use React Server Components in certain configurations.

After gaining access, attackers scoped out environment variables and configuration files where application secrets tend to reside. Their toolkit didn’t stop there: temporary cloud credentials, which are often spun up to grant transit access without permanent keys, also became a target. Platforms impacted include AWS, Azure, and Google Cloud, and data stores such as PostgreSQL, Redis, and MongoDB were among those exposed. AI service providers including OpenAI, Anthropic, and Google were used to test stolen keys, filtering out invalid or disabled ones to maximize usable yield.

The Scope of Impact: Victims, Infrastructure, and Scale

CloudSEK’s threat intelligence analysis uncovered over 400 organizations with compromised software, cloud, or AI infrastructure. These spanned both major enterprises and smaller operations across multiple countries and cloud providers—there was no single sector singled out. More than 19,000 servers were compromised in total, but the 50,000 figure reflects individual credentials, not affected companies or people.

The attacker infrastructure included a massive data haul: a 1.9-million-line log of stolen credentials; folders organized per victim; and a toolkit with over 900,000 files. The operator tested each credential’s value by checking if it was active, still in use, rate-limited, disabled, or depleted. In an escalation of risk, evidence shows an attacker used one victim’s stolen vault credential to unlock additional secrets elsewhere.

Patching Isn’t Enough: What Organizations Must Do

Fixing React2Shell by upgrading React and Next.js to versions patched in the official release branch is essential, but it’s only the beginning. Any credentials that could have been exposed—including AI keys, payment tokens, database logins, or any that allow service access—should be revoked and replaced. In many cases, attackers already inserted SSH keys for backup access or manipulated provisioning scripts to perpetuate control.

Incident responders are advised to audit cloud logs, AI billing and usage records, repository access, and authorized SSH keys—especially the ~/.ssh/authorized_keys file—for unusual entries. Microsoft, among others, has published detailed mitigation guidance around cloud identity token exposure and SSH key planting. Additionally, tools like CloudSEK’s exposure checker lets organizations verify whether their domain or corporate emails showed up in the campaign’s findings, but this is only a first glance—not a substitute for detailed host and infrastructure audits.

Below are crucial indicators of compromise (IoCs): researchers noted an Ed25519 SSH public key tagged “bluelocale-foothold” that shows up in compromised accounts’ authorized_keys. Such entries are strong evidence of post-exploit persistence mechanisms being put in place.

What Makes React2Keys Distinct

Unlike past breaches with narrower targets, React2Keys appears designed to harvest any exposed, vulnerable system rather than go after specific industries. The breadth of credentials in play—AI, cloud, database, payment, crypto—reflects an expanding attack surface as modern applications stitch together multiple services with varying access models.

React2Shell has already been catalogued by major agencies since December 2025 following reports of active exploitation. But the scale of this campaign—quality and quantity of data exfiltrated, and the sophisticated post-intrusion behaviors—marks a sharp escalation.

What to Watch: Organizations should check their React/Next.js deployments immediately, especially those exposed to the internet. Prioritize fixing React2Shell, checking for SSH key tampering, reviewing AI credential use and cloud token footprints, and assume that attacking footholds may persist beyond the initial exploit.

Analysis: This campaign underscores how quickly a vulnerability in a widely used web framework can pivot into a major crisis. React2Shell highlights a common blind spot: indirect exposure through shared platform features. Patching is necessary but insufficient—real security means assuming compromise, auditing all possible secret exposure paths, and building resilience so that no single leak leads to total compromise. The future of web app security must address the full stack of components—cloud, AI, identity, and code execution roofs—if trust is to be preserved.