React2Keys: 50,000 Keys Stolen via a Year-Old React Flaw

By 12 min read
React2Keys credential theft campaign exploiting the React2Shell flaw in Next.js servers

A flaw that React patched on 3 December 2025 was still good for more than 50,000 stolen credentials eleven months later. That is the headline of React2Keys, a ten-day campaign that CloudSEK says ran from 9 to 19 November 2026 and treated every vulnerable Next.js server as a key ring.

The short answer: React2Keys is an automated credential theft operation that exploited React2Shell (CVE-2025-55182) on unpatched Next.js servers, then ranked, tested and reused the cloud, database, AI and payment keys it found. If your server was exposed, updating React is only step one; the stolen keys and a planted SSH key survive the patch.

What is React2Keys?

React2Keys is the name CloudSEK gave to the campaign in a report dated 30 November 2026. CloudSEK says it was able to track the operation after gaining access to the attacker’s infrastructure, where it found a 1.9-million-line exfiltration log, more than 900,000 tooling files and results sorted victim by victim, according to IT-Connect’s summary of the report.

The name fits. As IT-Connect puts it, everything in the toolkit revolves around keys: it steals them, checks whether they work, classifies them and keeps them.

A note on sourcing: CloudSEK’s own report page was behind a bot check that blocked us during research. Everything attributed to CloudSEK below comes from three independent write-ups of the report (Hackread, IT-Connect and RedEye Threat Intelligence), checked against each other, plus the primary React, Next.js and Cisco Talos pages.

Four headline React2Keys figures: 50,000 credentials, 19,000 victims, 400 organisations, 1.9 million log lines.
The scale comes from the attacker's own records, which CloudSEK recovered. Data: CloudSEK, as reported by Hackread and IT-Connect.

What is React2Shell (CVE-2025-55182)?

React2Shell is the nickname for CVE-2025-55182, an unauthenticated remote code execution flaw in React Server Components rated CVSS 10.0. React Server Components let part of a React app run on the server, and React Server Functions let the browser call server code over HTTP.

React’s advisory explains that the bug sat in how React decodes payloads sent to those Server Function endpoints. A crafted request could make the server execute code without any login. The React team also warned that apps could be vulnerable even without defining any Server Functions, as long as they supported Server Components.

Which versions are affected?

The vulnerable packages were react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack at versions 19.0, 19.1.0, 19.1.1 and 19.2.0. React fixed them in 19.0.1, 19.1.2 and 19.2.1.

Next.js tracked its downstream exposure as CVE-2025-66478. Its advisory lists App Router applications on Next.js 15.x, 16.x and 14.3.0-canary.77 or later canaries as affected. Stable 13.x and 14.x, Pages Router apps and the Edge Runtime were not.

Release line First fixed Next.js version
15.0.x 15.0.5
15.1.x 15.1.9
15.2.x 15.2.6
15.3.x 15.3.6
15.4.x 15.4.8
15.5.x 15.5.7
16.0.x 16.0.7

Those are the minimum versions for the RCE, not today’s baseline. React’s advisory was later updated for follow-up denial-of-service and source code exposure bugs, including CVE-2026-23864 in January 2026, and it now lists newer Next.js releases per line, such as 15.5.10 and 16.0.11.

When was it disclosed?

According to React’s timeline, researcher Lachlan Davidson reported the bug through Meta’s bug bounty on 29 November 2025, and the fix and CVE were published on 3 December 2025. On 6 December, Next.js told anyone whose app was online and unpatched as of 4 December at 1:00 PM PT to rotate their secrets.

Timeline from React2Shell disclosure in December 2025 to the React2Keys report in November 2026.
React2Keys arrived almost a year after the fix, and seven months after Talos documented a similar harvest. Data: React, Next.js, Cisco Talos, CloudSEK.

How did the React2Keys attack work?

The chain, as reconstructed from CloudSEK’s findings, is fully automated from target discovery to sorting the loot. Here it is at a conceptual level.

Step 1: finding new targets in certificate logs

Certificate Transparency (CT) logs are public records of every TLS certificate issued. The React2Keys tooling polled six CT logs every three minutes, so a site could land in the scanning queue shortly after getting a certificate. It deduplicated by registrable domain and fingerprinted each site for Next.js; about 3% passed that filter.

RedEye reports the scanner ran 60 concurrent probes with TLS verification disabled, had a module to find origin servers behind Cloudflare, and came with a bundle of 1,483,686 additional target lines. Those are targets, not confirmed victims.

Step 2: one request to code execution

CloudSEK says the exploit needed one unauthenticated POST to a route that reaches a Server Action. Command output came back inside Next.js error responses, so the attacker did not need a separate channel to read results.

React2Shell was not the only door. RedEye notes the toolkit also had an Odoo mode for CVE-2026-25137 and a WordPress chain using CVE-2026-63030 and CVE-2026-60137, though only 4 of 2,939 scanned WordPress hosts were confirmed vulnerable.

Step 3: emptying the server

Once inside, the tooling identified its environment (Kubernetes pods, AWS Lambda, ECS Fargate, PM2 or plain containers) and collected environment variables, .env files, SSH keys, Kubernetes service account tokens and cloud credential files.

Step 4: pivoting beyond the web server

This is where React2Keys goes further than a simple secret grab. According to the reporting, it:

  • queried cloud metadata services, the internal endpoints that hand temporary credentials to cloud workloads, to get AWS and Azure credentials even when no static key was stored;
  • installed PostgreSQL, Redis and MongoDB drivers at runtime and opened live database connections;
  • copied full Git repositories and ran GitHub code searches across whole organisations with stolen tokens;
  • pulled every secret from a third-party secrets manager (identified by RedEye as Infisical) using a gateway credential readable from the app.

RedEye stresses that CloudSEK does not claim every route succeeded at every victim.

Seven-stage React2Keys attack chain from certificate log scanning to SSH key persistence.
The web server was only the entry point; the pivot and persistence stages are what make cleanup hard. Data: CloudSEK, as reported by IT-Connect and RedEye.

Step 5: ranking, testing and spending the keys

Each secret was scored by estimated monetary value and tested in priority order, with a cap of 10 probes per host. Results were sorted into states such as live, no credit, quota capped, dead and rate limited. CloudSEK found 225 captured AWS STS session files, which it says show validation ran in near real time.

AI access was a clear target. RedEye reports the tooling tested OpenRouter access against four Claude models, refreshed stolen Claude Code OAuth tokens and ran inference billed to victims. Crypto checks covered 11 exchanges, and stolen cloud access paid for more scanning, including a Lambda worker in a victim’s AWS account.

Step 6: leaving a door open

Finally, the attacker appended its own SSH public key to the compromised account’s authorized_keys file. CloudSEK treats that key as a confirmed indicator, and its Sigma rule includes the comment marker bluelocale-foothold.

What was stolen in React2Keys?

IT-Connect lists the main categories from CloudSEK’s report:

Category Count Examples named
Authentication secrets 9,581 JWT and OAuth tokens, session secrets
Database access 7,778 PostgreSQL, MySQL, MongoDB, Redis
Cloud credentials 7,777 AWS, Azure, Google Cloud, Cloudflare, Vercel
AI provider keys 2,989 OpenAI, Anthropic, Gemini, Groq
Payment credentials 2,091 Stripe, Razorpay, PayPal

Hackread adds domain registrar and cryptocurrency credentials and one case where a server credential opened a separate secrets store. These categories add up to about 30,000, so the rest of the 50,000+ total falls outside the listed groups.

Bar chart of React2Keys stolen secrets: authentication, database, cloud, AI and payment credentials.
Authentication, database and cloud secrets dominate, but the AI and payment keys were the fastest to turn into money. Data: CloudSEK, as reported by IT-Connect.

Who is affected by React2Keys?

Anyone who ran an internet-facing Next.js App Router application on a vulnerable version, at any point while the campaign was scanning, should treat themselves as potentially affected. IT-Connect reports that the campaign did not target a specific industry or region and hit large and small organisations in dozens of countries, with Brazil the largest share at 22.9% of victims and France at 7.1%.

How to check your exposure

  1. Confirm your React and Next.js versions today and in every deployment that ran between December 2025 and now. A current version says nothing about what was exposed before the update.
  2. Search every authorized_keys file on the app host and its user accounts for unknown keys, and specifically for the bluelocale-foothold comment.
  3. Use CloudSEK’s React2Keys exposure lookup, which accepts a domain, subdomain or IP address. RedEye cautions that a negative result has not been shown to rule out compromise.

How do you detect React2Keys activity?

None of the reporting we reviewed publishes MITRE ATT&CK IDs for React2Keys. The mapping below is our own reading of the behaviours CloudSEK describes, to help defenders route detections.

Behaviour reported ATT&CK technique (our mapping) Where to look
One POST to a Server Action leads to code execution T1190 Exploit Public-Facing Application WAF and reverse proxy logs, Node.js process spawning shells
Reading .env files, env vars, SSH and K8s tokens T1552.001 Credentials In Files File access auditing, EDR on container hosts
Querying cloud metadata for temporary credentials T1552.005 Cloud Instance Metadata API VPC flow logs, IMDS access, CloudTrail for role sessions
Copying Git history, org-wide code search T1213.003 Code Repositories GitHub audit log, unusual clones and search API use
Attacker SSH key appended T1098.004 SSH Authorized Keys File integrity monitoring on authorized_keys
Victim cloud and AI accounts used for scanning and inference T1496 Resource Hijacking Billing alerts, AI provider usage dashboards

Concrete signals

  • Application layer: the Next.js process spawning sh, curl or package managers, or installing database drivers at runtime.
  • Identity layer: API keys and OAuth tokens used from IP addresses and user agents you have never seen, often in a burst of short validation calls.
  • Cloud layer: new STS sessions for the app’s role from outside your network, new Lambda functions or compute you did not deploy, and a Bedrock use-case form you did not submit.
  • Billing: AI provider spend or token usage spikes without a matching deploy. Our earlier piece on ARTEX agents stealing LLM API keys shows why AI keys are now a first-class target.

For the full indicator set and CloudSEK’s Sigma rule, use the CloudSEK report linked in the sources rather than a copy.

How do you mitigate React2Keys?

CloudSEK’s core message, as quoted by IT-Connect, is that the stolen credentials work independently of the vulnerable application. In priority order:

  1. Patch React and Next.js to the latest release in your line, not only the first RCE fix, so the follow-up bugs are covered too.
  2. Rotate every secret the server could read: environment variables, database passwords, cloud keys, AI provider keys, payment keys, GitHub tokens and anything in a secrets manager the app could reach. Start with the ones that move money or grant cloud admin.
  3. Remove unknown SSH keys from authorized_keys, then rotate any SSH keys that were stored on the host, since RedEye reports the actor built a 74-entry lateral movement list from harvested SSH credentials.
  4. Audit cron jobs and cloud identities: review CloudTrail and the Azure and Google Cloud equivalents for activity by the app’s role, and revoke sessions.
  5. Check AI and payment provider usage and set spending alerts. Revoke Claude Code and other agent OAuth tokens that lived on the host.
  6. Shrink the blast radius for next time: enforce IMDSv2 on AWS, scope workload identities tightly, and keep secrets-manager gateway credentials out of app-readable environments.

If your developers keep agent credentials in project files, our analysis of the Claude Code settings.local.json secrets leak covers how those tokens end up on disk in the first place.

How does React2Keys compare with earlier React2Shell campaigns?

React2Keys is not the first credential harvest built on React2Shell. On 2 April 2026, Cisco Talos described a cluster it tracks as UAT-10608, whose “NEXUS Listener” panel showed 766 hosts compromised within 24 hours.

  UAT-10608 (Talos, April 2026) React2Keys (CloudSEK, November 2026)
Entry point React2Shell in Next.js React2Shell, plus Odoo and WordPress modules
Scale reported At least 766 hosts 50,000+ credentials, 19,000+ victims, 400+ organisations
Target discovery Talos assesses likely Shodan, Censys or custom scanners Certificate Transparency logs every three minutes
Collection Shell scripts in /tmp, phases for env, SSH, cloud metadata, K8s, Docker Env, files, SSH, K8s, cloud metadata, then live DB and Git pivots
What happened to keys Stored and browsable in a C2 dashboard Scored by value, tested, then spent
Persistence reported Not described Attacker SSH key in authorized_keys
Attribution Tracked cluster UAT-10608 No actor named

The difference is what happens after the theft. UAT-10608’s panel was a catalogue; React2Keys behaves more like a cash-out pipeline that validates and uses keys within the same run. The pattern also echoes supply chain stealers we have covered, such as wfx-loot’s GitHub Actions secret theft, where the real prize is the credential, not the first host.

Was React2Keys an AI-powered attack?

Sources disagree on the framing. IT-Connect reports that CloudSEK says the whole chain, from discovery to sorting secrets, is automated with AI assistance. RedEye reads the same report differently: it says CloudSEK’s statement about AI assistance refers to CloudSEK’s own mapping work, and that a .hermes/skills import path only hints at an AI agent framework without identifying a model that ran the intrusions.

What everyone agrees on is narrower. Hackread notes the report describes AI assisting the operation but does not say AI found the React2Shell flaw. The clearest AI link is on the victim side: stolen AI keys and Claude Code tokens were tested and used. For a wider look at how AI-run intrusions actually perform, see our analysis of 128 AI agent intrusions tracked by Infrawatch.

What is still unknown?

  • Who ran it. No threat actor is named. Earlier React2Shell exploitation by other groups does not tie them to this campaign.
  • How many keys still worked. The 50,000+ figure is a count of credentials taken, not of credentials confirmed live. RedEye notes the report text gives no total for live keys.
  • What the 19,000 counts. CloudSEK’s headline says victims; BleepingComputer, as cited by RedEye, says hosts. Neither means 19,000 separate companies.
  • Downstream damage. Hackread quotes Sectigo’s Jason Soroko warning that a victim could end up paying for compute used to attack others, but per-organisation losses remain unclear.
  • Whether it has stopped. The reported activity window closes on 19 November 2026, and none of the sources confirm the infrastructure is gone.

The bottom line

React2Keys shows what an old, patched bug is worth when attackers automate everything after the exploit: one request, then a ranked list of working keys. If your Next.js App Router app was online and unpatched at any point since December 2025, patch, then assume its secrets are gone and rotate them, and check authorized_keys before you call the incident closed.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is React2Keys?

React2Keys is the name CloudSEK gave to an automated credential theft campaign that exploited the React2Shell vulnerability in Next.js applications between 9 and 19 November 2026. It stole, ranked and tested cloud, database, AI and payment credentials.

What is React2Shell?

React2Shell is the common name for CVE-2025-55182, an unauthenticated remote code execution flaw in React Server Components rated CVSS 10.0. React disclosed it on 3 December 2025 and fixed it in versions 19.0.1, 19.1.2 and 19.2.1.

How many credentials did React2Keys steal?

Coverage of CloudSEK's report puts the total at more than 50,000 credentials from over 19,000 victims, with more than 400 organisations affected. Some reports describe the 19,000 as hosts, and the total is not a count of keys confirmed to still work.

Which Next.js versions are vulnerable to React2Shell?

Next.js says App Router applications on 15.x, 16.x and 14.3.0-canary.77 or later canaries were affected. Stable 13.x and 14.x, Pages Router apps and the Edge Runtime were not. The first fixed releases include 15.0.5, 15.5.7 and 16.0.7.

Is patching React2Shell enough if I was hit by React2Keys?

No. Stolen credentials work independently of the vulnerable app, and the attacker added its own SSH key to compromised accounts. You need to rotate every secret the server could reach and remove unknown authorized_keys entries.

How do I check if my server was compromised by React2Keys?

Look for an SSH key carrying the comment bluelocale-foothold in authorized_keys files, review cloud audit logs and AI provider usage for activity you did not start, and use CloudSEK's React2Keys exposure lookup. A clean lookup alone does not prove you were not compromised.

Who is behind React2Keys?

The reporting reviewed for this article names no threat actor. Earlier React2Shell exploitation by other groups, including the cluster Cisco Talos tracks as UAT-10608, has not been tied to React2Keys.

Was React2Keys an AI-powered attack?

Partly, and sources differ on how much. Reporting agrees the operation stole and abused AI access, such as Claude Code tokens. One write-up says CloudSEK describes the chain as AI-assisted, while another says that wording refers to CloudSEK's own analysis and that no model is identified as running the intrusions.

Keep reading

React2KeysReact2ShellCVE-2025-55182Next.jscredential theftCloudSEKthreat intelligence