Breach Value Calculator

React2Shell Credential Theft (React2Keys): Patch, Then Rotate Every Key

CloudSEK says a React2Shell campaign stole 50,000+ credentials, AI keys included. Why patching isn't enough: rotate keys, cap AI spend, scan for secrets.

CloudSEK, a threat intelligence firm, published research on 30 November 2026 describing a campaign it calls React2Keys. It says the campaign exploits React2Shell (CVE-2025-55182) on exposed servers and that "Over 50,000 credentials from 19,000+ victims worldwide were stolen". The targets of this React2Shell credential theft were the keys a web app holds: cloud, AI provider, database, payment, domain registrar and crypto exchange credentials.

If you ran an unpatched React Server Components app on the internet, patching closes the hole but does not take back what left the server. Rotate every secret the app could read, put spend limits on AI keys, and scan for secrets you didn't know you had.

Sources read 2 December 2026.

What did CloudSEK find?

CloudSEK's React2Keys write-up is credited to its Global Threat Intelligence team. These are CloudSEK's findings, not figures confirmed by a government agency. The report doesn't say when the campaign began, and it names no threat actor or group.

CloudSEK says it "has uncovered critical threat intelligence about an attacker who has compromised CI/CD, Cloud & AI infrastructure associated with over 400 organizations." It describes "a fully automated credential-harvesting operation built on the "React2Shell" vulnerability (CVE-2025-55182)".

CloudSEK gives two separate counts: credentials stolen from "19,000+ victims", and compromised infrastructure "associated with over 400 organizations". The report doesn't define what it counts as a victim or as an organisation, so the two figures shouldn't be read as the same thing or compared directly. It says only that "Victims span dozens of countries and TLDs, multiple cloud providers, and both enterprise and small-business infrastructure."

CloudSEK says its picture comes from the attacker's own infrastructure: "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."

In practice: what was taken. CloudSEK says the campaign aims "to steal, validate, rank and hoard high-value credentials":

Credential type (CloudSEK's list) Examples it gives
AI provider keys "Anthropic, OpenAI, Google Gemini and others"
Cloud provider keys and identities AWS, Azure, GCP
Data and money "databases, payment and registrar credentials"
Crypto "cryptocurrency custody and exchange keys"

Those AI companies appear in the report as the brands of the stolen keys. CloudSEK doesn't say any of them was breached; the keys were taken from their customers' servers.

What is React2Shell (CVE-2025-55182)?

React2Shell is the name widely used for CVE-2025-55182, a flaw in React Server Components disclosed on 3 December 2025. The React team's advisory puts it plainly: "There is an unauthenticated remote code execution vulnerability in React Server Components." In other words, anyone who can reach the server can run their own code on it, without logging in.

React rated it "CVSS 10.0", the top of the severity scale. The NVD record shows CISA added it to its Known Exploited Vulnerabilities (KEV) catalog on 5 December 2025, with a federal due date of 12 December 2025. For how KEV listings should change your patch order, see our CVE, CVSS, EPSS and KEV guide.

React's advisory also says who is not affected: "If your app's React code does not use a server, your app is not affected by this vulnerability." A React app that runs only in the browser is out of scope. Apps built with a framework that supports Server Components may be in scope even if they never wrote a Server Function themselves.

Is patching enough to stop React2Shell credential theft?

Once code runs on your server, it can read everything the app can read: environment variables, .env files, cloud credentials. CloudSEK says the payload "reads known secret files (.env*, cloud credential files, SSH keys, the Kubernetes service-account token)" and also exfiltrates full git repository archives.

Those keys keep working wherever the attacker uses them. CloudSEK says it outright: "Because stolen credentials work independently of the vulnerable app, patching alone is insufficient."

So a server that was patched in December 2025 but exposed before then may still have live stolen keys out there. The patch date tells you when the door closed, not whether anything left before it did.

What happens to stolen AI keys?

This is the part of the report that stands out. CloudSEK says "harvested keys are tested against roughly ten LLM providers" and that "Every secret is scored by estimated monetary value, then live-validated in priority order."

Its examples include tooling that "Validates stolen OpenRouter keys against 4 Claude models, checks for live vs out-of-credit" and another that "Pairs stolen Azure endpoint URLs with stolen keys, tests Claude deployments on Azure."

Cloud credentials get the same treatment. CloudSEK says "Stolen cloud tokens fund more scanning", and of one stolen-resource setup, "Victims fund the campaign that hit them."

Using a stolen AI key or cloud account to run someone else's workloads on your bill is often called LLMjacking. Our LLMjacking spend cap planner covers what that cost victims in 2026 and how to size caps and alerts for each key.

What should you do if your React app was exposed to React2Shell?

  1. Check whether you were exposed. List every internet-facing app that uses React Server Components, directly or through a framework. React names "next, react-router, waku, @parcel/rsc, @vitejs/plugin-rsc, and rwsdk" as affected frameworks and bundlers.
  2. Patch to the latest fixed release, not the first one. React's first fix for this flaw was in 19.0.1, 19.1.2 and 19.2.1 of react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack. React has since published a follow-up advisory on further flaws in the same packages, last updated 26 January 2026. It lists those first-fix versions as affected and says: "Versions 19.0.4, 19.1.5, 19.2.4 are safe." It also warns: "If you already updated for the previous vulnerabilities, you will need to update again." If you use a framework, move to the framework release that includes these fixes.
  3. Rotate everything the host could read. CloudSEK: "Assume every environment variable and secret file is compromised: cloud keys, AI provider keys, database credentials, registrar, payment and messaging tokens, and any secrets-manager gateway credentials." Revoke old keys; don't just add new ones beside them.
  4. Scope your AI keys. OpenAI's key safety guidance says "You can assign permissions to individual API keys as well" and advises a "dedicated service account with only the permissions the workload needs." One key per app means one key to revoke.
  5. Set spend limits that actually stop traffic. OpenAI advises: "Set monthly spend limits for your organization or projects, and enable hard enforcement". It also warns: "Spend alerts alone don't stop API traffic." Check what your other AI providers support.
  6. Turn on secret scanning. GitHub's push protection is built "to prevent hardcoded credentials, such as secrets or tokens, from ever being pushed to your repository." For repositories it "Is disabled by default", so an admin has to switch it on. CloudSEK says full git archives were taken; in our view, that makes any key ever committed to an affected repository a stolen key.
  7. Look for a way back in. CloudSEK says the actor adds its own SSH key to authorized_keys for persistence: "Review every authorized_keys file for unknown keys".

Going deeper: for security and IT teams

The vulnerability, precisely

NVD records CVE-2025-55182 as CWE-502 (deserialisation of untrusted data), with the CNA's CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H, base score 10.0. The CNA description: "The vulnerable code unsafely deserializes payloads from HTTP requests to Server Function endpoints." React's advisory notes the trap that catches teams who think they're safe: "Even if your app does not implement any React Server Function endpoints it may still be vulnerable if your app supports React Server Components." Releases affected by CVE-2025-55182 were 19.0, 19.1.0, 19.1.1 and 19.2.0 of the three react-server-dom-* packages. React's follow-up advisory adds denial-of-service flaws CVE-2025-55184, CVE-2025-67779 and CVE-2026-23864 (CVSS 7.5) and source code exposure CVE-2025-55183 (CVSS 5.3). Those affect 19.0.0 to 19.0.3, 19.1.0 to 19.1.3 and 19.2.0 to 19.2.3, including the first React2Shell fixes; React names 19.0.4, 19.1.5 and 19.2.4 as safe. Check your lockfile, not just package.json, because frameworks pulled these in as dependencies or peer dependencies.

The KEV required action for this CVE, as carried in the NVD record, reads "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable." That binds US federal civilian agencies; for everyone else it's a strong priority signal.

Threat model: secrets that outlive the patch

The attacker needs one thing: an internet-reachable server running a vulnerable Server Components build. CloudSEK says target discovery is automated and fast. It says the actor "polls six public Certificate Transparency logs (CT Logs) every three minutes". Our reading: a new deployment can be on a target list within minutes of its certificate being issued, and staging or preview environments with public certificates are as exposed as production.

What the attacker gets is the app's identity: its environment, its mounted secrets, its cloud role, and its source code. The value is in what those credentials reach afterwards.

Instance roles are not a free pass

A common belief is "we use IAM roles, there are no static keys to steal." CloudSEK's heading on this is "Do not rely on "no static keys found."" It says the payload pulls identity material from cloud metadata endpoints, and that "225 captured STS session-credential files (ASIA* keys with expiry times) show validation runs near real time." Temporary credentials expire, but a role session used within minutes of theft does its damage inside that window.

AWS's IAM best practices still favour roles: workloads should "use temporary credentials with IAM roles", and long-term access keys should be updated "when needed". The fix is scope, not a return to static keys. "Grant only the permissions required to perform a task", and use IAM's "last accessed information" to remove credentials nobody uses. CloudSEK adds: "Review Kubernetes service-account use, EKS Pod Identity and IRSA role activity, and Azure managed-identity token usage."

Detection and evidence

  • Cloud audit logs. CloudSEK: "Check AWS CloudTrail, cloud audit logs and AI-platform usage for unusual calls, new IAM users, Bedrock model-access changes and unexpected instance deployments, including in your own cloud accounts." In CloudTrail, look for API calls made with your app role's credentials from source addresses outside your own infrastructure.
  • AI provider usage. Compare each key's usage by model and hour against its baseline. In our view, a key suddenly calling models your app never uses, or making a few small calls before a spike, fits the live-validation pattern CloudSEK describes.
  • Host persistence. Diff every authorized_keys file against your configuration management. Treat unknown keys as an incident, not a cleanup task.
  • Outbound traffic. A web server that runs Server Components rarely needs to start new connections to unfamiliar hosts. Alert when it does.

Shrinking the blast radius next time

CloudSEK's advice: "Run apps as non-root, isolate per-app secrets and avoid sharing hosts across applications." In practice, fetch secrets at runtime from a secrets manager scoped to that one workload, rather than baking every key into one shared .env. Then one compromised app exposes one app's keys. Our GitHub Actions secret stealer write-up covers the same principle for CI pipelines.

Questions for your platform and cloud teams

  • Your engineering lead: which public hosts ran an affected react-server-dom-* version, and for how long before the fix?
  • Your cloud team: what can each app's role do, and when was each permission last used?
  • Your AI provider admins: does every production key have hard spend enforcement, or only alerts?
  • Your SOC or MSSP: would we see a stolen app credential used from outside our network today?

Key takeaways

  • CloudSEK says React2Keys stole "Over 50,000 credentials from 19,000+ victims worldwide", and separately that the compromised infrastructure is "associated with over 400 organizations"; it doesn't define either count. These are a vendor's findings, published 30 November 2026.
  • The entry point is React2Shell, CVE-2025-55182: unauthenticated remote code execution in React Server Components, CVSS 10.0, in CISA's KEV catalog since 5 December 2025 (per NVD). React names 19.0.4, 19.1.5 and 19.2.4 as safe against it and the later flaws in the same packages.
  • Stolen keys work after you patch. Rotate every secret the app could read, including old keys in git history.
  • CloudSEK says stolen AI keys are tested against "roughly ten LLM providers". Give each app its own scoped key and a spend limit with hard enforcement, because alerts alone don't stop traffic.
  • Turn on secret scanning and push protection, check authorized_keys on exposed hosts, and watch cloud and AI usage logs for calls from outside your network.

Sources

Spotted a mistake? Report a correction.