React2Keys Campaign Leverages CVE-2025-55182 for Mass Credential Theft
The React2Keys campaign has stolen over 50,000 credentials by exploiting the React2Shell vulnerability, officially tracked as CVE-2025-55182. CloudSEK reports that this fully automated operation targeted high-value AI provider keys and credentials for cloud services, databases, cryptocurrency services, and payment services. The campaign has had a significant impact, compromising the CI/CD, cloud, and AI infrastructure of more than 400 organizations and affecting over 19,000 Next.js hosts, according to SecurityWeek.
This incident highlights the critical need for immediate patching and comprehensive security measures, especially for systems running widely deployed JavaScript libraries like React.js. The campaign’s focus on automated exploitation and high-value target acquisition makes it a severe threat to organizations leveraging cloud and AI technologies.
Technical Analysis of React2Keys Exploitation
The CVE-2025-55182 Vulnerability
The cornerstone of the React2Keys campaign is the React2Shell vulnerability, identified as CVE-2025-55182. This flaw is an unauthenticated remote code execution (RCE) vulnerability in the open-source JavaScript library React (React.js), carrying a CVSS score of 10.0. Exploitation of this vulnerability has been observed in the wild since December 2025, underscoring its immediate and critical nature.
Attack Chain and Targeted Information
The React2Keys campaign commenced on November 9, with the threat actor deploying a fleet of scanners to identify vulnerable hosts. Mass exploitation occurred between November 9 and 18, with exfiltration activities concluding around November 19. The automated attacks involved serving a JavaScript payload via an unauthenticated POST request. This payload executed within the live Node.js process of the compromised environment, performing initial fingerprinting and validating environment variables.
Following initial compromise, the attackers focused on harvesting sensitive information. This included known secret files and non-standard .env.* files. Further payloads were then executed to gather additional secrets, which were subsequently ranked based on their estimated monetary value and live-validated. The stolen credentials included:
- Cloud credential files (e.g., AWS, Azure tokens)
- Kubernetes service-account tokens
- SSH keys
- Git archives of repositories
- Third-party secrets managers
- Credentials for PostgreSQL, Redis, and MongoDB databases
- Firebase applications and keys
CloudSEK’s investigation revealed that the threat actor leveraged the stolen cloud tokens to expand their scanning operations, significantly increasing their capacity beyond dedicated worker nodes. The recovered material included extensive exfiltration logs, per-victim result folders, a toolkit of over 900,000 files, and scan-ledger and inventory databases, providing a detailed view of the campaign lifecycle.
Scope of Impact: Affected Organizations and Geographies
The React2Keys campaign has indiscriminately targeted organizations ranging from small businesses to large enterprises across dozens of countries. Noteworthy entities identified among the top five affected organizations include SoftBank, Mercell, Fonasa, Senkadagala Finance, and Harvard University. Geographically, Brazil experienced the most significant impact, followed by India, Germany, Russia, and France.
Actionable Recommendations and Mitigations
Organizations must take immediate steps to address the threat posed by the React2Keys campaign and mitigating React2Keys credential theft.
Patching and Vulnerability Management
- Prioritize Patching: Immediately identify and apply patches for all instances of React.js that address CVE-2025-55182. Given the unauthenticated RCE nature and active exploitation, this is the most critical immediate action.
- Software Inventory: Maintain an up-to-date inventory of all software, libraries, and frameworks in use, especially open-source components, to quickly identify exposure to new vulnerabilities.
Detecting React2Keys Exploitation
- Monitor Network Traffic: Look for suspicious unauthenticated POST requests targeting applications using React.js. Pay attention to unusual payloads or exfiltration attempts.
- Review Environment Variables: Regularly audit environment variables for unauthorized access or modification. The attackers specifically targeted these for initial information gathering.
- CloudSEK Exposure Validation Tool: Utilize CloudSEK’s exposure validation tool, as mentioned by the source, to help identify any sensitive material potentially compromised by React2Keys. This can assist in detecting React2Keys exploitation within your environment.
- Log Analysis: Scrutinize logs for signs of remote code execution, unauthorized file access (especially
.env.*files, SSH keys, cloud credential files), or unusual process activity on Node.js processes.
Post-Compromise Actions
- Credential Rotation: Assume all credentials and API keys stored in potentially compromised environments are breached. Immediately rotate all cloud credentials (AWS, Azure, etc.), Kubernetes service-account tokens, SSH keys, database credentials (PostgreSQL, Redis, MongoDB), and third-party secrets.
- Audit for Persistence: Conduct a thorough forensic analysis of any suspected compromised systems to identify and remove persistent access mechanisms installed by the threat actor.
- Review Git Repositories: If Git archives were present on compromised hosts, assume the repository contents were accessed and review for sensitive information exposure, potentially triggering a need for code review and secret rotation within those repositories.
Related: Hackers Build Autonomous AI Frameworks for Credential Theft, Slim Spider Targets Brazilian Financial Systems and Crypto Assets