ADVISORIES

GitHub Advisory Database

GHSA-pc58-hwjq-p385

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

Moderate CVE-2026-119348

Details

Self-hosted Next.js applications (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 such an application sits behind an HTTP/1.1 reverse proxy that permits pipelined response queueing, a crafted upstream response can desynchronize responses between clients, enabling response injection and disclosure of other clients' responses.

Affected packages

EcosystemPackageAffected versions
npmnext
From 16.0.0 before 16.4.5 (fixed in 16.4.5)
npmnext
All versions before 15.5.29 (fixed in 15.5.29)

References