CVE-2026-119348

Next.js: Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responses

Medium published · updated · also known as GHSA-PC58-HWJQ-P385

6.3
CVSS score out of 10 · NVD (github.com)

Description

Next.js is a React framework for building full-stack web applications. Prior to 15.5.29 and 16.4.5, self-hosted Next.js App Router route handlers and the fetch cache that return a fetched upstream response unchanged can emit a response whose declared framing does not match the body actually sent. When the application is behind an HTTP/1.1 reverse proxy that permits pipelined response queueing, a crafted upstream response can desynchronize responses between clients. The resulting desynchronization can inject a response into another client's queue or disclose another client's response. This issue is fixed in versions 16.4.5 and 15.5.29.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
next npm >= 16.0.0, <= 16.4.416.4.5 GitHub
next npm <= 15.5.2815.5.29 GitHub

References