Skip to main content
All incident reports
Incident report

CloudSEK reports React2Keys theft of 50,000 secrets across 400 organisations

A credential-harvesting campaign called React2Keys stole more than 50,000 secrets from at least 19,000 hosts at 400 organisations, according to CloudSEK. The attackers exploited React2Shell, a critical unauthenticated remote code execution flaw in React Server Components, and used AI services to validate what they took.

· First published · Last updated

The short version

  • The campaign. CloudSEK says an automated operation it named React2Keys stole over 50,000 credentials from at least 19,000 hosts at more than 400 organisations. BleepingComputer reports CloudSEK dates the activity to a ten-day window from 9 to 19 November.
  • How it got in. The attackers exploited React2Shell (CVE-2025-55182), a critical unauthenticated remote code execution flaw in React Server Components that affects Next.js applications. CloudSEK says a single unauthenticated request to a Server Action route was enough to run attacker code on the server.
  • What was taken. CloudSEK lists AWS, Azure and Google Cloud credentials, AI provider API keys, GitHub tokens, PostgreSQL, Redis and MongoDB credentials, and cryptocurrency exchange keys and wallet private keys. In some cases the attackers moved on to cloud identities, databases, git repositories and third-party secrets managers.
  • Access that outlives a patch. The attacker appended an SSH public key to a compromised account's authorised_keys file, so patching the flaw does not remove access. CloudSEK also found a 74-entry lateral-movement target list built from harvested SSH credentials, though it did not confirm that a separate stage uses it.
  • What to do. CloudSEK advises patching affected systems, rotating exposed credentials, auditing cloud identity and AI-platform usage, and checking for unauthorised SSH keys. It has published an online tool for checking exposure to the campaign.

Timeline

DateEvent
December 2025React2Shell (CVE-2025-55182) is disclosed; BleepingComputer reports China-linked hackers began exploiting it within hours.
9-19 NovCloudSEK dates the React2Keys credential-theft campaign to this ten-day window.
30 NovCloudSEK publishes its research on the campaign and launches an exposure validation tool; BleepingComputer reports the findings the same day.

How the campaign found and exploited servers

CloudSEK describes a fully automated operation. It polled six public Certificate Transparency logs — public records of issued TLS certificates — every three minutes, so a newly issued certificate could become a scan target within minutes. Domains were deduplicated by registrable domain and fingerprinted for Next.js from a previously compromised server's own network; about 3% passed. A dedicated module inferred an undocumented Cloudflare IP range from failed probes, letting the attackers reach an unprotected origin server when the payload was blocked at the edge.

Initial access was a single unauthenticated POST to any route reachable by a Server Action, carrying a crafted multipart body with a weaponised React Flight object. Prototype pollution — a technique that lets attacker-supplied data alter an application's internal object definitions — made the server run attacker JavaScript inside the live Node.js process. Output returned inside the digest field of a thrown Error, so Next.js's own production error handling became the exfiltration channel. The exploit re-sent the body at each redirect hop, so apps behind auth-middleware redirects were not mistaken for patched.

What was harvested and where the attackers went next

The payload fingerprinted the runtime — Kubernetes pod, Lambda, ECS Fargate, PM2 host or generic container — then matched every environment variable against a credential-sensitivity pattern. It read known secret files including .env files, cloud credential files, SSH keys and the Kubernetes service-account token, and swept for non-standard .env files. A server-side filter kept key-shaped values and dropped configuration noise.

CloudSEK reports follow-on access to temporary AWS credentials, Azure managed-identity tokens and Google Cloud service-account credentials. It also describes live database connections, repository theft and a secrets-manager dump obtained with a credential readable by the application. Its account does not provide enough protocol detail to reconstruct every AWS identity exchange independently.

Harvested keys were tested against roughly ten large language model providers. CloudSEK says stolen Claude Code login tokens were refreshed and used to run inference billed to the victim's subscription, and that OpenAI Codex validated stolen API keys from inside the victim's own network. Every secret was scored by estimated monetary value and live-validated, then sorted into seven states including live, out-of-credit and dead. Cryptocurrency credentials were classified by whether funds could actually be moved.

Scope, persistence and related activity

CloudSEK says victims span dozens of countries and top-level domains, multiple cloud providers, and both enterprise and small-business infrastructure; the campaign is not aimed at one sector or region. The researchers recovered a 1.9-million-line exfiltration log, per-victim result folders and a toolkit of more than 900,000 files. No affected organisation is named in either source, and neither source reports an affected organisation's own statement.

BleepingComputer reports that React2Shell was disclosed in December 2025 and has since been used in ransomware, botnet and cryptomining attacks as well as automated credential theft. CloudSEK says the same worker code can switch to an Odoo mode targeting CVE-2026-25137, an unauthenticated database manager flaw, and that a separate WordPress chain targets CVE-2026-63030 and CVE-2026-60137 while sharing the harvesting and alerting layer. Of 2,939 WordPress hosts scanned, four were confirmed vulnerable.

Analysis

The reported secrets-manager dump makes the application's own identity part of the incident scope. Investigators should trace what that identity could read beyond the first server and revoke the exposed credentials. A patched application can coexist with usable stolen keys and an attacker-added SSH key.

The three-percent Next.js fingerprinting rate describes target selection, not successful exploitation. Likewise, the reported secret, host and organisation totals count different things. CloudSEK's recovered attacker material supports its campaign estimate; the report does not contain separate confirmations from 400 affected organisations.

What ShadowMap sees: React2Keys

  • 20 indicators of compromise in ShadowMap's threat feed are linked to CVE-2025-55182.

    TypeIndicator (defanged)
    Hostnamemaste[.]mangsud[.]org
    Domaingettingheadfromduckysmom[.]st
    Domaingodofthunder[.]st
    Hostnames3[.]buckets[.]ninja
    Hostnamefedora-42[.]servers[.]guru
    URLhxxps://s3[.]buckets[.]ninja
    SHA-256c2d898f29b4c6058ba2587fa7477bac546c838b72e48ad42e5e4fa11ab799ba9
    SHA-256ad06f3a8fd168659a72cea4ee1b105575f38c485e741776b1b097f6a79e43eae
    SHA-256abaf7a73520ec77853d83ca1cd946a650291457b6303147cd6622fca5b8be39e
    SHA-25693f8bcb90e608cdac0239d4218f31fb755357b056e862ce8b61df1026536d83d
    SHA-256839f516d17cb0ebfdfa002f195299077198ec334f248b8084a954444ce3fbfdb
    SHA-2567f1bd30c173af0e793f0a9a9ec44646131e8148fcb6fe64d00c06bf751a53d7d
    SHA-2566d10e9923374c2e11b6528a34f23356e3cb4aa5d2f11db35a35193550d0d2be3
    SHA-25657617d2d8a1cd7da3614b4329929df0d2f4a26fbbd79a418ec8623e83decf14f
    SHA-2563ae6c2d36edf2db4845db9f18e1ae865de4e784c9c807e6d89033bef21e284c5
    SHA-2561642c2de5949909d1470523337a0e50b844f26a1f018e6b6984a4ed815657d33
    SHA-1c3f6954bfc42f7aaaf64fdd90713b8756c8651e3
    MD5dadbbb7d40cad17747be67d252cc2a07
    SHA-256b889846842a168773a5b6382143792acd3a2310f5802d61f48805e1d38e6575b
    SHA-25688b5ed6aa763acf5d11119d4cb53d9601533ab35371a4f5cb932991b19bfdef0

    As of

What is not known yet

  • Who operates the campaign. Neither source attributes it to a named group or country.
  • Which organisations were affected. No victims are named, and the count of 400 rests on CloudSEK's analysis of the attacker's own logs and tooling.
  • Whether the 74-entry lateral-movement target list was ever used, which CloudSEK says it could not confirm.
  • Whether stolen cloud, AI and cryptocurrency credentials have since been used to move funds, read data or run workloads, beyond the validation activity CloudSEK observed.
  • Whether the SSH keys planted on compromised hosts have been removed, and how many environments still carry them.

What to do

If you run Next.js or React Server Components

  1. Patch CVE-2025-55182 following the vendor's advisory, and confirm the fix is live on origin servers, not only at the CDN edge.
  2. Check whether your origin servers can be reached directly, bypassing Cloudflare or another proxy, and restrict access if they can.
  3. Review web logs for unauthenticated POST requests to Server Action routes, including requests repeated across redirect hops.

If your environment may have been exposed

  1. Rotate every credential readable from the application environment: environment variables, .env files, cloud keys, database passwords, AI provider keys and GitHub tokens.
  2. Inspect authorised_keys files on application and build hosts for SSH keys you did not add, and remove any you find.
  3. Audit cloud identity, AI platform and secrets manager access logs for activity you cannot account for, including token exchanges and bulk secret reads.

For everyone else

  1. Treat environment variables and files readable by an application as production secrets that must be rotated after any code-execution flaw, since centralising them in a vault does not help if the vault credential sits in the same environment.

Update log

  • Attributed campaign totals to CloudSEK, clarified the limits of the cloud-identity account, and added analysis of credential reach and recovery.
  • First published.

Sources

New incident reports by email

One email a week with the reports published since the last one.

We email you about this topic only; unsubscribe any time. See our Privacy Policy.

Want us to look at your domain?

Give us one apex domain and we'll send back a written snapshot of what is already visible from outside. No call required.