Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

CloudSEK's cover image for its React2Keys report, showing a hooded figure reaching toward a stack of sign-in windows with a key and password field, an open red padlock, and icons for AI, cloud, database, payment card and bitcoin services floating to the right.
Image: CloudSEK (fair use), cloudsek.com, "React2Keys: AI-Powered React2Shell Campaign Steals 50,000+ AI, Cloud, Database, Payment, Registrar, and Crypto Keys from 19K+ Victims," November 30, 2026.

Threat Intel

An AI-Assisted Campaign Called React2Keys Stole More Than 50,000 Cloud, AI and Database Credentials From 400 Organizations Through the React2Shell Flaw, and CloudSEK Says Patching Does Not Take Them Back

The attacker watched certificate logs for brand-new Next.js sites, harvested every secret on each server it broke into, then tested stolen AI keys against half a dozen model providers. CloudSEK recovered the operator's own dump, and its advice to defenders starts where the patch ends.

Priya Shah, Threat IntelSingapore7 min read

SINGAPORE - An automated campaign that CloudSEK has named React2Keys used a critical flaw in React and Next.js, known as React2Shell, to lift more than 50,000 credentials from at least 19,000 hosts at more than 400 organizations in a ten-day run in November, the Indian threat intelligence company reported on Monday.

CloudSEK said its researchers engaged with the attacker's infrastructure and recovered what the operator had kept: a 1.9-million-line exfiltration log, per-victim result folders, a toolkit of more than 900,000 files, and the databases the operator used to track scans and inventory. The firm described the operation as one in which AI helped automate the work from target discovery to credential triage, and said the victims were spread across dozens of countries and sectors. "This is not a campaign against a specific sector or region," the report said.

The flaw is CVE-2025-55182, an unauthenticated remote code execution bug that CloudSEK says is reachable through Next.js Server Actions. The attacker did not need anything new. What stands out is how the campaign turned an old, well-known bug into a pipeline for credentials that keep working after the server is fixed.

Finding servers minutes after they appear

A CloudSEK flow chart of the React2Keys pipeline: discover targets from certificate logs every three minutes, filter hosts for Next.js, gain remote code execution with one POST, harvest secrets from environment variables and files, pivot to cloud identity, databases, source code, secrets vaults, AI and crypto keys and persistence, then validate, rank and fund more scanning.
Image: CloudSEK (fair use), React2Keys attack workflow.

Target selection is where the operator saved time. "The actor polls six public Certificate Transparency logs (CT Logs) every three minutes, so a new TLS certificate can become a scan target within minutes of deployment," CloudSEK wrote. Domains are deduplicated, then fingerprinted for Next.js from a server the actor had already compromised, and only about 3 percent pass. A separate module infers an undocumented Cloudflare IP range from failed-probe patterns so it can attack the unprotected origin server when a payload is blocked at the edge.

Initial access is a single unauthenticated POST to any route reachable by Server Actions, carrying a crafted multipart body with a weaponized React Flight object. Prototype pollution makes the server run attacker JavaScript inside the live Node.js process, and the output comes back inside the digest field of a thrown error, so the application's own production error handling becomes the exfiltration channel. The exploit also resends the body at each redirect hop, so apps sitting behind authentication redirects are not mistaken for patched. The same worker code can switch to an Odoo mode aimed at CVE-2026-25137, and a separate chain targets two WordPress flaws, CVE-2026-63030 and CVE-2026-60137, though only 4 of 2,939 hosts it scanned were confirmed vulnerable.

Everything in the environment, then the cloud behind it

Once inside, the payload identifies its runtime (a Kubernetes pod, Lambda, ECS Fargate, a PM2 host or a generic container), matches every environment variable against a credential pattern, reads known secret files such as .env files, cloud credential files, SSH keys and the Kubernetes service-account token, and keeps only values shaped like keys.

A CloudSEK table of exposure by credential category: other app secrets 20,636, auth tokens 9,581, database credentials 7,778, cloud credentials 7,777, communications 3,100, LLM and AI keys 2,989, payment 2,091 and DevOps 166.
Image: CloudSEK (fair use), exposure by credential category.

Follow-on payloads then ran from inside the victim environment, which is why a lot of this activity looks like the victim's own server talking:

  • Cloud identity. On AWS the payload queries the container metadata endpoint and exchanges a Kubernetes IRSA token through EKS Pod Identity for live temporary credentials, even when no static key exists. On Azure it steals managed-identity tokens from the Instance Metadata Service. On Google Cloud it mints OAuth tokens from stolen service-account keys and inventories every Firebase app. Stolen AWS keys are checked with hand-rolled request signing, so there is no SDK fingerprint, and CloudSEK recovered 225 session-credential files showing validation runs in near real time.
  • Databases and code. Drivers for PostgreSQL, Redis and MongoDB are installed at runtime and live connections opened to the victim's own databases. Full git archives, with history and infrastructure-as-code, are exfiltrated, and a stolen GitHub token is used to search whole organizations for Anthropic keys, AWS secrets, private keys and wallet mnemonic phrases.
  • Secrets vaults. A gateway credential found in the environment was used to pull every secret from a third-party secrets manager. "Centralizing secrets did not protect victims whose vault credential was readable from the app," the report said.
  • Persistence. The actor appends its own SSH public key to a compromised account's authorized_keys file, so patching does not remove access. The key carries the comment label bluelocale-foothold.

AI on both sides of the keys

Every secret is scored by estimated monetary value and validated live in priority order, with keys sorted into seven states: live, no credit, quota capped, organization disabled, workspace scoped, dead and rate limited. A key that is valid but out of credit is tracked, not discarded. Harvested AI keys were tested against roughly ten model providers. CloudSEK listed how the operator used each: stolen Claude Code OAuth tokens were refreshed and used to run inference billed to the victim's subscription, OpenAI Codex made streamed validation requests from inside the victim's network, OpenRouter keys were tried against four Claude models, Azure AI Foundry endpoints were paired with stolen keys to test Claude deployments, OpenCode Zen was used as a multi-model gateway check, and Google Gemini keys were validated the same way. Where a stolen AWS account was blocked behind the Bedrock use-case form, the actor's script submitted the form with the stolen credentials.

Crypto credentials were classified by whether funds could actually be moved: exchange keys with trade or withdraw scope, cloud KMS credentials able to sign Ethereum-style keys, and raw extended private keys were all tagged as spendable. Eleven exchanges are covered.

A CloudSEK timeline of the campaign: fleet scan tooling goes live on November 9 at 18:21 UTC, environment harvesting begins at 19:07 UTC, sustained mass exploitation from November 9 to 18 with 782,643 scan-output files, a targeted follow-up phase on November 19 at 04:56 UTC, and the last write observed at 06:39 UTC.
Image: CloudSEK (fair use), campaign timeline.

The operation also paid for itself with other people's money. A live cloud-provider token found in the actor's own provisioning scripts also appeared in a victim's leaked environment. Of 9 live Telegram bot tokens, only one belonged to the actor and the other 8 traced to victims. Stolen tokens provisioned Hetzner servers as scan workers, and the scan worker was deployed as an AWS Lambda function in a stolen-credential account. CloudSEK's timeline puts the scanning tooling live on November 9 at 18:21 UTC, environment harvesting from 19:07 UTC that day, sustained exploitation through November 18, and the last write on November 19.

A CloudSEK bar chart titled Top Countries: Brazil 22.9 percent, India 18.4 percent, Germany 13.6 percent, Russia 10.7 percent, France 7.1 percent and others 27.3 percent.
Image: CloudSEK (fair use), top countries.

What a SOC should do now

  • Start from the premise CloudSEK states. "Because stolen credentials work independently of the vulnerable app, patching alone is insufficient." Upgrade React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later and move Next.js to a release patched for CVE-2025-55182, then treat every environment variable and secret file on an affected host as compromised: cloud keys, AI provider keys, database credentials, registrar, payment and messaging tokens, and secrets-manager gateway credentials.
  • Hunt for the planted key. CloudSEK published a Sigma rule matching file events on authorized_keys files containing the actor's exact public key blob, AAAAC3NzaC1lZDI1NTE5AAAAINiNfAw552VRo+E3mBu/MHaVsRDcN0BMGuVCjgIyHbb3, and says it is a confirmed indicator of compromise. Review every authorized_keys file for unknown keys, plus cron jobs and SSH logins.
  • Do not trust "no static keys found." Review Kubernetes service-account use, EKS Pod Identity and IRSA role activity, and Azure managed-identity token use, and scope IAM roles tightly.
  • Read the audit trails for the cloud and the AI side. Check AWS CloudTrail and other cloud audit logs for unusual calls, new IAM users, Bedrock model-access changes and unexpected instance deployments in your own accounts, and review AI-platform usage for spend or model calls nobody on the team made.
  • Shrink the blast radius. Run apps as non-root, isolate per-app secrets and avoid sharing hosts across applications. CloudSEK also launched a tool at exposure.cloudsek.com/react2keys where a domain or work email can be checked against the recovered data.

About the Author

Priya Shah

Priya Shah covers threat intelligence and adversary tradecraft for SOCtember from Singapore.

Related stories

Threat Intel desk