Security firm CloudSEK on November 30, 2026, published an analysis of "React2Keys," a credential-theft campaign that exploited the web application vulnerability known as React2Shell (CVE-2025-55182). According to the company, more than 50,000 credentials were stolen from over 19,000 victims worldwide, affecting more than 400 organizations. The attackers went after servers left running a vulnerability that already has a fix, and CloudSEK is urging affected environments to rotate all of their secrets.

The Entry Point Is an Unauthenticated RCE in Next.js Server Actions

React2Shell, the flaw used to get in, is a critical vulnerability in Next.js "Server Actions" that allows remote code execution (RCE) without authentication. As a fix, CloudSEK advises upgrading React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later, and moving Next.js to a release patched for this vulnerability.

Once inside an unpatched server, the attacker pulled out environment variables, application secrets, authentication tokens and more. The company says the exfiltration log it obtained ran to about 1.9 million lines, and the attacker's toolkit exceeded 900,000 files.

Certificate Transparency Logs Polled Every Three Minutes to Find Targets

The way targets were found is also distinctive. The attacker polled six public Certificate Transparency logs, which record the issuance of TLS certificates, every three minutes and picked up domains that had newly obtained certificates. Those domains were deduplicated by registrable domain and then checked to see whether they ran on Next.js. Only about 3% passed that check, according to CloudSEK.

For servers sitting behind Cloudflare, the toolkit also inferred an unpublished IP address range from patterns in failed probes, letting it reach origin servers without going through the edge network. CloudSEK describes the whole pipeline as "fully automated."

AI, Cloud, Payment and Crypto Keys Were Taken

The stolen credentials cover a wide range. The table below summarizes the categories CloudSEK listed.

CategoryMain examples
AI servicesKeys for Anthropic, OpenAI, Google Gemini and others; Claude Code OAuth tokens
CloudAWS, Azure and GCP keys and identities; Kubernetes service-account tokens
Development and integrationsGitHub tokens, Telegram bot tokens, SMTP credentials
OtherDatabase, payment, domain registrar, cryptocurrency exchange and custody keys; SSH keys

The handling of AI services stands out. The attacker tested whether stolen keys worked against roughly ten LLM (large language model) providers. Services such as OpenRouter, Azure AI Foundry and Google Gemini were used for validation, and with stolen Claude Code OAuth tokens, usage charges were billed to the victims.

SSH Keys Planted as a Backdoor That Survives Patching

The attacker appended their own SSH public key to the "authorized_keys" file of compromised accounts. As a result, the attacker keeps access even if the vulnerability is patched later. CloudSEK published this public key as an indicator of compromise (IoC), along with a Sigma rule for detecting it.

CloudSEK has not disclosed the identity of the attacker or any group they belong to.

What Affected Organizations Need to Do

CloudSEK is asking organizations that may have been affected not only to apply the patches but also to rotate every environment variable and secret file on affected hosts. It further recommends auditing authorized_keys, cron jobs and SSH login records, and reviewing Kubernetes and cloud managed-identity activity, audit logs such as CloudTrail, and usage on AI platforms. Running apps as non-root and isolating secrets per app were also listed. The company has also set up a page where organizations can check whether they were affected.

Our Take

What stands out in this analysis is that AI service API keys are being treated as assets that are "easy to cash in," on par with cloud keys. If someone runs AI workloads on stolen keys, the bill lands on the victim. That said, the entry point is a vulnerability that already has a fix, so keeping software up to date would likely have prevented it. Even so, patching alone leaves the SSH backdoor and the stolen keys in place, so organizations running Next.js on their own servers should treat key rotation as part of the same response.

Summary

CloudSEK revealed that the React2Keys campaign, which exploited React2Shell, stole more than 50,000 credentials from over 400 organizations. The findings matter to developers and operators who publish apps built with Next.js or React Server Components. Affected environments should promptly apply patches, rotate keys and audit SSH keys.

Source: CloudSEK, "React2Keys: AI-Powered React2Shell Campaign"