Security
Netlify: Security Update: Multiple vulnerabilities in Next.js (November 2026)
What changed
- Seven Next.js security vulnerabilities were patched on November 3, 2026 in versions 16.4.5 and 15.5.29.
- The vulnerabilities include cached data leaking between users, HttpOnly cookie exposure, cache poisoning, and cross-client response injection.
- Several of the vulnerabilities do not affect apps hosted on Netlify.
- The OpenNext Netlify Next.js adapter must be updated to v5.16.6.
- Upgrading Next.js alone does not fix the Middleware case on Netlify.
- A production deploy does not clear the cache for branch deploys or Deploy Previews.
- Responses opted out of automatic invalidation with the Netlify-Cache-ID header remain cached after a deploy.
Who it affects
- Next.js sites hosted on Netlify are affected.
- Apps meeting the nested use cache leak and binary use cache argument conditions are affected on Netlify.
- On Netlify, the HttpOnly cookie issue affects Edge Route Handlers, Edge API routes, and cookies set in Next.js Middleware.
- Apps using Cache Components with the described route shape on Next.js 16.4+ are affected on Netlify.
- Anyone pinning the adapter version must upgrade it manually.
- Publicly available deploy previews and branch deploys may remain vulnerable until automatically deleted.
What to do now
- Upgrade next to 16.4.5, or 15.5.29 if on 15.x, and redeploy.
- With the auto-installed adapter, redeploying applies the update automatically.
- With a manually installed adapter, upgrade @netlify/plugin-nextjs to v5.16.6 and redeploy.
- Avoid pinning the adapter version so future fixes ship automatically.
- Purge affected entries in branch deploy and Deploy Preview contexts separately, purge the whole site, or delete those deploys.
- Purge on demand any responses opted out of automatic invalidation via the Netlify-Cache-ID header.
- Consider deleting publicly available deploy previews and branch deploys manually.
- Run long-running backends with WebSockets, now in Early Access.
Your users need to hear about your changes too
FoxPlug writes the changelog entry, the heads-up email draft and the social posts from what you ship.
Try it on your projectYour changelog, written for you
FoxPlug writes your changelog from your releases and commits in plain English and publishes it as a page and a feed your users can follow. The page above shows what that looks like for a product people really use.
Write my changelog See the changelog FoxPlug wrote from its own commits
Free to start. Pro is a month.
FoxPlug Pro
- A public changelog page and feed for each project
- Written from your releases and commits, in plain English your users read
- Connect GitHub and new releases become new entries