Cookie Exposure in Next.js Framework by Vercel
CVE-2026-119346
6MEDIUM
What is CVE-2026-119346?
Next.js, a framework by Vercel for building full-stack applications, has a security vulnerability that allows internal cookie data, marked as HttpOnly, to be exposed in public HTTP responses. This occurs when the NextResponse object is used to set cookies on Edge runtime routes, affecting both App Router route handlers and Pages Router Edge API routes. As a result, JavaScript running on the same origin can read sensitive cookie values, including session tokens. The issue has been resolved in Next.js versions 16.4.5 and 15.5.29. Developers are urged to update to these versions to secure their applications.
Affected Version(s)
next.js >= 15.0.0, < 15.5.29 < 15.0.0, 15.5.29
next.js >= 16.0.0, < 16.4.5 < 16.0.0, 16.4.5