Updated 4 Nov 2026: November 2 Nuxt 4.6.4 security release supersedes 4.6.3: eight Nuxt advisories plus three Nitro fixes, with cache, Host, error, route and proxy behaviour changes.

Key details

  1. Nuxt 4.6 released October 5, 2026.
  2. nuxt/server provides a portable server API while Nitro remains the default.
  3. @nuxt/vite-server is experimental, not generally available as a replacement.
  4. Typed $fetch is rebuilt to reduce type-checker cost on large route graphs.
  5. appSecret and useSession add sealed-cookie session helpers.
  6. Nuxt CLI v4 ships with updated developer tooling.
  7. Nuxt v4.6.3 released October 27, 2026 and fixes five security advisories.
  8. GHSA-9v7c-q64q-vv33: encoded dot-segment paths bypassed path-based page middleware and route rules in 4.6.0–4.6.2; fixed 4.6.3.
  9. GHSA-x287-wcfc-q46c: dev HMR client-error messages could read files accessible to the dev process if the dev port was reachable; not production.
  10. GHSA-648h-gw55-m2g7 and GHSA-3xf4-9g3c-4h4w: dev bundle/private runtimeConfig and generated appSecret exposure; production bundles unaffected.
  11. Server-island redirect route-rule bypass also fixed; Nuxt 3 is EOL and does not receive overlapping dev-server fixes.
  12. Nuxt 4.6.4 released November 2, 2026; upstream reports eight Nuxt advisories and three Nitro advisories fixed via nitropack 2.13.6.
  13. Production untrusted error details are redacted; webpack/rspack development servers add Host checks and devServer.allowedHosts.
  14. Nitro cache/swr/isr rules now cache only GET/HEAD and skip Set-Cookie, private or no-store responses; wildcard redirects/proxies are scope-bound.
  15. Route rules now match encoded slash paths; x-forwarded-proto trust is opt-in.

What builders should take away

  1. Prefer nuxt/server imports when writing code that should survive Nitro/h3 upgrades.
  2. Benchmark typed fetch and type-checking on real route graphs before adopting performance claims.
  3. Treat the alternative Vite server as experimental and keep production on supported deployment paths.
  4. Audit appSecret configuration and session-cookie handling before rollout.
  5. Upgrade Nuxt 4.6 installations to 4.6.3 or later; ensure lockfiles pull matching @nuxt/vite-builder and @nuxt/nitro-server packages.
  6. Audit page-route access control that relies only on raw URL paths, including encoded dot segments, case and redirect rules.
  7. Never expose nuxt dev to untrusted networks; if it was reachable while vulnerable, review and rotate secrets readable by the dev process.
  8. Upgrade to Nuxt 4.6.4 with Nitro 2.13.6 rather than stopping at 4.6.3; review deployment lockfile.
  9. Retest custom development hostnames, cache and cookie behaviour, encoded-path authorisation and reverse-proxy configuration.

What changed

Nuxt 4.6 shipped October 5, 2026 with nuxt/server as a public server API that insulates applications from the underlying h3/Nitro version. Nitro remains the default, while @nuxt/vite-server provides an experimental alternative. The release rebuilds typed $fetch on fetchdts to avoid large TypeScript instantiation blowups, adds runtimeConfig.appSecret and sealed-cookie sessions via useSession, supports Vue Vapor interoperability, and ships Nuxt CLI v4 with developer workflow improvements. Security update: Nuxt 4.6.3 shipped October 27 with five fixes, including an unauthenticated dot-segment page-route bypass of server/middleware and route rules, failure to apply redirect rules to .server.vue page islands, and three development-server file or secret exposure issues. The dev-server issues require network access to the development port and do not affect production bundles. Nuxt 3 is end of life and receives no fix for the overlapping dev-server runtimeConfig issue. On November 2, Nuxt 4.6.4 superseded 4.6.3 with eight Nuxt security advisory fixes and a required nitropack 2.13.6 dependency that fixes three Nitro advisories. The release now redacts untrusted server-rendering errors in production, rejects unexpected Host headers in webpack/rspack development servers, limits automatic workspace-root expansion, restricts caching of private or cookie-bearing responses and non-GET/HEAD methods, constrains wildcard proxy and redirect targets, and matches route rules across encoded slashes. It also changes trust of x-forwarded-proto to opt-in.

Why it matters

Nuxt's server API previously exposed more of Nitro and h3's implementation details, making major dependency transitions disruptive. A stable Nuxt-owned server surface can make framework evolution and hosting choices easier. Meanwhile, the typed-fetch rewrite targets compile-time cost on large route sets, a practical productivity issue for teams with extensive APIs.

nuxt/server becomes the compatibility boundary

Nuxt owns public request/event helpers rather than tying application imports directly to h3/Nitro major versions. Nitro remains the default implementation.

A pure Vite server is still experimental

@nuxt/vite-server previews a different server backend, but production teams should not treat it as an equivalent GA deployment path.

Typed fetch and sessions get practical upgrades

The rebuilt typed $fetch targets excessive TypeScript instantiations on large route sets; appSecret and useSession provide sealed cookie sessions without a mandatory server-side session store.

CLI v4 improves development workflows

The new CLI adds faster startup and clearer errors, plus a lock/takeover mechanism useful when an agent or second terminal starts the dev server.

October 27 security patch: production path checks and development secrets

Nuxt 4.6.3 fixes five reported security issues. The most directly production-relevant is GHSA-9v7c-q64q-vv33: Nuxt 4.6.0–4.6.2 could render a page after normalising literal or encoded dot segments while Nitro route rules and server/middleware evaluated the unnormalised path. A path such as /%2e/admin could reach the admin page while checks keyed to /admin did not apply. API handlers, appMiddleware, Nuxt 3 and Nuxt 4.0–4.5 are not affected by that specific flaw. The patch also applies redirect route rules to .server.vue page islands. Three other fixes restrict development-server reads of client-error file paths, Nitro's generated dev bundle and generated appSecret. The default localhost bind reduces exposure; nuxt dev --host, tunnelling or proxies to an untrusted network are higher risk. No confirmed exploitation was established.

November 2 security follow-up: Nuxt 4.6.4 and Nitro 2.13.6

Nuxt's official release describes eight Nuxt advisories and three more fixed in Nitro 2.13.6. Production errors now hide untrusted exception details; development servers reject unexpected Host headers unless explicitly allowed. Nitro no longer caches cookie-bearing or private/no-store responses, limits cacheable methods to GET/HEAD, and prevents wildcard proxy/redirect targets from escaping the intended rule scope. Encoded-slash paths now match route rules. Upgrade to 4.6.4 and verify lockfiles resolve Nitro 2.13.6, then retest caching, custom dev tunnels and route-based access controls. No confirmed exploitation or complete deployment-specific impact was established in this pass.

What to watch next

  • Nuxt 5 and Nitro v3 migration timelines.
  • Stabilisation of @nuxt/vite-server.
  • Independent type-checker and CLI performance measurements.
  • Further security advisories or follow-up regressions in Nuxt 4.6 path normalisation and development tooling.
  • Any follow-up advisories or regressions after Nuxt 4.6.4/Nitro 2.13.6.

Still unclear

  • Vendor performance numbers have not been independently replicated in BTN's test environment.
  • Pure Vite server builds remain experimental.
  • Not all legacy h3 imports will automatically be portable without migration.
  • No confirmed in-the-wild exploitation was established; affected deployments depend on routing configuration or dev-port exposure.

Sources

Direct reading behind this dossier.

9 sources
Nuxt 4.6
Nuxt primary

Official Nuxt 4.6 announcement and architecture changes.

Nuxt 4.6 release
Nuxt GitHub primary release

Versioned release and implementation notes.

Nuxt 4.6.4 security release
Nuxt GitHub primary

Eight Nuxt advisories, Nitro 2.13.6's three advisories, security-related behaviour changes.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment