Skip to content

Vulnerability catalog

Next.js vulnerabilities

Next.js security advisories, affected package versions, recorded fixes, and source evidence.

Covers the npm next package and Next.js products attributed to Vercel. Unrelated packages containing “next” in their name are excluded.

Recent advisories

9 imported advisories · newest published first

medium6.3
CVE-2026-119348Package fixes recorded

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

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.

Recorded fixes — next: 16.4.5 or 15.5.29. Check your release branch.

Exploitation not established

medium6.0
CVE-2026-119346Package fixes recorded

Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

Next.js applications that set cookies through NextResponse on Edge runtime routes — App Router route handlers and Pages Router Edge API routes — send an internal x-middleware-set-cookie header in the public response, duplicating the cookie value and its attributes. This makes HttpOnly cookies, such as session tokens, readable by JavaScript running on the same origin when an application sets a sensitive cookie on an affected response.

Recorded fixes — next: 15.5.29 or 16.4.5. Check your release branch.

Exploitation not established

medium6.3
CVE-2026-119349Package fixes recorded

Next.js: Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments

Next.js App Router applications that pass binary arguments (such as Uint8Array or Blob values) to functions using the use cache directive can produce identical cache keys for distinct arguments, allowing cached results to be shared across users — cross-user disclosure of cached data or cache poisoning. This affects applications using use cache with binary arguments.

Recorded fixes — next: 16.4.5. Check your release branch.

Exploitation not established

medium6.3
CVE-2026-119350Package fixes recorded

Next.js: Cache poisoning of shared fallback shells in Cache Components via request-supplied placeholder route params

Self-hosted Next.js applications served with next start and built with cacheComponents: true but without Partial Prefetching accept a request-supplied route param value as a prerender placeholder. One unauthenticated GET request can poison the fallback shell cache entry that a family of routes shares.

Recorded fixes — next: 16.4.5. Check your release branch.

Exploitation not established

medium6.3
CVE-2026-119351Package fixes recorded

Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata

With Cache Components enabled, an outer 'use cache' function can be keyed incorrectly even when its inner 'use cache' call generates a fresh entry. If the inner function reads a root param (via next/root-params) and returns a value that still contains pending promises — for example an object with data that is ready immediately alongside slower data — React Flight delivers the ready portion to the outer function before the inner entry has finished publishing its root param dependencies. The outer function can then finish, and its cache entry is persisted under a key that omits that root param. The entry is written once and reused for all root param values, so a response for one root param value can serve content produced for a different value. Entries written this way can also ignore tag invalidation and cache lifetimes of the nested caches they consumed.

Recorded fixes — next: 16.4.5. Check your release branch.

Exploitation not established

medium6.9
CVE-2026-119347Package fixes recorded

Next.js: SVG rejection bypass in the image optimization

On self-hosted deployments, the Next.js image optimizer (/_next/image) can be made to process an attacker-supplied SVG even when SVG support is disabled with dangerouslyAllowSVG: false (the default). This reaches an SVG parser the application intended to keep disabled, increasing exposure to denial of service and SVG decoder vulnerabilities.

Recorded fixes — next: 15.5.29 or 16.4.5. Check your release branch.

Exploitation not established

medium6.3
CVE-2026-119790Package fixes recorded

Next.js: Information disclosure across root params when a 'use cache' function is called through unstable_cache()

Next.js applications with 'use cache' can disclose cached data across root params when the same 'use cache' function is called both directly during rendering and through unstable_cache(), and that function reads a root param. Root params are route parameters of the root layout, and applications commonly use them to scope data, for example per locale.

Recorded fixes — next: 16.4.5. Check your release branch.

Exploitation not established

high8.2
CVE-2026-94482

Next.js: Denial of Service in App Router using Server Actions

Next.js is a React framework for building full-stack web applications. From 13.0.0 until 15.5.28 and 16.4.1, crafted requests targeting App Router applications with at least one Server Action can cause excessive CPU consumption and block processing of further requests in the same process. Applications using the Pages Router and App Router applications without Server Actions are not affected. This issue is fixed in versions 15.5.28 and 16.4.1.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

vercel · next.js

Packages in these advisories