CVE-2026-119346
Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes
Also known as GHSA-f3mh-rxg3-f5g2
Mitigation
- Upgrade next to one of 15.5.29, 16.4.5 (or later in the same release line).
Who should check
- Projects that depend on npm package next (>= 15.0.0, <= 15.5.28)
- Anyone running vercel next.js >= 15.0.0, < 15.5.29; >= 16.0.0, < 16.4.5
Vulnerability facts
- Affected
- next >= 15.0.0, <= 15.5.28
- Fixed in
- 15.5.29, 16.4.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.0 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: None
- Privileges required: None
- User interaction: Passive
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
- CWE
- CWE-200, CWE-201
- Modified
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 and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-119346. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-119346.md Affected: next >= 15.0.0, <= 15.5.28 Fixed in: 15.5.29, 16.4.5 Steps: 1. Search this machine and project for next (npm), vercel next.js: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Patches
FAQ
Is CVE-2026-119346 being exploited?
There is no confirmed exploitation: CVE-2026-119346 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-119346?
Medium: CVSS 6.0 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-119346?
next >= 15.0.0, <= 15.5.28.
Is there a fix for CVE-2026-119346?
Yes. Fixed in 15.5.29, 16.4.5. Upgrade next to one of 15.5.29, 16.4.5 (or later in the same release line).
How do I check if I'm affected by CVE-2026-119346?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Next.js vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.3 | CVE-2026-119348 Next.js: Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responses | Next.js+1 | EPSS 35% | |
| MEDIUM 6.3 | CVE-2026-119349 Next.js: Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments | Next.js+1 | EPSS 39% | |
| MEDIUM 6.3 | CVE-2026-119350 Next.js: Cache poisoning of shared fallback shells in Cache Components via request-supplied placeholder route params | Next.js+1 | EPSS 11% | |
| MEDIUM 6.3 | CVE-2026-119351 Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata | Next.js+1 | EPSS 26% | |
| MEDIUM 6.9 | CVE-2026-119347 Next.js: SVG rejection bypass in the image optimization | Next.js+1 | EPSS 41% |