What happened#
Nuxt’s maintainers published eight advisories on 2 November 2026 and released nuxt@4.6.4 the same day. The npm registry shows nuxt@4.6.4 was published at 20:48 UTC on 2 November, after nitropack@2.13.6 at 17:09 UTC, and as I write it is still the registry’s latest nuxt. The release notes call it a security release, say it fixes eight advisories in Nuxt and updates nitropack to 2.13.6 for three more in Nitro, and recommend upgrading as soon as possible. Some of the advisories (for example the two I checked in GitHub’s global database) were reviewed there on 13 November, which is when they started surfacing in dependency tooling.
No advisory is rated above Moderate. Still, two of them are the kind that matter when a path is used as a gate: according to the advisories, the page that renders and the path the server-side checks see can disagree.
The eight advisories#
In plain terms, per the advisories:
- Leading
//. Since 4.6.0, Nuxt treats a path that begins with//as a URL with a host before rendering, so//x/adminrenders the page at/admin, while Nitro’s routing, route rules andserver/middlewarestill see//x/admin. The advisory says an unauthenticated visitor can therefore reach a page that a path-keyed server check would have blocked, and that server-sideredirectandheadersrules (including aContent-Security-Policy) are skipped too. It says the fix for the earlier dot-segment advisory (4.6.3) did not cover this form. It does not affectserver/apiandserver/routeshandlers, route middleware set withdefinePageMeta, or Nuxt 3.x and 4.0 to 4.5. - Encoded slash. Route rules are matched with
%2Fleft encoded, but the page router decodes it into route params. The advisory says a request such as/docs/internal%2Fguidecan render a catch-all page without the rules for the path it resolves to, skippingredirect,headers,proxyandappMiddlewareamong others. It says static page routes and single-segment params are not affected, and neither areserver/apiandserver/routes. Whether protected content leaks depends on how the page reads the route. - Dev-server file read. This affects only
nuxt dev. When no workspace is declared, Nuxt could pick a parent directory asworkspaceDir, and the Vite dev server allows/_nuxt/@fs/requests for files under it. The advisory says both of these must hold: a stray lockfile or a settings-onlypnpm-workspace.yamlordeno.jsonin a parent directory, and a dev server reachable from the network (--host,--tunnel, a published port or a proxy). Production builds are not affected. - Error details. In production, a non-HTTP error thrown while rendering was wrapped with
createErrorand treated as deliberate, so its message and data could reach the client. For a failed$fetch, the advisory says that includes the requested URL with its query string, so a token in a URL could be exposed. A customerror.vuedid not prevent it. - DNS rebinding. Only apps whose dev server uses the webpack or rspack builder; the default Vite builder rejects unknown hosts. The advisory says a malicious page could read built client chunks, and notes that Chromium’s Local Network Access prompts (Chrome 142 and later) limit exploitation. Private
runtimeConfigis not in the client bundle, so it is not exposed. - Repeated slashes. A regular expression that strips trailing slashes is quadratic in the length of a run of slashes. The advisory says about 16,000 slashes cost roughly 0.1 to 0.4 seconds of synchronous CPU, and applies to SSR apps with an
isr,swrorcacheroute rule, or with the opt-inexperimental.early404. - Redirect rules. Only the experimental Vite server builder (
server: { builder: 'vite' }) with a wildcardredirectwhose target starts with**or/**. A path such as/old//evil.examplecould produce a redirect to another origin. Rated Low, and it needs the visitor to click a link. - Island props. Affects apps that use
<NuxtIsland>or server components and pass attacker-influenced strings as props. The advisory says different props could produce the same hash and so share one/__nuxt_islandpath, which matters for prerendering or for a CDN that caches that path while ignoring the query. Island hashes change after the fix.
Nitro. The Nitro 2.13.6 release notes name three advisories: cached handlers that might share entries across HTTP methods or replay per-user Set-Cookie headers (GHSA-39r7-wfcx-99xg), a proxy route-rule scope bypass via an empty // segment (GHSA-rhhp-7488-3qwf), and an open redirect via a backslash or control characters in wildcard redirect rules (GHSA-pqxc-r4h5-jc95). I read those from the release notes, not from the advisory pages, so I don’t quote their severity or version ranges.
Am I affected?#
Start with the version: anything on nuxt before 4.6.4 is on the affected side of at least some of these, and the exact range depends on the advisory (see the table). The conditions below narrow it down.
| Look for | Then check |
|---|---|
routeRules | Do you use redirect, headers, proxy or cache rules keyed on a path prefix such as /admin/**? On 4.6.0 to 4.6.3, can //x/admin reach the page? |
server/middleware | Does a handler there check the request path to allow or deny access? Those checks are what the // bypass skips. |
[...slug].vue | Do you have catch-all pages or params that span segments, with rules or middleware on the paths they resolve to? |
nuxt dev --host | Is your dev server reachable from the network (--host, --tunnel, a container port), and is there a lockfile or settings-only workspace file in a parent directory? |
builder: 'webpack' | Do you develop with the webpack or rspack builder? The default Vite builder is not affected by the DNS-rebinding issue. |
$fetch | In production, can a failing server-side fetch throw with a URL that contains a token or other secret? |
NuxtIsland | Do islands receive user-controlled string props, and does a CDN cache /__nuxt_island by path alone? |
What to do now#
- Find your versions. Check every Nuxt project, including monorepo packages and anything that bundles Nuxt.
- Upgrade to
nuxt@4.6.4or later. The release notes say@nuxt/nitro-server4.5 and 4.6 accept severalnitropackversions, so an existing lockfile may keep an older Nitro: check thatnitropackresolves to2.13.6or later. (This detail comes from a third-party summary of the release notes; confirm it in your own lockfile.) - Read the behaviour changes before deploying. The release notes list them: server-render error details are stripped unless they come from
createError;cache,swrandisrrules only cache GET and HEAD and skip responses that set cookies or send private or no-store headers; wildcardproxyandredirectrules reject targets outside the rule’s scope; webpack and rspack dev servers reject unexpectedHostheaders unless listed indevServer.allowedHosts. If you develop behind a proxy or another hostname, add it there. - If you can’t upgrade yet, use the advisories’ own workarounds: a server middleware that returns 404 for paths starting with
//(or containing an encoded slash, narrowed to your protected prefixes), or a proxy or CDN that collapses repeated slashes; setworkspaceDirexplicitly and keep dev servers off untrusted networks. - Rotate if you may have exposed secrets. The advisories say to treat files in a parent directory as exposed if a network-reachable dev server met the conditions, to rotate upstream tokens that may have appeared in error payloads, and to treat anything inlined into a development client bundle as exposed in the DNS-rebinding case.
# Which versions do you have (including nested ones)?
npm ls nuxt nitropack @nuxt/nitro-server @nuxt/schema
# Where do you key rules or checks on a path?
grep -rnE "routeRules|defineEventHandler" server nuxt.config.* 2>/dev/null
# Update, then confirm Nitro moved too
npm install nuxt@latest
npm ls nitropackThe advisories don’t say whether any of these has been exploited, and none lists indicators to look for. If you relied on route rules or server middleware for access control on a public app, a sensible precaution is to check your access logs for requests to protected pages that begin with // or contain %2F. That is my own suggestion, not advice from the advisories.
How I checked this site#
This site is a Next.js project on Vercel. I searched its package.json and package-lock.json for nuxt and nitro. The only matches are optional peer-dependency entries for nuxt in the lockfile, and there is no installed nuxt or nitropack package, so I found no dependency on either. That covers this repository only.
What the sources don’t say#
- Whether anyone has exploited any of the eight. The advisories don’t say either way.
- How many apps are in the affected configurations. The advisories give no numbers.
- The full detail of the three Nitro advisories. I read their titles in the Nitro release notes, not the advisory pages, so I have no severity or affected ranges for them.
- Why the release notes’ description of the workspace fix (a declared workspace root) differs slightly from the advisory’s (which also lists a git repository). Set
workspaceDirexplicitly if your layout is unusual. - I did not find news coverage. My independent checks are the npm registry and a third-party repository note that agrees on the counts; the rest comes from the Nuxt and Nitro projects themselves.
My take#
My own opinion, not from the advisories.
The two bypasses are the same lesson again: when a framework normalises a path for rendering and a different layer matches rules on the raw path, an attacker can pick the spelling that gets past the rule. If you can, put authorisation next to the data (inside the handler or the API route that returns it) rather than relying only on a path-keyed redirect or middleware, and test unusual spellings (//, %2F, dot segments) as part of your upgrade checks.
Sources#
- Nuxt advisories (primary sources for the flaws, conditions, severity and patched versions): GHSA-r99w-jh2x-3mg9, GHSA-f3x9-2chm-73c8, GHSA-mjrq-cffv-q4qc, GHSA-96x6-fvhx-49hg, GHSA-x2wv-5868-p7v2, GHSA-r9jc-w898-3fv6, GHSA-p4h3-4h99-9665 and GHSA-hf59-9xwc-2g4p
- Nuxt project: v4.6.4 release notes (security release, behaviour changes)
- Nitro project: v2.13.6 release notes (the three Nitro advisories and hardening)
- npm: nuxt package metadata and nitropack package metadata (version numbers and publish times)
- Third-party note: a dependency-security notes pull request that independently records Nuxt 4.6.4 as a security release fixing eight advisories and nitropack 2.13.6 as the fix for three in Nitro
Keep reading
6 min read
Nuxt Content query API flaw (CVE-2026-102650): can one request freeze your server? What to upgrade to
CVE-2026-102650 (CVSS 7.5): the default @nuxt/content 3.x query endpoint can be made to stall a Node server with one request. Fixed in 3.15.2; use 3.16.2 or later.
7 min read
Hono advisories, November 2026 (CVE-2026-126355 to 126359 and more): what to upgrade to, and how to check your middleware
Hono 4.13.16 fixes five advisories: mount() and RegExpRouter middleware bypasses, a csrf() gap and a form validator skip. Plus two @hono/node-server fixes. What to check.