React2Keys Campaign Exploits React2Shell RCE to Steal 50,000 Credentials from Next.js Hosts

A threat actor conducted a fully automated React2Keys campaign that stole over 50,000 credentials by exploiting the React2Shell vulnerability in the React JavaScript library. The operation targeted high-value keys for AI providers, cloud services, databases, cryptocurrency platforms, and payment systems across more than 19,000 Next.js hosts and over 400 organizations. CloudSEK attributes the activity to mass scanning that began on November 9, followed by unauthenticated POST requests delivering JavaScript payloads executed inside live Node.js processes. The payloads performed fingerprinting, validated environment variables, harvested secrets from standard and non-standard .env files, and executed follow-up scripts to collect cloud tokens, Kubernetes service accounts, SSH keys, AWS and Azure credentials, git repositories, and database access for PostgreSQL, Redis, MongoDB, and Firebase. Harvested credentials were ranked by monetary value and live-validated before being used to expand scanning capacity. The top affected organizations include SoftBank, Mercell, Fonasa, Senkadagala Finance, and Harvard University, with Brazil, India, Germany, Russia, and France experiencing the highest impact. CloudSEK recovered a 1.9-million-line exfiltration log and a toolkit exceeding 900,000 files during its investigation.

SecurityWeekTranslated from English

Read at source

A threat actor stole over 50,000 credentials in a fully automated operation exploiting the React2Shell vulnerability, CloudSEK reports. The campaign, dubbed React2Keys, focused on the theft, validation, and stockpiling of high-value AI provider keys and credentials for cloud services, databases, cryptocurrency services, and payment services.

As part of the attacks, the threat actor stole sensitive material from more than 19,000 Next.js hosts and compromised the CI/CD, cloud, and AI infrastructure of over 400 organizations. React2Shell, officially tracked as CVE-2025-55182 (CVSS score of 10), is an unauthenticated remote code execution (RCE) flaw in the open source JavaScript library React (React.js) that has been exploited in the wild since December 2025.

The React2Keys campaign, CloudSEK says, started on November 9, when the threat actor deployed a fleet of scanners and dumped environment variables from vulnerable hosts. Mass exploitation occurred between November 9 and 18, with the last exfiltration activity observed on November 19.

Following scanning, the automated attacks served a JavaScript payload in an unauthenticated POST request that was executed inside the live Node.js process. The payload performed fingerprinting, validated environment variables, and then targeted known secret files and non-standard .env.* files.

The threat actor then executed additional payloads on the compromised environments to harvest additional secrets, and ranked the harvested credentials and keys based on their estimated monetary value and live-validated them. Targeted secrets included cloud credential files, Kubernetes service-account tokens, SSH keys, AWS credentials, Azure tokens, git archives of repositories, and third-party secrets managers. PostgreSQL, Redis, and MongoDB databases and Firebase apps and keys were targeted as well.

According to CloudSEK, the threat actor used the stolen cloud tokens in follow-up scanning operations, growing its scanning capacity beyond dedicated workers. The cybersecurity firm’s investigation into the attackers’ infrastructure uncovered the entire campaign lifecycle, which targeted cloud providers and small to large organizations across dozens of countries.

“The recovered material included a 1.9-million-line exfiltration log, per-victim result folders, a toolkit of over 900,000 files and scan-ledger and inventory databases,” CloudSEK says. The top five affected organizations include SoftBank, Mercell, Fonasa, Senkadagala Finance, and Harvard University. Brazil was impacted the most, followed by India, Germany, Russia, and France.

CloudSEK has launched an exposure validation tool to help organizations identify sensitive material potentially compromised in React2Keys.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulns & Exploits

Docker Sandboxes Flaw Allows Malicious Kits to Exfiltrate AI API Keys Without User Prompts
OFFIS DCMTK Toolkit Hit by Critical Missing Authorization and Partial String Comparison Flaws
CISA Warns of Critical Vulnerabilities in Nextgen Healthcare Mirth Connect Allowing Arbitrary Script Execution and Man-in-the-Middle Attacks