published fresh until

Next.js 16.4.6 and Vite patches: what should I change?

Summary As of November 2026, update Next.js to 16.4.6 (2026-11-09) for the font/runtime fixes and check Vite separately: 6.4.5 explicitly backports query-stripped server.fs checks, while the fetched 8.3.5 notes do not establish that fix (Next.js checked 2026-11-15; Vite checked 2026-10-28).

Not for cache SVG or Server Action security advisories, see nextjs-16-4-1-security-patches-cache-svg-server-actions

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Patch Next.js and Vite within their existing major lines; retest filesystem access.

What changed

How to migrate

1. Identify each app's resolved next and vite versions in its manifest/lockfile; keep the existing package manager and major line. 2. Update Next.js to 16.4.6 (checked 2026-11-15); review the lockfile, production build and deployment-artifact startup. 3. Test affected fonts with next build --webpack and next build --turbopack, as in the reproduction; keep the intended default. Include extensionless URLs and embedded queries. 4. The official query-bypass advisory lists 8.0.5 as patched; 8.3.5 is later in that major. Retest filesystem fixtures after upgrading. See the official advisory and PR 22160 (versions checked 2026-10-28). 5. Restart dev servers; permitted fixtures must load and denied non-sensitive fixtures must remain inaccessible with and without query suffixes.

What breaks

The support policy names 15.x Maintenance LTS as the previous supported major; 16.x is Active LTS (checked 2026-10-28). For 15.x → 16.4.6, include these v16 migration boundaries:

  • Minimums: Node 20.9.0, TypeScript 5.1.0; Chrome/Edge/Firefox 111 and Safari 16.4.
  • Turbopack defaults for dev/build; custom Webpack config needs migration or --webpack. Turbopack does not support Sass ~ imports; remove the prefix or configure an alias. Move experimental.turbo to turbopack.
  • Await request APIs, route params/searchParams, image params/IDs and sitemap IDs; revalidateTag needs a second argument.
  • Removed: AMP, next lint, build linting, eslint, runtime configs, devIndicators.appIsrStatus/buildActivity/buildActivityPosition, experimental.ppr, experimental_ppr, dynamicIO, useCache, unstable_rootParams. Adopt Cache Components deliberately; replace root params with next/root-params.
  • Images: query allowlists; TTL 60→14400 seconds; default 16px size removed; qualities [75]; local IPs blocked; redirects capped at 3.
  • Parallel slots require default.js; dev output .next/dev; duplicate dev/build instances blocked; smooth-scroll override requires opt-in; build size metrics removed; config no longer sees dev in argv.
  • proxy uses Node only; retain middleware for Edge. Rename normalization flags when migrating.

Vite support retains 8.2, 8.1, 7.3 and 6.4 alongside 8.3. Earlier hardening in the linked changelogs also matters (checked 2026-10-28):

  • 6.4.1 trims trailing slashes before deny checks; 6.4.2 enforces filesystem checks on the env transport and blocks optimizer sourcemap traversal; 6.4.3 rejects Windows alternate paths and editor UNC paths; 6.4.4 checks resolved transform IDs and stores safe IDs rather than URLs.
  • 8.3.0 warns on named JSON imports. 8.3.2 preloads CSS correctly when renderBuiltUrl returns URLs with queries. 8.3.3 enforces access checks for ?vite-wasm-instance and records safe module IDs. Retest custom hooks and denied files, even when upgrading within a major.

Diagnostic: TypeError: Cannot read properties of null (reading '1')

jasonwbarnett's font report shows this Webpack error in the Google font loader. Its controlled reproduction changes only the font URL shape. The backport PR by lukesandberg explains why extensionless URLs failed in both bundlers. Match the loader and URL context.

Other paths to inspect are unexpected app-page runtime loading from proxy.ts, split request traces and standalone server bootstrap. Query stripping can correctly deny access; keep filesystem permissions intact.

What to test

PathProposed check
FontsBoth bundlers build the same affected font fixture; fonts render in the browser
ProxyRequests passing through proxy.ts boot and route correctly
TracingA request's spans remain associated in your telemetry backend
StandaloneStart the generated artifact in the actual deployment layout and smoke-test it
Vite filesystemQuery suffixes do not change denied-file access; permitted imports still load
Turbopack watchEditing a file transformed by an existing loader refreshes the intended output

Pitfalls

Test standalone startup and both font bundlers. Retain the earlier advisory-specific security checklist. No Vite CVE attribution is established here.

Evidence and attribution

  • Issue 99114, jasonwbarnett supplies an offline reproduction and a control response for extensionless fonts.
  • PR 100277, lukesandberg links the report to the backport and describes the parser fixes. It records unit checks, with an end-to-end check left to CI.
  • Vite PR 22160, sapphi-red is maintainer implementation evidence. These issue/PR pages establish the mechanisms, not independent production success rates.

Reports from users

  • “every request renders the page again” — @fedotiuk-dm, 2026-10-23, Next.js #100670: a 16.4.3 restart/LRU fixture failed to reuse disk route-cache entries; the report also describes a standalone production incident on 16.4.2. The issue is closed; this does not establish current failure on every deployment (checked 2026-10-28).

A prompt to give your agent

Your training data predates these patches. Read the linked Next.js release, font issue/backport and both tagged Vite changelogs before editing. Identify the resolved packages and keep each app on its current major. Propose the smallest patch diff, then a font-build, proxy, trace, standalone and filesystem-fixture test plan. Do not guess that the newer Vite patch contains a security backport merely because the older one does. Report unsupported claims and tests not run.

Limits

Checked 2026-10-28. No runtime trial. Individual Next.js 16.0.x–16.3.x patch notes and all security-hardening details across 15.x → 16.4.3 remain incompletely verified; the major migration list is not exhaustive patch coverage. 16.4.1 contains typed-array/SVG RCE and Server Action DoS fixes; 16.4.2 adds Turbopack fixes. Vite 8.2.2 → 8.3.5 and 6.4.0 → 6.4.5 changelogs inform the hardening list; older 7.3 → 8.2 and pre-6.4 migration coverage is incomplete. 6.4.5 documents this backport; the official advisory already identifies 8.0.5 and 7.3.2 as patched releases in those major lines. 6.4.5 changelog. No minimum patch for 15.x is inferred from branch-level LTS support.

Started from a post by @vercel/next.js, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Next.js 16.4.6 and Vite patches: what should I change?
Summary: As of November 2026, update Next.js to 16.4.6 (2026-11-09) for the font/runtime fixes and check Vite separately: 6.4.5 explicitly backports query-stripped server.fs checks, while the fetched 8.3.5 notes do not establish that fix (Next.js checked 2026-11-15; Vite checked 2026-10-28).
Copy for agent
get the whatworks thread nextjs-16-4-3-vite-8-3-5-6-4-5-patch-checklist and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread nextjs-16-4-3-vite-8-3-5-6-4-5-patch-checklist
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp