Attackers exploited a year-old React Server Components vulnerability to steal cloud, AI and database credentials from exposed servers, according to security firm CloudSEK. Its newly disclosed investigation describes a campaign called React2Keys that harvested more than 50,000 credentials from over 19,000 hosts and reached infrastructure associated with more than 400 organizations.
The activity observed from November 9 to 19, 2026, targeted the React2Shell flaw, CVE-2025-55182, in unpatched environments including Next.js applications. The immediate job for affected teams is not just to upgrade: credentials taken before a fix can still work, and CloudSEK found a way for the attacker to retain SSH access.
The figures come from CloudSEK’s analysis of attacker infrastructure, including an exfiltration log, victim folders and tools. They are the firm’s findings rather than an independent count of every affected organization. The investigation does not establish that every technique succeeded against every host.
How the campaign reached beyond a web app
CloudSEK found that the operator monitored public certificate transparency logs for newly issued certificates, then screened domains for Next.js. Against vulnerable servers, a crafted unauthenticated request could execute JavaScript in the running Node.js process. React2Shell affects the server-side component protocol; simply using React in a browser does not establish that an application is vulnerable.
The payload searched environment variables, .env files, cloud credential files, SSH keys and Kubernetes service-account tokens. Follow-on tools also sought temporary cloud credentials, including Azure managed-identity tokens and AWS credentials obtained through workload identity. A deployment without a long-lived access key on disk was therefore not necessarily out of reach.
In one example, a credential accessible to an application opened a third-party secrets manager and exposed its stored secrets. Other tools searched Git repositories and their history, connected to databases and tested AI-provider keys. CloudSEK also observed stolen cloud access being used to support further scanning. These are observed capabilities and examples, not proof that all victims suffered each outcome.
Which deployments need attention?
Inventory internet-facing and internal applications that use React Server Components or a framework incorporating them, including Next.js App Router deployments. Check the versions actually running in containers, serverless functions and older deployments, not only the versions declared in the main repository. The upstream React issue is CVE-2025-55182; Next.js tracked the downstream issue as CVE-2025-66478.
Upgrade affected packages and redeploy using the current guidance for your framework and supported release line. The Next.js security update also covers subsequent related flaws and notes that an initial fix for one denial-of-service issue was incomplete. A version that addressed the original remote-code-execution flaw is not automatically current for every later advisory.
Next.js has urged organizations whose applications were online and unpatched at the time of the original disclosure to rotate the secrets they used. A current patch prevents this known entry point; it cannot establish that a previously exposed server was never accessed.
What to do if a server was exposed
- Contain and preserve evidence. Restrict access to the affected deployment, preserve relevant logs and snapshots under your incident-response process, and rebuild compromised workloads from trusted images. Coordinate changes so that evidence is not lost.
- Revoke and replace exposed secrets. Inventory credentials the application and its runtime could read, including cloud and AI API keys, database passwords, CI/CD tokens, SSH keys and secrets-manager credentials. Rotate downstream secrets reachable through a compromised vault credential, not just the vault login. Plan the replacement to avoid unnecessary outages.
- Check for persistence. Review accounts’
authorized_keys, SSH access and scheduled jobs for unfamiliar entries. CloudSEK published an experimental detection rule for a specific SSH public key it observed; a match warrants investigation, but no match does not rule out compromise. - Investigate identities and usage. Review cloud audit logs for unexpected role sessions, deployments and permission changes; inspect Kubernetes service-account activity and managed identities; and check AI provider usage and billing for unfamiliar requests. Examine Git and database access where the workload had permissions.
- Reduce future exposure. Limit workload permissions, separate secrets between applications and run services without unnecessary privileges. Review both current and historical repository secrets that an accessed token could have exposed.
CloudSEK offers an exposure lookup for domains or work email addresses. Treat any result as a lead for investigation, not proof that a system is clean or compromised, and consider your organization’s policy before submitting identifying information to a third party.