CVE-2026-119346
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.
How to fix
- next15.5.29, 16.4.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vercel next.js | >= 15.0.0, < 15.5.29, >= 16.0.0, < 16.4.5 | — |
| nextnpm | 15.0.0 ≤ v ≤ 15.5.28, 16.0.0 ≤ v ≤ 16.4.4 | 15.5.29, 16.4.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.