Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes
CVE-2026-119346Published 16 Nov 2026, 18:41 UTC
Real-world risk
2.1/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.0
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Next.jsUbiquitous | >= 15.0.0, < 15.5.29; >= 16.0.0, < 16.4.5 | 15.5.29, 16.4.5 |
What to do
Update to a fixed version: 15.5.29, 16.4.5.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 37), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.315
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.315 × threat 0.852.142
- Rounded to one decimal between 0.1 and 102.1
Exploitation and evidence timeline
- 16 Nov 2026 Published
- 3 Dec 2026 Risk 2.1 (cvss fallback)
Weakness
CWE-200, CWE-201
References
- https://github.com/vercel/next.js/security/advisories/GHSA-f3mh-rxg3-f5g2vendor-advisory
- https://github.com/vercel/next.js/commit/809be725f033ec7aa4c658ba2b7a084cb039d1f2misc
- https://github.com/vercel/next.js/commit/9fc04bd869ded4900bed7d069832aa2c5f56fa29misc
- https://github.com/vercel/next.js/releases/tag/v15.5.29misc
- https://github.com/vercel/next.js/releases/tag/v16.4.5misc
- https://nextjs.org/blog/november-2026-security-releasemisc
- CVE-2026-119346 on CVE.org