CVE
CVE-2026-119346
CNA description
Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, Next.js applications that use NextResponse to set cookies on Edge runtime routes expose the internal x-middleware-set-cookie header in the public response. This affects App Router route handlers and Pages Router Edge API routes. The header duplicates each cookie value and its attributes, so JavaScript already running on the same origin can read values that the Set-Cookie header marks HttpOnly, including sensitive session tokens set on an affected response. This issue is fixed in versions 16.4.5 and 15.5.29.
Affected versions
- next≥ 16.0.0, < 16.4.5Fixed in 16.4.5
- next≥ 15.0.0, < 15.5.29Fixed in 15.5.29
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- github.com/advisories/GHSA-f3mh-rxg3-f5g2 · Third Party Advisory
- osv.dev/vulnerability/GHSA-f3mh-rxg3-f5g2 · Third Party Advisory
- github.com/vercel/next.js/security/advisories/GHSA-f3mh-rxg3-f5g2 · Vendor Advisory
- github.com/vercel/next.js/commit/809be725f033ec7aa4c658ba2b7a084cb039d · Vendor Advisory
- github.com/vercel/next.js/commit/9fc04bd869ded4900bed7d069832aa2c5f56f · Vendor Advisory
- github.com/vercel/next.js/releases/tag/v15.5.29 · Vendor Advisory
- github.com/vercel/next.js/releases/tag/v16.4.5 · Vendor Advisory
- nextjs.org/blog/november-2026-security-release · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.