Home / Bug Bounty & Vulnerabilities / Automated ‘React2Keys’ Campaign Exploits Critical Vulnerability to Steal 50,000 Credentials

Automated ‘React2Keys’ Campaign Exploits Critical Vulnerability to Steal 50,000 Credentials

A sophisticated and fully automated cyber-espionage campaign, identified by security researchers at CloudSEK, has resulted in the theft of more than 50,000 sensitive credentials, marking a significant escalation in the exploitation of the critical React2Shell vulnerability. The campaign, which investigators have dubbed "React2Keys," focused its efforts on the systematic theft, validation, and stockpiling of high-value authentication keys and credentials. These pilfered assets provided the threat actors with deep access to cloud services, AI provider infrastructure, enterprise databases, cryptocurrency platforms, and critical payment processing systems.

The scope of the breach is extensive, with CloudSEK confirming that the attackers successfully exfiltrated sensitive material from over 19,000 Next.js hosts. More alarmingly, the campaign compromised the CI/CD pipelines, cloud environments, and artificial intelligence infrastructure of more than 400 distinct organizations across the globe. This level of intrusion suggests a highly organized effort to harvest assets that could be leveraged for long-term persistence or follow-on supply chain attacks.

The Role of React2Shell (CVE-2025-55182)

At the heart of this campaign lies the React2Shell vulnerability, officially cataloged as CVE-2025-55182. Boasting a CVSS score of 10.0—the highest possible severity rating—this unauthenticated remote code execution (RCE) flaw resides within the widely used open-source JavaScript library, React.js. Since its emergence in December 2025, the vulnerability has become a primary target for threat actors, as it allows attackers to execute malicious code within the context of a live Node.js process without requiring any form of authentication or user interaction.

The React2Keys campaign represents one of the most efficient and damaging applications of this vulnerability to date. According to the investigation, the threat actor began laying the groundwork for the operation on November 9, 2025, by deploying a vast, distributed fleet of automated scanners. These scanners were specifically programmed to identify vulnerable hosts and immediately dump environment variables—a goldmine of configuration data—from the affected systems.

The mass exploitation phase reached its peak intensity between November 9 and November 18, during which the attackers automated the entire lifecycle of the breach. The final exfiltration activity associated with this specific campaign was recorded on November 19, though the impact of the stolen data remains a persistent threat to the affected organizations.

Attack Methodology and Payload Execution

The operational flow of the React2Keys campaign demonstrates a high degree of technical refinement. Upon identifying a vulnerable host, the attackers initiated an unauthenticated POST request, which served a malicious JavaScript payload directly into the target’s live Node.js process. This payload was designed for immediate execution, performing rapid fingerprinting of the environment to assess the value of the target.

Once the initial foothold was established, the payload validated the environment variables to locate high-value targets, specifically searching for secret files and non-standard .env.* files that often contain hardcoded credentials or API keys. The attackers did not stop at simple exfiltration; they executed additional secondary payloads designed to broaden their harvest. These follow-up scripts were engineered to hunt for cloud credential files, Kubernetes service-account tokens, SSH keys, AWS and Azure tokens, and full git archives of repositories.

Furthermore, the attackers extended their reach into third-party secrets managers and enterprise-grade databases, including PostgreSQL, Redis, and MongoDB instances. Even Firebase applications and their associated security keys were systematically targeted, highlighting a comprehensive strategy to strip organizations of their digital defensive layers.

Perhaps the most innovative and concerning aspect of the campaign was the attacker’s approach to data management. Rather than simply hoarding raw data, the threat actors employed a rigorous validation process. They ranked the harvested credentials based on their estimated monetary value and live-validated them to ensure they were active and functional. This "quality control" phase ensured that the attackers were left with a curated database of high-value access tokens ready for immediate abuse or sale on illicit marketplaces.

Infrastructure and Global Reach

CloudSEK’s forensic analysis of the attacker’s infrastructure revealed the full lifecycle of the campaign, which spanned dozens of countries and targeted organizations ranging from small businesses to massive, global enterprises. A particularly troubling discovery was the attackers’ use of stolen cloud tokens to scale their own operations. By utilizing the credentials they had already compromised, the threat actors were able to expand their scanning capacity far beyond what their original, dedicated worker infrastructure would have allowed. This created a self-sustaining loop of exploitation, where the fruits of one attack fueled the progress of the next.

The breadth of the stolen material recovered by researchers is staggering. The investigation uncovered a 1.9-million-line exfiltration log, which served as a master ledger for the stolen data. Additionally, researchers found per-victim result folders and a massive toolkit containing over 900,000 files, scan-ledgers, and inventory databases that tracked every aspect of the operation.

The geographic distribution of the victims shows that no region was immune. While Brazil suffered the highest volume of compromises, the campaign also hit organizations in India, Germany, Russia, and France with high frequency. Among the most prominent entities identified in the breach were major financial institutions and academic bodies, including SoftBank, Mercell, Fonasa, Senkadagala Finance, and Harvard University. These targets underscore the attackers’ preference for entities that manage vast amounts of sensitive financial and intellectual data.

Remediation and Industry Response

The discovery of the React2Keys campaign has prompted a urgent call to action for organizations utilizing React.js and Node.js environments. Given that the vulnerability allows for the silent theft of environment variables, organizations cannot rely on traditional perimeter defenses alone. Instead, they must conduct thorough audits of their cloud configurations, rotate all potentially exposed API keys, and monitor for unauthorized access to CI/CD pipelines.

In an effort to assist affected organizations in assessing their exposure, CloudSEK has launched a dedicated validation tool. This tool allows security teams to cross-reference their systems against the data identified during the investigation, helping them determine if their sensitive material was among those harvested by the React2Keys threat actors.

As organizations grapple with the fallout of this breach, the incident serves as a stark reminder of the risks associated with critical vulnerabilities in foundational open-source libraries. When a vulnerability as severe as CVE-2025-55182 is combined with the efficiency of automated, AI-assisted exploitation, the resulting impact can be profound. The ability of the attackers to validate and rank their stolen credentials in real-time illustrates a new era of cybercrime, where the speed of attack often outpaces the speed of organizational response.

The cybersecurity community remains on high alert, monitoring for any further shifts in the threat actor’s tactics. With the "React2Keys" campaign having demonstrated the feasibility of mass-scale, high-value credential theft, security researchers warn that other groups may attempt to replicate this methodology using the same or similar vulnerabilities. For the victims, the process of rotating thousands of credentials, revoking compromised tokens, and rebuilding compromised infrastructure is expected to be a long and complex endeavor, highlighting the enduring nature of the damage caused by this campaign.

Tagged:

Leave a Reply

Your email address will not be published. Required fields are marked *