$RodHat_/search
MOTD

React2Shell CVE-2025-55182: Still Worth a Grep a Year On

Published by

This article may contain Amazon affiliate links. I may earn a commission if you buy through them. Disclosure.

Editorial card for the React2Shell advisory
Editorial card: RodHat

A Dark Reading headline this week says a campaign called “React2Keys” is plundering organization credentials through React2Shell, which is CVE-2025-55182. I could not read the article, so I’m not going to repeat anything about the campaign beyond its name. What I can read is the bug, and the bug is worth a second look a year after disclosure.

NVD describes a pre-authentication remote code execution flaw in React Server Components 19.0.0, 19.1.0, 19.1.1 and 19.2.0, in react-server-dom-parcel, react-server-dom-turbopack and react-server-dom-webpack. The cause is old as dirt: the code unsafely deserializes payloads from HTTP requests to Server Function endpoints. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N, scope changed, base score 10.0. Deserializing attacker-controlled bytes into live objects has been ruining weekends since before Java learned to do it.

The React team’s advisory is dated December 3, 2025. Lachlan Davidson reported it through Meta’s bug bounty on November 29, Meta confirmed it on the 30th, a fix existed December 1, and it hit npm on the 3rd. Fixed versions are 19.0.1, 19.1.2 and 19.2.1.

The part people get wrong:

  • You don’t need to have written a Server Function. The advisory says an app that merely supports React Server Components may still be vulnerable even with no Server Function endpoints.
  • The package you installed may not be the one you’re worried about. The advisory lists next, react-router, waku, @parcel/rsc, @vitejs/plugin-rsc and rwsdk as affected frameworks and bundlers, so the vulnerable code arrives as a transitive dependency.
  • If your React code doesn’t use a server, or your framework and bundler don’t support RSC, you’re not affected. Say that out loud before you panic a team that ships a static SPA.
  • Hosting providers applied temporary mitigations. The React team says not to rely on them. Upgrade.

The Next.js fix versions are per release line and there are a lot of them, 14.2.35 for 13.3 through 14.x, up through 16.1.5 for 16.1.x. Read the advisory table for yours instead of trusting a summary, including mine. The advisory has also grown follow-ups since: separate denial of service and source code exposure CVEs, the latest dated January 26, 2026. “Patched in December” does not mean “current.”

What to do today. Grep your lockfiles for the three react-server-dom-* packages and for next versions, check them against the advisory, and rebuild images that were baked months ago. A container built in the spring and never touched still carries whatever it carried in the spring. If you ever ran a vulnerable version on an internet-facing host, assume the credentials in its environment are worth rotating. That’s my inference from the severity, not something the sources say about any particular victim.

I have grumbled before about CVE scores losing their meaning. A 10.0 for unauthenticated RCE through a default code path is the case where the number earns its keep. The same lesson shows up in the Drupal installer bug: the fix existed within days, and the exposure lasts as long as nobody looks.

Sources

  1. CVE-2025-55182 (NIST National Vulnerability Database)
  2. Critical Security Vulnerability in React Server Components (The React Team)
  3. CVE-2025-55182 (Meta Security Advisories)