How Attackers Turn Next.js into a Linux Shell
Linux admins -
React2Shell is the kind of bug that makes Linux incidents look “sudden”: a single web request can jump straight into server-side execution and start changing system state under a legitimate Node.js service account—no login prompt, no token theft first. Even if you’re containerized, the blast radius is real because the execution happens inside the app process, and what follows often looks like a classic host compromise (miners, backdoors, proxying, and stolen secrets).
If you run React Server Components/Next.js anywhere internet-facing, this is a patch-and-hunt moment. Read on to learn more about the practical risk framing and the response steps that matter.
Yours in Open Source,

Dave Wreski
LinuxSecurity Founder
React2Shell: How a Framework Bug Drives Full Linux CompromiseThe DiscoveryReact2Shell (CVE-2025-55182) affects React Server Components used by Next.js. This flaw turns a normal web request into code execution. |
AI’s Quiet Move Into the Linux Kernel Raises New Linux Kernel Security QuestionsThe DiscoveryAI-written patches are starting to land in kernel discussions, prompting new security questions among the Linux security community. |


