SecOraLens
HighCVECVE-2026-23870

React Server Components Flaw Lets Attackers Freeze Next.js Servers With a Single POST Request

Cyber Security News·Source published ·1 min read

What happened?

A high-severity denial-of-service flaw (CVE-2026-23870) in React Server Components can allow a remote attacker to freeze vulnerable Next.js servers by sending a specially crafted POST request to a Server Function endpoint. The issue has a CVSS score of 7.5 and affects React Server Components packages used by React 19.x applications, including many Next.js deployments using Server Actions. The vulnerability stems from the way React rebuilds submitted form data before a Server Action runs. An attacker does not need to break into the application or access protected data.

Key details

  • A high-severity denial-of-service flaw in React Server Components lets a remote attacker freeze Next.js servers with a single crafted POST request.
  • The vulnerability stems from React repeatedly scanning the full submitted field list for each $K reference during form-data reconstruction before a Server Action runs.
  • A request with many references and fields can trigger roughly 100 million string comparisons, consuming CPU and blocking the Node.js event loop.
  • Publicly reachable Server Actions are most exposed, but authenticated applications can also be affected when any normal user can reach the vulnerable endpoint.
  • React fixed the flaw in versions 19.0.6, 19.1.7, and 19.2.6 by changing the form-data processing path to scan fields once and consume them as handled.
  • Next.js users must check their resolved dependency tree for affected react-server-dom packages rather than relying only on the top-level Next.js version.
  • NIST classifies the issue as CWE-400, uncontrolled resource consumption, and React's advisory warns of excessive CPU usage, out-of-memory conditions, or server crashes.

Affected

  • React Server Components packages react-server-dom-webpack, react-server-dom-turbopack, and react-server-dom-parcel in React 19.0.0 through 19.0.5, 19.1.0 through 19.1.6, and 19.2.0 through 19.2.5.

Fixes and mitigations

  1. Review edge and reverse-proxy controls including POST body-size limits, request-rate controls, and timeouts to reduce exposure.

What to look for

  • Unusual POST activity against pages exposing Server Actions, especially bursts of multipart form-data requests.
  • High CPU use without matching application traffic.
  • Request queue growth and repeated health-check failures.

Summarised by SecOraLens from Cyber Security News. Always read the original source before acting. How SecOraLens verifies advisories.