→ Back to Home
CI/CD

CloudSEK Uncovers Widespread CI/CD, Cloud, and AI Infrastructure Compromise via Next.js Vulnerability

A critical report from CloudSEK's Global Threat Intelligence team has revealed a far-reaching compromise of CI/CD, cloud, and AI infrastructure affecting more than 400 organizations. The "React2Keys" campaign exploits a critical unauthenticated remote code execution vulnerability, CVE-2025-55182, dubbed "React2Shell," found in Next.js Server Actions. Attackers are using an AI-powered operation to harvest a wide array of sensitive credentials, including environment variables, application secrets, cloud and database credentials, API keys, and authentication tokens. This development is significant for practitioners because it underscores the increasing sophistication of supply chain attacks and the critical importance of securing every layer of the software development lifecycle, particularly CI/CD pipelines. A compromise at this level can grant attackers deep access to an organization's most sensitive assets, leading to data exfiltration, intellectual property theft, and further lateral movement within cloud environments. The fact that this is an unauthenticated RCE makes it particularly dangerous, as it requires no prior access to exploit. The targeting of AI platforms specifically, alongside traditional cloud infrastructure, signals a new frontier in cyber threats, where AI itself becomes both a target and a tool for attackers. This incident fits within a broader trend of escalating supply chain attacks and the weaponization of AI in offensive security. We've seen a consistent rise in CI/CD-related security incidents, with attackers increasingly targeting the pipeline as a high-leverage point for compromise. The integration of AI into development workflows, while offering significant productivity gains, also introduces new attack vectors, as highlighted by the NCSC and Italy's national CSIRT warnings about AI agents compromising systems. The "React2Keys" campaign exemplifies how AI can automate and scale credential harvesting and validation, making attacks more efficient and harder to detect. The industry has been grappling with securing CI/CD secrets and access for some time, with ongoing discussions about replacing long-lived API keys with temporary credentials and implementing least privilege. In practice, DevOps and security teams must prioritize immediate patching of Next.js Server Actions to mitigate the "React2Shell" vulnerability. Beyond patching, practitioners should conduct thorough audits of their CI/CD systems and cloud environments for any signs of compromise, paying close attention to unusual access patterns or credential usage. Implementing robust secrets management solutions that integrate with CI/CD pipelines, enforcing multi-factor authentication (MFA) for all access, and adopting a least-privilege security model are no longer optional but essential. Furthermore, organizations should invest in continuous security monitoring tools capable of detecting anomalous behavior within CI/CD and cloud infrastructure, especially those that can identify AI-driven attack patterns. The incident also highlights the need for a comprehensive understanding of the software supply chain, from development frameworks to deployment environments, to identify and address potential weak points before they are exploited.
#ci/cd security#supply chain attack#next.js#vulnerability#ai security#cloud security
Read original source