React2Keys: React2Shell Used to Steal 50,000+ Credentials
TL;DR · the short version
On 30 November 2026 CloudSEK published "React2Keys", a campaign that exploits React2Shell (CVE-2025-55182), the December 2025 unauthenticated code execution flaw in React Server Components and Next.js. CloudSEK says it stole "over 50,000 credentials from 19,000+ victims worldwide" from infrastructure "associated with over 400 organizations": cloud, AI, database, payment, registrar and crypto keys. The payload reads environment variables, .env files, cloud and SSH keys and Kubernetes tokens, swaps them for live cloud credentials, pulls git history and queries databases, then appends the attacker's SSH key to authorized_keys, "so patching does not remove access". Stolen AI keys are tested against several AI services. CloudSEK names no actor and no victims. Patch React and Next.js, then rotate every secret on any host that was exposed and check authorized_keys.
On 30 November 2026 CloudSEK published "React2Keys", a campaign that exploits React2Shell (CVE-2025-55182) to steal secrets from servers running React Server Components and Next.js. CloudSEK says "over 50,000 credentials from 19,000+ victims worldwide were stolen", from compromised CI/CD, cloud and AI infrastructure "associated with over 400 organizations". It says the attacker also adds its own SSH key to compromised accounts, "so patching does not remove access". These are CloudSEK's findings from material it recovered from the attacker. No victim has been named, and no victim has confirmed anything.
Confirmed vs not yet known (3 December 2026)
- Confirmed by CISA: CVE-2025-55182 is exploited in the wild. CISA added it to the KEV catalog on 5 December 2025 and marks known ransomware use as "Known".
- Reported by CloudSEK: the campaign, its numbers (50,000+ credentials, 19,000+ victims, 400+ organisations), its methods and the SSH key persistence. CloudSEK says it recovered a 1.9-million-line exfiltration log and a toolkit of more than 900,000 files.
Not known
- Who runs it. CloudSEK names no group.
- When it started. CloudSEK's text gives no start or end dates; its detection rule is dated 24 November 2026.
- Which organisations were hit, and whether they were told. CloudSEK names no victims or sectors and says only "dozens of countries".
- How CloudSEK reached the attacker's material. Its write-up says it engaged with the adversary infrastructure; its rule cites an "attacker exposed server".
What React2Keys does, per CloudSEK
- Finds targets fast. It polls six public Certificate Transparency logs every three minutes, so a new TLS certificate can become a target within minutes. About 3% of fingerprinted domains pass its Next.js filter. When a CDN blocks the payload, a module tries to reach the origin server directly through a Cloudflare IP range that CloudSEK says the attacker inferred.
- Gets code execution with one request. A single unauthenticated POST with a crafted multipart body reaches a Server Action and runs attacker JavaScript inside the Node.js process. Output comes back in the digest field of a thrown error.
- Takes every secret in reach. It fingerprints the runtime (Kubernetes, Lambda, ECS Fargate, PM2) and collects environment variables, .env files, cloud credential files, SSH keys and Kubernetes service-account tokens.
- Turns them into live cloud access. AWS: it exchanges Kubernetes tokens through EKS Pod Identity or IRSA for temporary credentials, even with no static key. Azure: it takes managed-identity tokens from the metadata service. GCP: it mints OAuth tokens from service-account keys.
- Goes after data. It copies full git archives with history, queries PostgreSQL, Redis and MongoDB directly, and pulls from a secrets vault when the app can read the vault credential.
- Stays in. It appends the attacker's SSH public key to
authorized_keys. CloudSEK publishes a Sigma rule (MITRE T1098.004) that matches the key and its comment label.
CloudSEK says stolen keys are sorted into seven states, from live to dead. AI keys are tested against services including Claude Code, OpenAI Codex, OpenRouter, Azure AI Foundry, OpenCode Zen and Google Gemini. It says the operator ran inference on victims' Claude Code subscriptions with stolen OAuth tokens, and, where an AWS account had not yet been approved for Amazon Bedrock models, submitted the access form with the stolen credentials. Its triage covers keys for eleven crypto exchanges. CloudSEK says stolen cloud tokens pay for more scanning: workers run on rented Hetzner servers and on AWS Lambda in a stolen-credential account.
Useful next, if this was relevant to you
Which flaw this is, and which it is not
React2Keys uses CVE-2025-55182 (React2Shell), disclosed in December 2025. The advisory lists fixed React Server Components releases 19.0.1, 19.1.2 and 19.2.1, and CloudSEK says to move Next.js to a release patched for it. CloudSEK also lists a related mode against Odoo (CVE-2026-25137) and a separate WordPress chain (CVE-2026-63030 and CVE-2026-60137), which it says found only 4 vulnerable hosts out of 2,939 scanned.
It is not the later React flaw CVE-2026-126187, fixed in 19.0.9, 19.1.10, 19.2.9 and 19.3.1, which we cover in React CVE-2026-126187. Being patched for one does not mean you are patched for the other. Check both in your lockfiles with the repo dependency exposure check.
Timeline
| Date | What happened | Source |
|---|---|---|
| 4 Dec 2025 | Advisory for CVE-2025-55182 (React2Shell) published, fixed in 19.0.1, 19.1.2 and 19.2.1 | Auth0 advisory |
| 5 Dec 2025 | CISA adds CVE-2025-55182 to the KEV catalog, due 12 December 2025 | CISA KEV |
| 14 Oct 2026 | A different React Server Components flaw, CVE-2026-126187, is published | GitHub |
| 24 Nov 2026 | Date on CloudSEK's Sigma rule for the SSH key persistence | CloudSEK |
| 30 Nov 2026 | CloudSEK publishes React2Keys | CloudSEK |
What security leaders should do this week
- Find every app on React Server Components or Next.js, including old marketing sites, preview deployments and internal tools, and confirm each is on a release fixed for both CVE-2025-55182 and CVE-2026-126187.
- Assume exposure means theft. For any app that was internet-facing and unpatched at any point since December 2025, rotate every secret it could read: cloud, AI, database, payment, registrar and messaging keys. CloudSEK says patching alone is "insufficient". Use the secret rotation order planner to decide what goes first.
- Check for the back door. Audit
authorized_keysfor keys you cannot account for, plus cron jobs and SSH logins, and load CloudSEK's Sigma rule. - Look at what workloads can reach. Review Kubernetes service-account, EKS Pod Identity, IRSA and Azure managed-identity activity, and scope those roles tightly. Require IMDSv2 on AWS.
- Watch AI and cloud bills. Review CloudTrail, AI-platform usage and any recent Bedrock model access requests. Unexpected inference is a sign a key is being spent.
- Get secrets out of reach. Run apps as non-root, give each app its own secrets, avoid shared hosts, and keep secrets out of git history. The Secret Scanner checks pasted files in your browser.
If you find a planted key or a used credential, work it as an incident: the leaked credential response walks through revoke, rotate and verify.
Frequently asked questions
What is React2Keys?
React2Keys is the name CloudSEK gave, on 30 November 2026, to a credential-theft campaign that exploits React2Shell (CVE-2025-55182) in apps built on React Server Components and Next.js. CloudSEK says it stole "over 50,000 credentials from 19,000+ victims worldwide", from compromised CI/CD, cloud and AI infrastructure "associated with over 400 organizations", and that it adds its own SSH key to compromised accounts so patching does not remove access.
Which vulnerability does React2Keys exploit?
CVE-2025-55182, known as React2Shell: an unauthenticated remote code execution flaw in React Server Components disclosed in December 2025 and fixed in React 19.0.1, 19.1.2 and 19.2.1. CISA added it to its Known Exploited Vulnerabilities catalog on 5 December 2025. CloudSEK also names a related mode against Odoo (CVE-2026-25137) and a separate WordPress chain. React2Keys is not about the later React flaw CVE-2026-126187.
I patched React2Shell. Am I safe?
Not necessarily. CloudSEK says the attacker appends its own SSH public key to authorized_keys on compromised hosts, "so patching does not remove access", and that the payload takes environment variables, .env files, cloud credential files, SSH keys and Kubernetes service-account tokens. If an app was exposed and unpatched at any point, rotate every secret it could read and check authorized_keys, cron jobs and SSH logins.
Who is behind React2Keys?
CloudSEK does not name a group. It refers only to "the attacker" or "the operator". Other researchers have tied earlier React2Shell exploitation to other actors, but CloudSEK does not link React2Keys to them.
Did the attackers use AI?
CloudSEK says the operator validated stolen keys against AI services including Claude Code, OpenAI Codex, OpenRouter, Azure AI Foundry, OpenCode Zen and Google Gemini, ran inference on victims' accounts with stolen Claude Code OAuth tokens, and used stolen AWS credentials to submit the Amazon Bedrock model access form. It says an import path in the toolkit hints at an AI-agent framework. CloudSEK does not say an AI agent ran the intrusions.
Were victims named or notified?
No victims or sectors are named. CloudSEK says victims span "dozens of countries" and include both enterprise and small-business infrastructure, and it does not say whether victims were notified. It offers an exposure lookup on its own site.
Check your own servers
Patching does not remove a planted key. Paste your authorized_keys files into the SSH authorized_keys audit: it fingerprints every key, flags keys not on your list and checks for the indicator key CloudSEK published. The Web Shell File Finder covers web shells left on the same hosts.
Sources
- CloudSEK: React2Keys, AI-powered React2Shell campaign (30 Nov 2026)
- CISA Known Exploited Vulnerabilities catalog: CVE-2025-55182
- Advisory for CVE-2025-55182 with fixed versions
- GitHub advisory for CVE-2026-126187 (the later, separate flaw)
- PlayCISO: React CVE-2026-126187, critical RCE in Server Components
Spotted an error? Report an error. A person reads every message.