Packages

nuxt

4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed

The latest release, 4.6.4, is affected by 4 advisories with no fixed version yet.See advisories
Your version

4.5.1

27 Jul 2026Where it was published

4.6.4 is the newest release of 4.x.

In short

2 security2 new4 faster47 fixed57 internal

Security

Release note

⚠️ This is a security release. We recommend upgrading as soon as possible with npx nuxt upgrade --dedupe.

It fixes server-side RCE and unauthorized component instantiation via server island props, a route rule authorization bypass, server component DoS, cross-user payload disclosure on cached pages, and dev server path disclosure. Refreshing your lockfile also pulls in @nuxt/devtools@3.3.1, which fixes a separate critical development-only RCE.

If you already upgraded for the earlier route rule advisory (CVE-2026-53721), you still need this release: one of the fixes addresses a regression introduced by that fix.

If you use the cache, swr or isr route rules, purge any CDN or edge cache after upgrading; a leaked _payload.json may already be cached upstream.

Full details: Nuxt Security Patch Releases and GitHub Security Advisories.

Changelog

compare changes

Performance

  • nitro: Replace island teleports in a single html pass

  • nuxt: Add vue.optionsApi and disable it for v5+

  • nuxt: Without pages, skip client plugins that require routing

  • nuxt: Skip payload revival plugin when ssr: false

Fixes

  • nitro: Read rspack dev output fs lazily for server entry

  • rspack,webpack: Resolve loaders and runtime deps from nuxt dirs

  • nuxt: Return global route for useRoute in detached effect scope

  • nuxt: Ignore custom name or path when reusing an existing page in pages:extend

  • nuxt: Render client components in nested server components

  • nuxt: Preserve explicit useFetch method inference

  • nuxt: Revalidate cached route payloads instead of using force-cache

  • nuxt: Correct default export detection in plugin metadata

  • nuxt: Clear hide/reset timeouts in set()

  • kit,nuxt,rspack,schema,webpack: Add .mts file extension in resolver

  • nuxt: Preserve trailing slash in NuxtLink href when unset

  • nuxt: Don't cross-pollute useAsyncData cache on reactive key change

  • nuxt: Filter plugin dependencies by build target

  • nuxt: Reload real page module on HMR of JSX render-function pages

  • nuxt: Resolve @unhead/vue/* from nuxt's dependency tree

  • kit: Surface module load errors instead of masking as missing

  • nuxt: Type auto-imported $fetch with nitro's $Fetch

  • nuxt: Don't reference app config sources in shared and node tsconfigs

  • vite: Resolve SSR inlined CSS module class name mismatch

  • nuxt: Generate layout types even when pages module is disabled

  • nitro: Skip resource hints for stylesheets already rendered as blocking links

  • kit: Dedupe layers that are both auto-scanned and explicitly extended

  • nuxt: Don't apply scroll behaviour after a subsequent nav

  • vite: Ensure server sourcemap-preserver plugin actually runs

  • vite: Preserve css suffix when extracting ssr inline styles

  • nuxt: Watch external component directories in development

  • nuxt: Don't exclude client entry module from style extraction

  • nuxt: Amend cleanup command in NUXT_B7014 error message

  • nuxt: Only pull in vue-router when there are island pages

  • vite: Suppress external warnings for internal vite-node paths

  • nuxt: Use scope-aware oxc parser for auto-imports

  • nuxt: Sync layout meta during middleware on SSR

  • nitro: Add alias for h3 that pins it to the version nuxt depends on

  • nuxt: Preserve query params in cached payload extraction

  • nuxt: Mirror runtime route tree in generated typed-router types

  • nuxt: Warn when an imports preset from cannot be resolved

  • kit: Avoid mutating layer configs when resolving options

  • nuxt: Convert inline route rules exactly or drop with a warning

  • nitro,nuxt,vite: Dedupe and normalise global css links in dev

  • vite: Register template HMR plugin on dev servers

  • nuxt: Remove dev error overlay when error is cleared

  • rspack,webpack: Resolve bundled postcss defaults from builder

  • schema: Normalise slashes in app.buildAssetsDir

  • nitro: Bound island props and v-for to prevent unauthenticated DoS

  • nitro: Confine runtime payload cache to prerendering

  • nuxt: Case-fold route rule keys to match folded lookups

  • nitro: Require loopback peer for chrome devtools workspace endpoint

  • nuxt: Reject reserved template island prop under runtime compiler

  • nuxt: Reject top-level as prop for islands

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.