Another critical Next.js security update: who patches our app?
On 14 October 2026 Next.js shipped an out‑of‑band fix for two critical unauthenticated remote code execution bugs, one with no known workaround (Next.js blog). The fixes landed in 16.4.1 and 15.5.28; 14.x gets none.
I patch the same day and redeploy once your tests pass. In October 2025 I hardened a Next.js app before a third-party pentest: a nonce-based CSP through middleware, JSON‑only APIs that force a preflight against CSRF, and HSTS preload.
