---
schema: 1
kind: threat
title: "React2Keys: an automated campaign exploits React2Shell (CVE-2025-55182) on Next.js hosts it picks from certificate-transparency logs, harvests cloud, AI, database and payment secrets, and plants an SSH key that survives patching, per CloudSEK (CVSS 10.0)"
headline: "React2Keys: automated React2Shell campaign steals cloud, AI and database secrets; patching does not evict, rotate"
summary: >
  CloudSEK reports React2Keys, an automated operation that exploits React2Shell (CVE-2025-55182, CVSS
  10.0, unauthenticated remote code execution in React Server Components) against Next.js hosts chosen
  from certificate-transparency logs and harvests the environment secrets, cloud identities and
  database credentials it finds, counting 400+ organisations and 50,000+ credentials by its own
  figures. The actor plants an SSH key, so updating to React 19.0.1, 19.1.2 or 19.2.1 does not remove
  access and every secret the host could read needs rotating.
discovered_at: "2026-12-01T04:43:00Z"
updated_at: null
event_date: "2026-11-30"
run_id: 2026-12-01T0356Z-intel
priority: notable
immediate_action: null
tags: [vulnerabilities, actively-exploited, rce, pre-auth, cloud, patch-available]
regions: [global]
sectors: [technology]
entities: ["campaign:react2keys"]
techniques: [T1190, T1059.007, T1595.002, T1596.003, T1552.001, T1552.005, T1528, T1078.004, T1098.004, T1213.003, T1041]
affected_products: ["Next.js", "React Server Components"]
cves:
  - id: CVE-2025-55182
    cvss: "10.0"
    epss: null
    type: rce
    vector: zero-click
    auth: pre-auth
    status: [exploited, patch-available]
    affected: "React Server Components 19.0, 19.1.0, 19.1.1 and 19.2.0, and the frameworks that include them (Next.js, React Router, Waku, @parcel/rsc, @vitejs/plugin-rsc, rwsdk)"
    fixed: "React 19.0.1, 19.1.2 and 19.2.1; Next.js and the other frameworks per their own advisories"
sources:
  - url: "https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft"
    publisher: "CloudSEK"
    date: "2026-11-30"
    role: primary
  - url: "https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components"
    publisher: "React Team"
    date: "2025-12-03"
    role: corroborating
closed_sources: []
evidence:
  - quote: "The threat actor has been harvesting environment variables, application secrets, cloud and database credentials, API keys, authentication tokens and other sensitive information from exposed servers."
    publisher: "CloudSEK"
    source_url: "https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft"
  - quote: "Because stolen credentials work independently of the vulnerable app, patching alone is insufficient."
    publisher: "CloudSEK"
    source_url: "https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft"
  - quote: "This is not a campaign against a specific sector or region."
    publisher: "CloudSEK"
    source_url: "https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft"
  - quote: "There is an unauthenticated remote code execution vulnerability in React Server Components."
    publisher: "React Team"
    source_url: "https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components"
verification: single-source
sourcing_note: "The campaign, its counts and its behaviour rest on CloudSEK's analysis of the operator's recovered server and are not corroborated by a second analyst; the flaw, its CVSS 10.0 score and the fixed React releases come from the React team's advisory."
confidence: medium
references: []
deep_dive: false
deep_dive_category: null
org_triage: null
classification:
  reliability: B
  credibility: 2
watchlist_hit: false
actions:
  - "Upgrade every internet-facing app that supports React Server Components to React 19.0.1, 19.1.2 or 19.2.1 or later (Next.js to the release patched for CVE-2025-55182) and, for any that ran an older build while reachable, rotate every credential in its environment variables and secret files (cloud, AI-provider, database, registrar, payment and secrets-manager credentials) and review its authorized_keys files and cron jobs, because CloudSEK reports the actor plants an SSH key that survives patching."
updates: []
migrated_from: null
---

CloudSEK says it recovered an operator's exposed server, including a 1.9-million-line exfiltration log, per-victim result folders and a toolkit of more than 900,000 files, and reports a fully automated credential-harvesting operation it calls React2Keys, built on React2Shell, the unauthenticated remote code execution flaw CVE-2025-55182 in React Server Components that the React team rates CVSS 10.0 ([CloudSEK, 2026-11-30](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft); [React Team, 2025-12-03](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components)). CloudSEK counts compromised CI/CD, cloud and AI infrastructure of more than 400 organisations and more than 50,000 credentials from 19,000+ victims in no particular sector or region; the counts are CloudSEK's own ([CloudSEK, 2026-11-30](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft)).

Targets select themselves: the actor polls six public certificate-transparency logs every three minutes, so a new certificate can become a scan target within minutes, keeps the roughly 3 percent of domains that fingerprint as Next.js, and, where a payload is blocked at the edge, infers an undocumented Cloudflare IP range to attack the origin server directly ([CloudSEK, 2026-11-30](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft)). Initial access is one unauthenticated POST with a crafted multipart body to any route a Server Action can reach, and the exploit re-sends the body at each redirect hop, so apps behind authentication-middleware redirects are not mistaken for patched ([CloudSEK, 2026-11-30](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft)). The payload then reads environment variables that match a credential pattern and known secret files (.env files, cloud credential files, SSH keys, the Kubernetes service-account token), queries the container metadata endpoint, exchanges a Kubernetes token for temporary AWS credentials through EKS Pod Identity or steals Azure managed-identity tokens, opens connections to the victim's own PostgreSQL, Redis and MongoDB databases, exfiltrates git archives, and uses a GitHub token to search whole organisations for Anthropic keys, AWS secrets, private keys and mnemonic phrases ([CloudSEK, 2026-11-30](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft)). CloudSEK reports that the actor appends its own SSH public key to a compromised account's authorized_keys, so patching does not remove access ([CloudSEK, 2026-11-30](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft)). React lists 19.0, 19.1.0, 19.1.1 and 19.2.0 as affected, fixed in 19.0.1, 19.1.2 and 19.2.1 ([React Team, 2025-12-03](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components)).

**Exposure:** an internet-facing app that supports React Server Components on 19.0, 19.1.0, 19.1.1 or 19.2.0, or a framework that includes them (Next.js, React Router and Waku among them), even one that implements no Server Function endpoint of its own; the react and next versions in the lockfile show it ([React Team, 2025-12-03](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components)).

**Detection:** in web access logs, a POST with a multipart body to a Server Action route, repeated at each redirect hop, and error responses that carry output in a digest field; on the application host, a Node.js process that reads environment variables and secret files and then queries the metadata endpoint; in cloud control-plane audit, use of the host's keys, roles or managed identity from other addresses, new IAM users, Bedrock model-access changes and unexpected instance launches; and unknown keys in authorized_keys files or new cron jobs. A host that held no static key is not cleared, because the payload exchanges Kubernetes and managed-identity tokens, so EKS Pod Identity and IRSA role activity and Azure managed-identity token use need review too ([CloudSEK, 2026-11-30](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft)).

**Defender takeaway:** upgrade React and Next.js, then treat every secret an affected host could read as stolen: rotate cloud, AI-provider, database, registrar, payment and messaging credentials and any secrets-manager gateway credential, and audit cloud logs, because the stolen credentials work without the vulnerable app ([CloudSEK, 2026-11-30](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft)). An estate that runs no React Server Components app changes nothing.
