nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
In short
1 breaking9 fixed5 changed16 internal
- Breaking
nitro,nuxt: require unrouting 0.3.2
Security
Fixes 1 advisory that affected 4.6.3
- ModerateNuxt payload URL generation has quadratic cost for repeated slashes in the request pathGHSA-r9jc-w898-3fv6 · 16 Nov 2026Fixed in 4.6.4
4 advisories affect 4.6.4
- ModerateNuxt exposes the message and data of unhandled errors thrown during server renderingGHSA-96x6-fvhx-49hg · 16 Nov 2026No fix yet
- ModerateNuxt: Incomplete fix for GHSA-6gq8-jgmh-3ffp: an encoded slash (`%2F`) in the request path bypasses route rules on catch-all page routesGHSA-f3x9-2chm-73c8 · 16 Nov 2026No fix yet
- ModerateNuxt: Server-side route rules (`redirect`, `headers`, `proxy`, `ssr`) are skipped for case-variant paths when routing is case-insensitiveGHSA-vjh5-4x84-xrqp · 22 Oct 2026No fix yet
- LowNuxt: Colliding island props can share one `/__nuxt_island` path (incomplete fix for CVE-2026-46342)GHSA-hf59-9xwc-2g4p · 16 Nov 2026No fix yet
Release note
The section about nuxt of a note shared by several packages.
4.6.4 is a security release. It fixes eight advisories in Nuxt and pulls in
nitropack2.13.6, which fixes three more in Nitro. We recommend upgrading as soon as you can.
Behaviour changes
These probably won't affect most apps, but it's worth flagging anyway:
Error details in production. When a page fails to render on the server, the error page and the payload now only carry message and data of errors you create with
createError. Everything else is stripped.Dev server
Hostchecks. Webpack and rspack dev servers now reject requests with an unexpectedHostheader, as Vite already does. If you use a custom hostname or tunnel, you'll need to add it to the newdevServer.allowedHostsoption.workspaceDirdetection. WhenworkspaceDirisn't set, Nuxt now only widens it pastrootDirto an explicit workspace root or the closest git repository.Nitropack cached routes.
cache,swrandisrroute rules now only cacheGETandHEADrequests, and no longer store responses that set a cookie or sendCache-Control: privateorno-store. Wildcardproxyandredirectrules also reject requests whose resolved target would leave the rule's scope.Route rules and encoded slashes. Route rules now match paths that contain encoded slashes, so
/api%2Fadminis covered by a/api/**rule.
Changelog
Fixes
- Breaking
nitro,nuxt: require unrouting 0.3.2
nuxt: use unambiguous encoding for island hash
nuxt: do not expose details of untrusted thrown errors
nuxt: strip trailing slashes in linear time
nitro,nuxt: match route rules for paths with encoded slashes
nitro,vite: remove windows + virtual dev ssr css links after hydration
nuxt: avoid hoisting setup-only values from
definePageMetanuxt: only match hydration modifiers after lazy prefix
kit,nitro,nuxt: make emitted tsconfig/types stable across reruns
nuxt: render inlined component styles after stylesheet links
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.