CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-23864

React Server Components: The Flight to Nowhere (CVE-2026-23864)

Amit Schendel
Amit Schendel
Senior Security Researcher

Jan 29, 2026·6 min read·363 visits

Executive Summary (TL;DR)

React's 'Flight' protocol failed to validate deserialization limits. Attackers can send malicious streams to Next.js/React servers that allocate massive arrays, process infinite BigInts, or traverse `__proto__`. This kills the server instantly. Patched in v19.0.4+.

Multiple Denial of Service (DoS) and Prototype Pollution vulnerabilities exist in the React Server Components (RSC) 'Flight' protocol implementation. These flaws allow attackers to trigger Out-of-Memory (OOM) crashes, excessive CPU consumption, or potentially pollute the object prototype chain via specially crafted RSC stream payloads.

The Hook: The Shiny New Toy with a Rusty Edge

React Server Components (RSC) are the current darling of the frontend world. They promise the best of both worlds: server-side logic with client-side interactivity, seamlessly blended. Frameworks like Next.js have bet the farm on this architecture via the App Router. But magic requires a medium, and for RSC, that medium is the 'Flight' protocol—a custom, streaming serialization format used to sync state between the server and the client.

Whenever a developer says, "We don't need JSON, let's write our own serialization protocol to handle complex object graphs and promises," a security researcher gets their wings. History has taught us that custom serialization is a graveyard of security assumptions. CVE-2026-23864 is the latest tombstone. It isn't just a single bug; it's a structural failure to respect the boundaries of physics (memory) and logic (prototypes) within the react-server-dom packages.

This vulnerability is particularly nasty because it targets the infrastructure itself. It doesn't steal user data directly, but it can knock your entire fleet of Next.js containers offline with a few kilobytes of data. It's the digital equivalent of clogging a toilet with a single paper towel.

The Flaw: Trusting the Client (Again)

The root cause here is the classic "Trust Me Bro" anti-pattern. The RSC server endpoints (typically exposed as Server Actions) accept a stream of data to reconstruct objects, arrays, and function references. The server implementation assumed that the incoming stream would play nice. Spoiler: it didn't.

1. The Memory Black Hole (OOM): The server parser allowed the client to specify the size of an array before providing the elements. If the client sent a payload saying, "I'm about to give you an array with 10 billion items," the server dutifully attempted to allocate that memory space immediately. This leads to an instant JavaScript heap out of memory crash.

2. The CPU Burn (BigInt): JavaScript supports BigInt for arbitrary-precision integers. The key word is arbitrary. The vulnerable parser didn't place a limit on the number of digits in a BigInt literal. An attacker could send a string representing a number with millions of digits. The single-threaded Node.js event loop would then lock up trying to parse this mathematical monstrosity, causing a denial of service.

3. The Prototype Pollution: The fulfillReference logic allowed the client to specify paths to resolve within an object. It did not block the __proto__ key. This meant an attacker could traverse up the prototype chain and potentially pollute the base Object.prototype, which is the holy grail for logic bypasses in JavaScript.

The Code: Anatomy of a Fix

Let's look at the smoking gun in the react-server-dom-webpack (and related) packages. The fix involved adding sanity checks that should have been there from day one.

The Prototype Fix: In the original code, the resolution logic blindly followed the path provided by the client stream. The patch introduces a hard check for __proto__ and ensures we are only assigning to "own" properties.

// BEFORE: Blind traversal
// value = value[path[i]];
 
// AFTER: Trust, but verify
const __PROTO__ = '__proto__';
if (key === __PROTO__) {
  // Nice try, hacker.
  return undefined;
}
if (hasOwnProperty.call(value, key)) {
  value = value[key];
} else {
  throw new Error('Invalid reference.');
}

The Resource Limits: Meta also introduced explicit constants to cap the madness. They realized that legitimate web applications rarely need to process numbers larger than the atoms in the universe.

const DEFAULT_MAX_ARRAY_NESTING = 1000000;
const MAX_BIGINT_DIGITS = 300;
const MAX_BOUND_ARGS = 1000;

If your application logic relies on a BigInt with more than 300 digits, you aren't building a website; you're simulating dark matter physics, and you should probably do that in C++.

The Exploit: Killing the Server

Exploiting this requires understanding the RSC wire format, but you don't need to be a wizard. You just need to send a malformed POST request to the server endpoint handling RSC actions.

Scenario 1: The OOM Crash We construct a payload that defines a massive array. The format typically looks like a line-delimited list of JSON-like structures. We define a reference $A that claims to be a sparse array of doom.

POST /my-server-action HTTP/1.1
Content-Type: text/x-component
 
1:["$A", 9999999999]

When the V8 engine underneath Node.js tries to allocate a sparse array of this magnitude, it panics and crashes the process. In a containerized environment (like Kubernetes), the pod dies and restarts. If the attacker keeps sending these requests, the service enters a CrashLoopBackOff state.

Scenario 2: The CPU Freeze We target the BigInt parser. The format uses $n to denote a BigInt.

POST /my-server-action HTTP/1.1
 
0:"$n9999999999...[repeat 1 million times]"

The server receives this, sees the $n marker, and hands the massive string to the BigInt() constructor. The CPU spikes to 100%, requests pile up, and the load balancer eventually marks the instance as unhealthy.

The Impact: Asymmetric Warfare

The danger of CVE-2026-23864 lies in its asymmetry. It costs an attacker effectively zero resources to generate these payloads—a simple Python script with a loop will suffice. However, the impact on the target is catastrophic resource exhaustion.

While Denial of Service is often dismissed as "just downtime," in the context of serverless functions (like Vercel or AWS Lambda) or auto-scaling clusters, this translates directly to financial damage. You are paying for the CPU cycles the attacker is forcing you to burn. Furthermore, the Prototype Pollution aspect (__proto__) is a sleeper agent. Depending on the other libraries present in your Node.js environment, polluting the prototype could lead to bypasses in authentication middleware, NoSQL injection, or other Remote Code Execution (RCE) gadgets.

This isn't just about crashing; it's about the instability of the foundation your shiny new React app sits on.

The Fix: Stop the Bleeding

The mitigation is straightforward: Update your dependencies. This isn't a configuration tweak; the code itself was broken. You need to pull the patched versions of react-server-dom-webpack, react-server-dom-turbopack, or react-server-dom-parcel.

Fixed Versions:

  • 19.0.4
  • 19.1.5
  • 19.2.4

If you are using Next.js, updating to the latest patch release should pull these in transitively. Verify your package-lock.json or yarn.lock to ensure the deeply nested react-server-dom-* packages are actually updated. Don't trust the top-level version number; check the lockfile.

If you cannot update immediately (why?), you could theoretically deploy a WAF rule to inspect the body of POST requests to Server Action endpoints, specifically looking for the string __proto__ or regex-matching effectively long numeric sequences after $n. But that is a band-aid on a bullet wound. Just update.

Official Patches

MetaReact v19.0.4 Release Notes

Fix Analysis (1)

Technical Appendix

CVSS Score
7.5/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Probability
0.60%
Top 31% most exploited
500,000
via Shodan

Affected Systems

Next.js Applications (App Router)Remix Framework (Future RSC support)React Server Components (Custom Implementations)react-server-dom-webpackreact-server-dom-turbopackreact-server-dom-parcel

Affected Versions Detail

Product
Affected Versions
Fixed Version
react-server-dom-webpack
Meta
19.0.0 < 19.0.419.0.4
react-server-dom-webpack
Meta
19.1.0 < 19.1.519.1.5
react-server-dom-webpack
Meta
19.2.0 < 19.2.419.2.4
AttributeDetail
CWE IDsCWE-502 (Deserialization), CWE-400 (Resource Exhaustion)
Attack VectorNetwork (HTTP POST)
CVSS v3.17.5 (High)
EPSS Score0.00603 (68.98%)
Exploit StatusPoC (Private)
ProtocolReact 'Flight' RPC

MITRE ATT&CK Mapping

T1499Endpoint Denial of Service
Impact
T1203Exploitation for Client Execution
Execution
CWE-502
Deserialization of Untrusted Data

Deserialization of Untrusted Data causing Resource Consumption

Known Exploits & Detection

Internal ResearchPrivate Proof of Concept demonstrating OOM via array allocation

Vulnerability Timeline

Vulnerability Disclosed & Patched
2026-01-26
NVD Published
2026-01-27

References & Sources

  • [1]Meta Security Advisory
  • [2]GitHub Commit Fix

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•1 day ago•CVE-2026-58254
6.5

CVE-2026-58254: Authorization Bypass in NATS Server Message Tracing for Leaf Node Connections

NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.

Alon Barad
Alon Barad
8 views•10 min read
•1 day ago•CVE-2026-63341
7.5

CVE-2026-63341: Unauthenticated Denial of Service via Unbounded Topic Depth in Aedes MQTT Broker

CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.

Alon Barad
Alon Barad
14 views•12 min read
•1 day ago•CVE-2026-61725
6.1

CVE-2026-61725: Path Traversal and Arbitrary File Overwrite in sevenz-rust2

CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.

Alon Barad
Alon Barad
6 views•12 min read
•2 days ago•CVE-2026-77309
8.8

CVE-2026-77309: Unauthenticated Remote Code Execution in NASA-AMMOS AIT-GUI via Incomplete File Cleanup and Path Traversal

CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.

Amit Schendel
Amit Schendel
13 views•10 min read
•2 days ago•CVE-2026-77332
2.3

CVE-2026-77332: Surfaced-Memory Envelope Injection and Stored Prompt Injection in memtomem-stm

A vulnerability classified under CWE-116 (Improper Encoding or Escaping of Output) exists in memtomem-stm versions 0.1.0 through 0.1.33. The software acts as a Model Context Protocol (MCP) short-term memory proxy gateway for AI agent architectures. When surfacing retrieved memories and scratchpad items into downstream Large Language Model (LLM) context envelopes, the SurfacingFormatter component fails to properly sanitize untrusted memory attributes. An attacker with the ability to plant untrusted content into the agent's long-term or working memory store can inject arbitrary structural delimiters, close the <surfaced-memories> XML boundary prematurely, visually obscure instructions using Unicode bidirectional overrides, and execute stored prompt injection attacks against downstream LLM agents.

Alon Barad
Alon Barad
17 views•10 min read
•2 days ago•CVE-2026-77331
2.0

CVE-2026-77331: Race Condition and Session State Corruption in memtomem-stm

CVE-2026-77331 (GHSA-72jh-722p-rqr3) is a concurrency and session-state synchronization vulnerability in memtomem-stm, a short-term memory proxy gateway for AI agents. In versions 0.1.2 prior to 0.1.34, concurrent Model Context Protocol (MCP) Remote Procedure Call (RPC) failures or mid-flight task cancellations can initiate duplicate reconnect loops and permit dirty or cancelled transport sessions to be reused. This deficiency results in session-state integrity loss and local service degradation.

Amit Schendel
Amit Schendel
8 views•9 min read