React2STEAL Campaign Leverages Compromised GitHub Accounts and Actions to Steal Credentials from React/Next.js Applications
A new credential-theft campaign, dubbed React2STEAL, has been identified, actively exploiting compromised GitHub accounts and GitHub Actions runners to attack React and Next.js applications. OpenSourceMalware has reported finding 45 malicious repositories associated with this campaign, leading to the exposure of data from at least 1,281 victim hostnames across approximately 1,100 domains.
This campaign is significant because it demonstrates a sophisticated attack vector that leverages the trusted environment of CI/CD pipelines. By compromising GitHub accounts, attackers gain access to GitHub Actions, which are then used to execute malicious payloads. These payloads exploit known vulnerabilities, specifically React2Shell (CVE-2025-55182) and a Next.js middleware authorization bypass (CVE-2025-29927), and attempt cloud-metadata server-side request forgery. Successful exploitation allows the attackers to run reconnaissance payloads within the victim's Node.js process, collecting sensitive information such as environment variables, cloud credentials, configuration files, and API keys. This stolen data is then committed to public repositories, and the campaign even validates AI-provider keys through requests originating from the victims' servers.
This incident fits into a broader trend of increasing attacks targeting the software supply chain and CI/CD environments. As development workflows become more automated and interconnected, the compromise of a single component, like a GitHub account or an Actions runner, can have cascading effects, leading to widespread data breaches. The GitHub Actions security roadmap for 2026, for example, emphasizes the need for more deterministic, governable, and observable pipelines, acknowledging that CI/CD workflows are critical execution surfaces that, if compromised, can affect the entire software manufacturing chain. The shift towards OpenID Connect (OIDC) for short-lived tokens and the pinning of action dependencies to specific commit SHAs are direct responses to mitigate such supply-chain risks.
For practitioners, the immediate implication is a critical need for vigilance and proactive security measures. First, prioritize patching any React and Next.js applications to address CVE-2025-55182 and CVE-2025-29927. Second, thoroughly investigate any signs of exploitation within your GitHub Actions workflows and connected applications. Third, immediately rotate any potentially exposed secrets and revoke compromised GitHub tokens. It's crucial to understand that patching alone will not invalidate credentials already stolen. Finally, reinforce your GitHub Actions security posture by implementing best practices such as pinning all actions to specific commit SHAs, utilizing OIDC for credential management, and enforcing strict repository rulesets to govern CI/CD behavior. Regularly auditing egress traffic from runners can also help detect anomalous activity.
Read original source