Summary
Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes
Advisory details
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.
References
- https://github.com/advisories/GHSA-f3mh-rxg3-f5g2
- https://github.com/vercel/next.js/security/advisories/GHSA-f3mh-rxg3-f5g2
- https://nvd.nist.gov/vuln/detail/CVE-2026-119346
- https://github.com/vercel/next.js/commit/809be725f033ec7aa4c658ba2b7a084cb039d1f2
- https://github.com/vercel/next.js/commit/9fc04bd869ded4900bed7d069832aa2c5f56fa29
- https://github.com/vercel/next.js/releases/tag/v15.5.29
- https://github.com/vercel/next.js/releases/tag/v16.4.5
- https://nextjs.org/blog/november-2026-security-release
Related vulnerabilities
All Supply chain →- CRITICALCVE-2026-106501
Backstage: Sensitive information exposure in Scaffolder
- MEDIUMCVE-2026-69212
http4s: FollowRedirect exposes sensitive headers on same-authority HTTPS-to-HTTP redirects
- CRITICALCVE-2026-114516
Etherpad: Pre-auth arbitrary file read
- HIGHCVE-2026-59988
django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS
- MEDIUMCVE-2026-129233
NLTK: StreamBackedCorpusView constructor os.stat leaks out-of-root file existence, size, and mtime bypassing pathsec ENFORCE
- MEDIUMCVE-2026-69139
djangocms-moderation: Moderation comments disclosed to non-participant staff via the admin changelist