React2Keys Exploits CVE-2025-55182 to Steal 50K+ Keys

React2Keys campaign steals 50,000+ cloud and AI keys via React2Shell flaw

CRITICAL
December 1, 2026
6m read
CyberattackVulnerabilityData Breach

Related Entities

Products & Tech

React Server ComponentsNext.js Google Gemini

Other

React2KeysSoftBank MercellSenkadagala FinanceHarvard University OpenAI Anthropic

CVE Identifiers

CVE-2025-55182
CRITICAL
CVSS:10

Full Report

Executive Summary

A highly automated and widespread credential harvesting campaign, named React2Keys, has compromised over 400 organizations by exploiting a year-old critical vulnerability. The campaign, active from approximately November 9 to November 19, 2026, leveraged React2Shell (CVE-2025-55182), a remote code execution (RCE) flaw in React Server Components with a CVSS score of 10.0. Attackers successfully exfiltrated over 50,000 high-value credentials, including API keys for major cloud providers like AWS, Azure, and Google Cloud, as well as keys for AI services from OpenAI, Anthropic, and Google Gemini. The operation's infrastructure, uncovered by researchers at CloudSEK, revealed a sophisticated process of automated discovery, exploitation, and validation of stolen keys, reportedly using AI to rank their value. The breach impacted major entities such as SoftBank and Harvard University, demonstrating the severe consequences of failing to patch critical, internet-facing vulnerabilities.


Threat Overview

The React2Keys campaign was characterized by its speed and automation. The threat actors monitored public Certificate Transparency logs to identify newly registered domains. This allowed them to discover and target servers running vulnerable versions of Next.js and other React-based frameworks within minutes of their deployment.

Once a vulnerable host was identified, the attackers exploited CVE-2025-55182 to achieve remote code execution. They then deployed a JavaScript payload designed to:

  1. Fingerprint the compromised system.
  2. Scan for and validate environment variables (.env files).
  3. Exfiltrate any discovered secrets, such as API keys, database connection strings, SSH keys, and Kubernetes tokens.

The scale of the operation was massive, compromising at least 19,000 hosts and resulting in the theft of over 50,000 credentials. The stolen data spanned a wide range of services, indicating a broad, opportunistic approach rather than targeted attacks. The use of AI to validate and prioritize the stolen keys for monetization represents a significant evolution in attacker methodology.


Technical Analysis

The attack hinges on the exploitation of CVE-2025-55182 (React2Shell), a critical RCE vulnerability disclosed in December 2025. This flaw affects applications using React Server Components, allowing an unauthenticated attacker to execute arbitrary code on the server. The campaign's success, nearly a year after the patch was released, underscores a widespread failure in patch management and asset visibility.

MITRE ATT&CK Techniques


Impact Assessment

The impact of the React2Keys campaign is severe and long-lasting. For the 400+ affected organizations, the immediate risk is the complete compromise of their cloud and AI infrastructure. Stolen credentials could be used to access, modify, or destroy data, spin up costly resources (cryptomining), or pivot deeper into corporate networks. The theft of AI service keys is particularly damaging, as these can be abused for expensive model training or inference, leading to massive financial losses. The public disclosure of victims like SoftBank and Harvard University causes significant reputational damage. Even after patching the React2Shell vulnerability, these organizations remain at risk from the stolen credentials, which could provide attackers with persistent access if not immediately rotated.


IOCs — Directly from Articles

No specific file hashes, IP addresses, or domains for the malicious infrastructure were provided in the source articles.


Cyber Observables — Hunting Hints

Security teams can hunt for signs of this activity by looking for the following patterns:

Type
command_line_pattern
Value
cat .env or printenv
Description
Suspicious commands executed by a web server process (e.g., node) attempting to read environment variables.
Type
url_pattern
Value
/[...all]/[...slug] in Next.js logs
Description
The React2Shell exploit often involves malformed URL paths. Look for unusual or deeply nested path requests.
Type
network_traffic_pattern
Value
Outbound connections from web servers to unknown IPs on high ports.
Description
Data exfiltration may occur over non-standard ports or to newly registered domains.
Type
log_source
Value
Certificate Transparency Logs
Description
Monitor these logs for new subdomains associated with your organization to detect potential staging or shadow IT.

Detection & Response

Detecting exploitation of a known vulnerability like React2Shell requires robust monitoring of web server logs and process activity.

Detection Strategies

  1. Web Application Firewall (WAF): Deploy a WAF with virtual patching rules specifically designed to block exploit attempts against CVE-2025-55182. This is a form of D3FEND's Inbound Traffic Filtering.
  2. Endpoint Detection and Response (EDR): Monitor web server processes (e.g., node) for anomalous behavior, such as spawning shells (/bin/sh), reading sensitive files (.env), or making unexpected outbound network connections. This aligns with D3FEND's Process Analysis.
  3. Log Analysis: Ingest web server access logs and application logs into a SIEM. Create alerts for suspicious URL patterns, error codes, or source IPs associated with known scanners.

Response Actions

  • Immediately isolate any server suspected of compromise.
  • If compromised, assume all secrets, keys, and credentials on the host have been stolen. Initiate a full-scale credential rotation for all services (AWS, Azure, GCP, databases, API keys, etc.).
  • Patch the CVE-2025-55182 vulnerability by updating to a non-vulnerable version of Next.js or the underlying React components.
  • Conduct a thorough investigation to determine the full scope of the breach and any subsequent attacker activity.

Mitigation

The React2Keys campaign highlights the critical importance of fundamental security hygiene.

Strategic Mitigation

  • Secrets Management: Do not store secrets in plaintext files or environment variables on web servers. Use a dedicated secrets management solution (e.g., HashiCorp Vault, AWS Secrets Manager) to dynamically inject credentials at runtime. This aligns with D3FEND's Credential Hardening.
  • Attack Surface Management: Maintain a complete and accurate inventory of all internet-facing assets and their software versions. Continuously scan for vulnerabilities and prioritize patching based on exploitability and impact.

Tactical Mitigation

  1. Patch Immediately: The most critical step is to apply the patch for CVE-2025-55182. This is a core part of D3FEND's Software Update process.
  2. Network Egress Filtering: Restrict outbound network connections from web servers to only known and required endpoints. This can prevent or disrupt the exfiltration of stolen data. This is an application of D3FEND's Outbound Traffic Filtering.
  3. Use IAM Roles: For applications running in the cloud, use temporary credentials provided by IAM roles instead of long-lived static API keys. This limits the window of opportunity for attackers if a host is compromised.

Timeline of Events

1
December 1, 2025
The React2Shell vulnerability (CVE-2025-55182) is first disclosed.
2
November 9, 2026
The React2Keys automated attack campaign begins.
3
November 19, 2026
The main phase of the React2Keys campaign concludes.
4
December 1, 2026
This article was published

MITRE ATT&CK Mitigations

Promptly patching known critical vulnerabilities like CVE-2025-55182 is the most effective mitigation.

Avoid storing plaintext credentials in files. Use managed secrets stores and IAM roles to protect sensitive keys.

Implementing egress filtering to block outbound connections from web servers to unauthorized endpoints can prevent data exfiltration.

Audit

M1047enterprise

Log and audit process execution and file access on web servers to detect anomalous behavior like reading .env files.

Timeline of Events

1
December 1, 2025

The React2Shell vulnerability (CVE-2025-55182) is first disclosed.

2
November 9, 2026

The React2Keys automated attack campaign begins.

3
November 19, 2026

The main phase of the React2Keys campaign concludes.

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Editorial Standards & Analyst Review

CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.

Tags

React2KeysReact2ShellCVE-2025-55182Credential TheftAPI KeysCloud SecurityNext.jsRCE

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

⚡ Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.