# React2Keys: AI-Powered Campaign Exploiting React2Shell (CVE-2025-55182) to Steal Secrets from 400 Organizations

> The React2Keys campaign exploited unpatched Node.js/Next.js servers via React2Shell (CVE-2025-55182) between Nov 9 and Nov 19, 2026, stealing more than 50,000 credentials from at least 19,000 hosts at about 400 organizations. The operator used Certificate Transparency logs for target discovery, validated stolen cloud, AI-service and crypto keys, and planted an SSH key for persistence that survives patching.

- **Author:** Threadlinqs Team
- **Published:** 2026-11-30T13:05:46Z
- **Last updated:** 2026-11-30T13:05:46Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7080
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7080.png
- **ID:** TL-2026-7080
- **Severity:** CRITICAL (CVSS 10)
- **Category:** VULNERABILITY
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 15
- **CVEs:** CVE-2025-55182

## Description

React2Keys is an automated credential-harvesting operation documented by CloudSEK, which gained access to the operator's infrastructure and recovered a 1.9-million-line exfiltration log, per-victim result folders, a toolkit of more than 900,000 files, and scan-ledger and inventory databases. Initial access is React2Shell (CVE-2025-55182, CVSS 10.0, CWE-502), a pre-authentication RCE caused by unsafe deserialization of React Flight payloads sent to Server Function endpoints in React Server Components (react-server-dom-webpack/parcel/turbopack 19.0.0, 19.1.0, 19.1.1, 19.2.0 and downstream frameworks such as Next.js). CISA added the flaw to KEV on 2025-12-05.

Target discovery: a discovery worker polls six public Certificate Transparency logs (Google, Cloudflare, DigiCert and Sectigo among them) every three minutes, deduplicates by registrable domain and queues batches for scanning. The scanner runs 60 concurrent probes with TLS verification disabled and fingerprints Next.js; only about 3% of candidate domains pass. A WAF-bypass module locates unprotected origin servers behind Cloudflare when payloads are blocked at the edge. Exploitation is a single unauthenticated POST to any Server-Action-reachable route with a crafted multipart body containing a weaponized React Flight object; prototype pollution leads to attacker JavaScript executing inside the live Node.js process. Command output is returned in the digest field of a thrown Error so Next.js production error handling carries the data back. The exploit re-sends the body at each redirect hop so apps behind auth-middleware redirects are not mistaken for patched.

Harvesting: every environment variable is matched against credential-sensitivity patterns, known secret files and .env.* variants are read, and a server-side filter keeps key-shaped values. Targeted secrets include AWS access keys and session credentials (including EKS Pod Identity/IRSA token exchange and the container metadata endpoint), Azure managed-identity tokens from IMDS, Google Cloud service-account keys, Anthropic, OpenAI and Gemini API keys, Claude Code OAuth tokens, GitHub tokens, PostgreSQL/Redis/MongoDB credentials, SSH private keys, the Kubernetes service-account token, and crypto exchange API keys and wallet private keys. Git archives are exfiltrated in full, a GitHub reconnaissance tool searches whole organizations for keys and mnemonic phrases, and a gateway credential was used to dump a third-party secrets manager (Infisical). The scanner imports from a .hermes/skills path, suggesting an AI-agent framework.

Validation and monetization: secrets are scored by estimated monetary value and validated in priority order (maximum 10 probes per host). Keys are tested against OpenRouter (four Claude models), Azure AI Foundry, OpenCode Zen, Gemini and OpenAI Codex; stolen Claude Code OAuth tokens are refreshed and used to run inference billed to the victim. Where AWS accounts were gated by the Anthropic Bedrock use-case form, the actor's script submitted the form with stolen credentials. Binance keys were validated through Tor. Stolen cloud tokens fund further scanning, including an AWS Lambda worker in a stolen-credential account and Hetzner servers joining a fleet broker (a VM-fleet bundle held 1,483,686 target lines across 297 shard files). A 74-entry lateral-movement target list was built from harvested SSH credentials, though a stage using it was not confirmed. Related chains for Odoo (CVE-2026-25137) and WordPress (CVE-2026-63030, CVE-2026-60137) were also present, with only 4 of 2,939 scanned WordPress hosts confirmed vulnerable.

Persistence: the operator's Ed25519 SSH public key (comment bluelocale-foothold) is appended to ~/.ssh/authorized_keys. Patching alone does not remediate: stolen credentials and the planted key remain usable. The sources do not name a threat actor and do not tie React2Keys to the China-nexus groups that exploited React2Shell generally. No attacker IP addresses, domains or file hashes were published.

## MITRE ATT&CK

- T1595.002 Vulnerability Scanning
- T1596.003 Digital Certificates
- T1190 Exploit Public-Facing Application
- T1078.004 Cloud Accounts
- T1059.007 JavaScript
- T1648 Serverless Execution
- T1098.004 SSH Authorized Keys
- T1552.001 Credentials In Files
- T1552.004 Private Keys
- T1552.005 Cloud Instance Metadata API
- T1552.007 Container API
- T1528 Steal Application Access Token
- T1555.006 Cloud Secrets Management Stores
- T1005 Data from Local System
- T1213.003 Code Repositories
- T1119 Automated Collection
- T1090.003 Multi-hop Proxy
- T1496.004 Cloud Service Hijacking

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**React2Shell (CVE-2025-55182) Node.js Process Spawning Shell or Download Utility - Exploitation** (`TL-2026-7080-SPL-001`)

TL-2026-7080 React2Keys: successful React2Shell exploitation runs attacker JavaScript inside the live Node.js/Next.js process (prototype pollution via a crafted React Flight body). Post-exploit command execution surfaces as node, nodejs or next-server spawning a shell, curl/wget, netcat, python or perl. Detects that parent/child relationship on Linux hosts running Sysmon for Linux.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1059.007
- **Data sources:** sysmon_for_linux, index=linux sourcetype=sysmon:linux
- **Severity:** critical
- **Confidence:** high

### Splunk SPL

```spl
index=linux sourcetype="sysmon:linux" EventCode=1 earliest=-24h
| where match(ParentImage, "(?i)/(node|nodejs|next-server)$")
| where match(Image, "(?i)/(sh|bash|dash|zsh|ash|busybox|curl|wget|nc|ncat|python3?|perl)$")
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as commands values(ParentCommandLine) as parent_cmd by host, User, ParentImage, Image
| convert ctime(first_seen) ctime(last_seen)
| table first_seen last_seen host User ParentImage Image parent_cmd commands count
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("node", "nodejs", "next-server")
| where FileName in~ ("sh", "bash", "dash", "zsh", "ash", "busybox", "curl", "wget", "nc", "ncat", "python", "python3", "perl")
| project Timestamp, DeviceName, AccountName, InitiatingProcessCommandLine, InitiatingProcessFolderPath, FileName, ProcessCommandLine
| order by Timestamp desc
```

### Sigma

```yaml
title: Node.js Process Spawning Shell or Download Utility (React2Shell CVE-2025-55182)
id: 3e8f1a52-9c47-4d6b-8a30-5b7c9d1e2f01
status: experimental
description: Detects node, nodejs or next-server spawning a shell, download utility, netcat or scripting interpreter, the post-exploitation pattern of React2Shell (CVE-2025-55182) used by the React2Keys campaign.
references:
  - https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft
  - https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components
author: Threadlinqs Team
date: 2026/11/30
tags:
  - attack.initial-access
  - attack.t1190
  - attack.execution
  - attack.t1059.007
  - cve.2025-55182
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|endswith:
      - '/node'
      - '/nodejs'
      - '/next-server'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/zsh'
      - '/ash'
      - '/busybox'
      - '/curl'
      - '/wget'
      - '/nc'
      - '/ncat'
      - '/python'
      - '/python3'
      - '/perl'
  condition: selection_parent and selection_child
falsepositives:
  - Build, deployment or health-check scripts that legitimately shell out from Node.js (npm scripts, next build, CI runners)
level: high
```

**Known false positives:**

- Node.js applications that legitimately invoke shell commands (image processing, git, child_process.exec in build or admin tooling)
- CI/CD runners and next build or npm lifecycle scripts executing on the same host

**Tuning notes:** Baseline known child_process usage per application for 7-14 days and exclude exact ParentCommandLine plus CommandLine pairs. Restrict to production web tiers; exclude build agents. Adjust index/sourcetype if Sysmon for Linux or auditd execve data is ingested under a different name.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- React2Shell Server Action POST with Crafted Multipart React Flight Body - Exploitation (locked: unlock with TL Creds)
- Node.js Process Querying Cloud Instance Metadata and Container Credential Endpoints - Credential Access (locked: unlock with TL Creds)
- React2Keys AWS Bedrock Use-Case Form, Lambda and IAM Key Abuse with Stolen Credentials - Resource Hijacking (locked: unlock with TL Creds)
- React2Keys Mass Next.js Server Action Probing from a Single Source - Exploitation / Scanning (locked: unlock with TL Creds)
- React2Keys Attacker SSH Key (bluelocale-foothold) Added to authorized_keys - Persistence (locked: unlock with TL Creds)
- Node.js Process Connecting to Tor or Local SOCKS Proxy Ports - Multi-hop Proxy (locked: unlock with TL Creds)
- React2Keys Node.js-Spawned Credential and Secret Harvesting Commands - Post-Exploitation (locked: unlock with TL Creds)
- React2Keys Secrets Manager Bulk Retrieval with Stolen Credentials - Credential Abuse (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [AI-powered React2Keys campaign steals secrets from 400 organizations](https://www.bleepingcomputer.com/news/security/ai-powered-react2keys-campaign-steals-secrets-from-400-organizations/)
- [CloudSEK: React2Keys - React2Shell AI-powered credential theft](https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft)
- [CloudSEK React2Keys exposure checker](http://exposure.cloudsek.com/react2keys)
- [NVD: CVE-2025-55182](https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-55182)
- [React: Critical Security Vulnerability in React Server Components](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components)
- [Meta security advisory CVE-2025-55182](https://www.facebook.com/security/advisories/cve-2025-55182)
- [oss-security: CVE-2025-55182](http://www.openwall.com/lists/oss-security/2025/12/03/4)
- [CISA KEV catalog entry for CVE-2025-55182](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-55182)
- [AWS: China-nexus cyber threat groups rapidly exploit React2Shell (CVE-2025-55182)](https://aws.amazon.com/blogs/security/china-nexus-cyber-threat-groups-rapidly-exploit-react2shell-vulnerability-cve-2025-55182/)
- [Microsoft: Defending against CVE-2025-55182 React2Shell in React Server Components](https://www.microsoft.com/en-us/security/blog/2025/12/15/defending-against-the-CVE-2025-55182-react2shell-vulnerability-in-react-server-components/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7080
