CVE-2026-119348: Next.js: Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responses
Medium
- OSV id
- GHSA-pc58-hwjq-p385
- Also known as
- CVE-2026-119348
- Published
- Last modified
Affected packages
How to fix it
next (npm)
Upgrade next to 16.4.5 or later.
npm install next@16.4.5
# if it is an indirect dependency: npm update next (or npm audit fix)
- If it is an indirect dependency, upgrade the package that depends on it, or force the version with "overrides" (npm), "resolutions" (Yarn) or "pnpm.overrides" (pnpm) in package.json.
- Check the changelog for breaking changes (especially across major versions), update the lockfile with the package manager, and run your tests.
next (npm)
Upgrade next to 15.5.29 or later.
npm install next@15.5.29
# if it is an indirect dependency: npm update next (or npm audit fix)
- If it is an indirect dependency, upgrade the package that depends on it, or force the version with "overrides" (npm), "resolutions" (Yarn) or "pnpm.overrides" (pnpm) in package.json.
- Check the changelog for breaking changes (especially across major versions), update the lockfile with the package manager, and run your tests.
Not sure whether your project uses an affected version? Check your lockfile below for free.
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.
References
- GHSA-pc58-hwjq-p385 on OSV.dev
- Web: https://github.com/vercel/next.js/security/advisories/GHSA-pc58-hwjq-p385
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-119348
- Web: https://github.com/vercel/next.js/commit/2842833be3a5a1e5fef0c5fb8c96df74742eef2a
- Web: https://github.com/vercel/next.js/commit/848ec29a3fbe68c02edb022efe19b04356997c32
- Package: https://github.com/vercel/next.js
- Web: https://github.com/vercel/next.js/releases/tag/v15.5.29
- Web: https://github.com/vercel/next.js/releases/tag/v16.4.5
- Web: https://nextjs.org/blog/november-2026-security-release
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: GitHub Advisory Database via OSV.dev (CC-BY 4.0). Severity comes from the advisory's own rating when it has one, else from its CVSS score.