## Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

- 種別: advisory
- 重大度: medium
- 関連技術: nodejs, nextjs
- CVE: CVE-2026-119346
- 公開日時: 2026-11-19T22:23:21.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-f3mh-rxg3-f5g2)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-f3mh-rxg3-f5g2

影響: npm:next >= 15.0.0, <= 15.5.28 → 15.5.29, npm:next >= 16.0.0, <= 16.4.4 → 16.4.5
Next.js applications that set cookies through NextResponse on Edge runtime routes — App Router route handlers and Pages Router Edge API routes — send an internal x-middleware-set-cookie header in the public response, duplicating the cookie value and its attributes. This makes HttpOnly cookies, such as session tokens, readable by JavaScript running on the same origin when an application sets a sensitive cookie on an affected response.