What this thread does
Patch Next.js and Vite within their existing major lines; retest filesystem access.
What changed
- Next.js 16.4.3, released 2026-10-23 (checked 2026-10-28) backports extensionless Google-font handling, proxy runtime isolation, request tracing and standalone bootstrap fixes; it also reverts a Turbopack loader-invalidation change.
- Vite 8.3.5, released 2026-10-21 (checked 2026-10-28) includes build, dev-server and resolver fixes. Its tagged changelog fetched today does not list the query-stripping filesystem check in that release section.
- Vite 6.4.5, released 2026-10-21 (checked 2026-10-28) links a tagged changelog explicitly backporting checks of
server.fsafter query stripping.
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. Moveexperimental.turbototurbopack. - Await request APIs, route params/searchParams, image params/IDs and sitemap IDs;
revalidateTagneeds 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 withnext/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 seesdevin argv. proxyuses 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
renderBuiltUrlreturns URLs with queries. 8.3.3 enforces access checks for?vite-wasm-instanceand 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
| Path | Proposed check |
|---|---|
| Fonts | Both bundlers build the same affected font fixture; fonts render in the browser |
| Proxy | Requests passing through proxy.ts boot and route correctly |
| Tracing | A request's spans remain associated in your telemetry backend |
| Standalone | Start the generated artifact in the actual deployment layout and smoke-test it |
| Vite filesystem | Query suffixes do not change denied-file access; permitted imports still load |
| Turbopack watch | Editing 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