December 1, 2026

50,000 Stolen Keys From One Unpatched Flaw: Your Questions on the AI-Driven React2Keys Campaign, Answered

Researchers at CloudSEK say an automated, AI-assisted operation exploited unpatched React and Next.js servers for ten days in November and walked away with more than 50,000 cloud, AI, database and payment credentials. Here is what happened and why patching alone does not close it.

An aisle of server racks with status lights in a cloud data center

CloudSEK researchers got inside an attacker’s infrastructure and found the full record of a credential-theft operation they call React2Keys. Their report, covered by BleepingComputer and SecurityWeek, shows how one well-known web vulnerability was turned into a pipeline for collecting cloud keys and AI service logins. Here are the main questions, answered.

What happened?

Between November 9 and November 19, an attacker ran a fully automated campaign against web servers still vulnerable to React2Shell (CVE-2025-55182). React2Shell is a critical flaw in React Server Components that lets an outsider run code on a server, including servers hosting Next.js applications, without logging in. It has been exploited since December 2025. According to SecurityWeek, mass exploitation ran from November 9 to 18, with the last data theft seen on November 19.

How big was it?

CloudSEK counts more than 50,000 stolen credentials taken from more than 19,000 hosts. It says the attacker reached the build pipelines, cloud accounts and AI systems of more than 400 organizations across dozens of countries. Victims ranged from large enterprises to small businesses, and the researchers say no single sector or region was singled out. SecurityWeek reports that Brazil was hit hardest, followed by India, Germany, Russia and France.

How did the attacker find targets?

By watching new website certificates. CloudSEK says the tooling checked six public Certificate Transparency logs every three minutes, so a freshly launched site could become a target within minutes. Domains were then tested to see whether they ran Next.js. Only about 3% passed that filter, which was enough to feed the rest of the operation.

What did it steal?

Once inside, a single unauthenticated web request ran the attacker’s code inside the live application. The code collected environment variables and secret files, including .env files, cloud credential files, SSH keys and Kubernetes service-account tokens. In some cases it went further, into databases such as PostgreSQL, Redis and MongoDB, full Git repositories and third-party secrets managers. The targets included keys for AI providers, cloud platforms, payment and domain registrar services, and cryptocurrency accounts.

Where does AI come in?

The attacker used AI services to sort and test the stolen keys. BleepingComputer describes OpenRouter being used to test stolen API keys against Claude models, Azure AI Foundry to check access to Claude deployments, and Gemini to confirm stolen Google keys. Stolen Claude Code login tokens were also used to run AI requests billed to the victims. Every secret was ranked by estimated value and checked to see if it still worked, and cryptocurrency credentials were flagged by whether they could move funds.

If we patch, are we safe?

Not on its own. CloudSEK found that the attacker added its own SSH key to compromised servers for persistent access, and that stolen cloud tokens were reused to expand its scanning. A stolen key keeps working after the vulnerable app is fixed. That is why the researchers say patching is necessary but not sufficient.

What do the researchers recommend?

  • Update React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later, and move Next.js to a release that fixes CVE-2025-55182.
  • Assume every secret on an exposed host is compromised and rotate it, including cloud, AI, database, payment, registrar and messaging credentials.
  • Audit cloud identity activity and AI platform usage for spending or access you do not recognize.
  • Look for unfamiliar entries in SSH authorized_keys files and remove them.
  • Use CloudSEK’s exposure-check tool to see whether your domain appears in the recovered data.

What this means for your company

If your business has a web app, customer portal or marketing site built by a developer or agency, ask whether it uses React or Next.js and when it was last updated. Many small companies don’t know their site’s framework, or who would patch it. The bigger lesson is about secrets. API keys and cloud credentials stored in plain environment files are only as safe as the least-patched server that holds them. Short-lived credentials, a proper secrets vault with tightly scoped access, spending alerts on cloud and AI accounts, and a tested key-rotation process all limit the damage when one server falls.

If you’d like help finding out what your web applications run on, where your keys live and how quickly you could rotate them, we can help. Reach out to Layer 7 Data Solutions to discuss how we’ve helped companies similar to yours.

About The Author