December 1, 2026
React2Keys: How Attackers Stole More Than 50,000 Credentials Through React2Shell Exploitation
A technical investigation of CVE-2025โ55182, exposed Next.js servers, cloud secrets, and CI/CD compromise.

By Rebline CyberSec
3 min read
React2Keys credential theft campaign
Introduction
Modern web applications depend on interconnected technologies.
A single application may use React for its frontend, Next.js for server-side functionality, cloud services for hosting, and external APIs for authentication, payments, and AI services.
This architecture provides flexibility, but it also creates security dependencies.
On December 1, 2026, SecurityWeek reported a campaign called React2Keys that exploited the React2Shell vulnerability to steal more than 50,000 credentials.
According to CloudSEK's investigation, the campaign affected more than 400 organizations and involved over 19,000 Next.js hosts.
The stolen information reportedly included cloud credentials, AI provider keys, database credentials, SSH keys, and other sensitive secrets.
This is a significant example of how an application vulnerability can become an enterprise-wide identity and supply-chain security incident.
1. Understanding React2Shell
React2Shell is tracked as:
CVE-2025โ55182
It affects React Server Components and can also affect applications using frameworks such as Next.js.
The vulnerability allows unauthenticated remote code execution in affected configurations.
Remote code execution is especially dangerous because it can allow an attacker to execute commands within the context of the vulnerable server.
The consequences depend on the application's permissions and environment.
A web server with access to cloud credentials can create risks beyond the application itself.
2. What was React2Keys?
CloudSEK reported that the React2Keys campaign began on November 9, 2026.
The reported activity continued through November 19.
The campaign involved automated discovery and exploitation of vulnerable systems.
The attacker reportedly targeted environment variables and secret files to collect credentials.
The stolen information included:
- AWS credentials.
- Azure tokens.
- Kubernetes service-account tokens.
- SSH keys.
- GitHub access tokens.
- AI service API keys.
- PostgreSQL credentials.
- Redis credentials.
- MongoDB credentials.
- Cryptocurrency-related secrets.
The significance is clear: a vulnerable web application can become a route to sensitive infrastructure credentials.
3. Understanding the attack chain
Stage 1: Discover vulnerable applications
Attackers identify publicly exposed servers running affected React Server Components or Next.js configurations.
Stage 2: Exploit the vulnerability
The reported campaign used the React2Shell vulnerability to execute code within vulnerable environments.
Stage 3: Inspect the environment
Once code execution is achieved, attackers may investigate accessible environment variables and configuration files.
Stage 4: Collect secrets
Sensitive information can include API keys, database credentials, cloud tokens, and private keys.
Stage 5: Validate credentials
Stolen credentials may be tested to determine whether they remain active and what permissions they provide.
Stage 6: Expand access
Cloud tokens and repository credentials can provide access to additional systems.
This illustrates why application security and cloud identity security must be managed together.
4. How penetration testers can assess React and Next.js applications
Perform the following checks only on authorized systems.
Step 1: Identify the technology stack
Review application documentation, package manifests, and deployment inventory.
Step 2: Identify affected versions
Check installed React Server Components packages and framework dependencies against official security advisories.
Step 3: Review exposure
Determine whether vulnerable server-side functionality is reachable from untrusted networks.
Step 4: Review secret storage
Check whether credentials are unnecessarily stored in:
- Environment files.
- Configuration files.
- Source repositories.
- Container images.
- Application logs.
Step 5: Review permissions
Determine whether the application has excessive access to cloud resources.
Step 6: Inspect CI/CD integration
Review deployment credentials, build permissions, and repository access.
Step 7: Retest
Verify that patched dependencies are deployed and that exposed credentials have been rotated.
5. Defensive measures
Organizations should:
- Apply the official React and framework security updates.
- Inventory all affected applications.
- Rotate potentially exposed credentials.
- Review cloud audit logs.
- Revoke unnecessary tokens.
- Use workload identities instead of long-lived credentials.
- Restrict CI/CD permissions.
- Enable secret scanning.
- Monitor unusual database connections.
- Rebuild affected workloads from trusted sources where compromise is suspected.
Simply updating the vulnerable package is not sufficient if credentials were already stolen.
6. Why this matters to Indian cybersecurity teams
Indian organizations increasingly use cloud-native applications, outsourced development, and API-driven infrastructure.
This means similar risks can affect:
- Fintech applications.
- Banking platforms.
- SaaS companies.
- E-commerce services.
- Healthcare platforms.
- Technology startups.
VAPT teams should include secret exposure and cloud identity reviews in application assessments.
Conclusion
React2Keys demonstrates that application vulnerabilities can create consequences far beyond the original application.
A single vulnerable server may expose credentials that connect to cloud infrastructure, databases, AI services, and software development environments.
Security professionals must assess the entire application ecosystem.
Patch the vulnerability, rotate exposed secrets, review permissions, and investigate whether the attacker accessed connected systems.
References
- SecurityWeek, December 1, 2026.
- CloudSEK React2Keys research.
- NVD: CVE-2025โ55182.
- React and Next.js security advisories.