CVE-2026-128077: Nuxt Incomplete Fix For GHSA-9v7c-q64q-vv33: A Vulnerability

MODERATE
Advisory Identifier: GHSA-r99w-jh2x-3mg9
CVSS 6.5
CWE-436 CWE-863
Published
Advisory Summary

CVE-2026-128077 is a MODERATE (CVSS 6.5) incomplete fix for ghsa-9v7c-q64q-vv33: a vulnerability (CWE-436: Interpretation Conflict) affecting Nuxt libraries in the npm ecosystem. The issue involves incomplete fix for ghsa-9v7c-q64q-vv33: a leading `//` in the request path bypasses `server/middleware` path checks and server route rules on page routes. Remediation is available by upgrading affected packages to version 4.6.4.

CVE-2026-128077 at a Glance

CVE Identifier CVE-2026-128077
GHSA Identifier GHSA-r99w-jh2x-3mg9
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-436: Interpretation Conflict
Affected Product Nuxt
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-128077

To remediate this vulnerability, upgrade all affected Nuxt dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@nuxt/nitro-server fixed: 4.6.4
npm install @nuxt/nitro-server@4.6.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @nuxt/nitro-server

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-128077, inspect your project dependencies using npm:

npm ls @nuxt/nitro-server

Analyze the terminal output to locate any version of Nuxt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6.4), your application is affected.

Note: The npm ls @nuxt/nitro-server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-436: Interpretation Conflict, where product a handles inputs or steps differently than product b, which causes a to perform incorrect actions based on its perception of b's state. In Nuxt, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Since `4.6.0`, Nuxt parses a request path that starts with `//` as a URL with a host before rendering a page, so `//x/admin` renders the page at `/admin`. Nitro's routing, Nitro's route rules and `server/middleware` see the path as `//x/admin`, so server-side checks keyed on `/admin` do not apply. The fix for [GHSA-9v7c-q64q-vv33](https://github.com/nuxt/nuxt/security/advisories/GHSA-9v7c-q64q-vv33) in `4.6.3` covered dot segments but not this form. ### Impact An unauthenticated attacker can bypass server-side controls that match on the request path of a page route. A route-scoped server handler is skipped: ```ts // nuxt.config.ts export default defineNuxtConfig({ serverHandlers: [{ route: '/admin', middleware: true, handler: '~~/server/admin-guard.ts' }], }) ``` ```ts // server/admin-guard.ts export default defineEventHandler((event) => { if (!isAuthenticated(event)) { throw createError({ statusCode: 401 }) } }) ``` With this handler, `/admin` returns 401, but `//x/admin` and `///x/admin` render `app/pages/admin.vue` along with the data it fetches during server rendering. `server/middleware` that checks `event.path.startsWith('/admin')` is skipped in the same way. Server-side `redirect` and `headers` route rules are also skipped, so `'/admin/**': { redirect: '/login' }` does not redirect `//x/admin/secret`, and per-route security headers such as `Content-Security-Policy` are not sent. Browsers send a path such as `//x/admin` as written, so a plain link is enough to reach the page. Not affected: - API handlers in `server/api` and `server/routes`, which Nitro does not match for these paths. - `appMiddleware` route rules and middleware declared with `definePageMeta`, which are matched against the resolved route. - Nuxt `3.x` and `4.0.0` to `4.5.x`, which pass the path to the page router unchanged, so these requests 404. ### Patches Fixed in `@nuxt/nitro-server@4.6.4`, which `nuxt@4.6.4` depends on. The renderer now uses the request path exactly as Nitro matched it, so a path starting with `//` no longer resolves to a different page. ### Workarounds Reject request paths that start with `//` in a server middleware: ```ts // server/middleware/double-slash.ts export default defineEventHandler((event) => { if (event.path.startsWith('//')) { throw createError({ statusCode: 404 }) } }) ``` A reverse proxy or CDN that merges repeated slashes before forwarding the request also removes the mismatch. ### Credits Nuxt thanks @kq5y for reporting this issue.

CVE-2026-128077 Affected Nuxt Versions

1 component(s)
Fixed Versions:
4.6.4
Product / Package Ecosystem Affected Versions Fixed Version
@nuxt/nitro-server
npm
≥ 4.6.0
< 4.6.4
4.6.4

References

Frequently Asked Questions

What is CVE-2026-128077?
CVE-2026-128077 is a security vulnerability in Nuxt involving Incomplete fix for GHSA-9v7c-q64q-vv33: a leading `//` in the request path bypasses `server/middleware` path checks and server route rules on page routes under CWE-436: Interpretation Conflict.
Which Nuxt versions are affected?
Affected versions include releases prior to 4.6.4 across affected packages: @nuxt/nitro-server.
What version fixes CVE-2026-128077?
Upgrading to 4.6.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @nuxt/nitro-server affected?
Yes, @nuxt/nitro-server is affected in releases prior to 4.6.4. Upgrade your dependency to 4.6.4 or later.
What is the CVSS score of CVE-2026-128077?
CVE-2026-128077 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-128077?
CVE-2026-128077 is classified under CWE-436: Interpretation Conflict (Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.).
How can I check npm dependencies for CVE-2026-128077?
Run the dependency tree command: 'npm ls @nuxt/nitro-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r99w-jh2x-3mg9",
  "modified" : "2026-11-13T19:32:21Z",
  "published" : "2026-11-13T19:32:21Z",
  "aliases" : [ "CVE-2026-128077" ],
  "summary" : "Nuxt: Incomplete fix for GHSA-9v7c-q64q-vv33: a leading `//` in the request path bypasses `server/middleware` path checks and server route rules on page routes",
  "details" : "### Summary\n\nSince `4.6.0`, Nuxt parses a request path that starts with `//` as a URL with a host before rendering a page, so `//x/admin` renders the page at `/admin`. Nitro's routing, Nitro's route rules and `server/middleware` see the path as `//x/admin`, so server-side checks keyed on `/admin` do not apply. The fix for [GHSA-9v7c-q64q-vv33](https://github.com/nuxt/nuxt/security/advisories/GHSA-9v7c-q64q-vv33) in `4.6.3` covered dot segments but not this form.\n\n### Impact\n\nAn unauthenticated attacker can bypass server-side controls that match on the request path of a page route.\n\nA route-scoped server handler is skipped:\n\n```ts\n// nuxt.config.ts\nexport default defineNuxtConfig({\n  serverHandlers: [{ route: '/admin', middleware: true, handler: '~~/server/admin-guard.ts' }],\n})\n```\n\n```ts\n// server/admin-guard.ts\nexport default defineEventHandler((event) => {\n  if (!isAuthenticated(event)) {\n    throw createError({ statusCode: 401 })\n  }\n})\n```\n\nWith this handler, `/admin` returns 401, but `//x/admin` and `///x/admin` render `app/pages/admin.vue` along with the data it fetches during server rendering. `server/middleware` that checks `event.path.startsWith('/admin')` is skipped in the same way.\n\nServer-side `redirect` and `headers` route rules are also skipped, so `'/admin/**': { redirect: '/login' }` does not redirect `//x/admin/secret`, and per-route security headers such as `Content-Security-Policy` are not sent.\n\nBrowsers send a path such as `//x/admin` as written, so a plain link is enough to reach the page.\n\nNot affected:\n\n- API handlers in `server/api` and `server/routes`, which Nitro does not match for these paths.\n- `appMiddleware` route rules and middleware declared with `definePageMeta`, which are matched against the resolved route.\n- Nuxt `3.x` and `4.0.0` to `4.5.x`, which pass the path to the page router unchanged, so these requests 404.\n\n### Patches\n\nFixed in `@nuxt/nitro-server@4.6.4`, which `nuxt@4.6.4` depends on. The renderer now uses the request path exactly as Nitro matched it, so a path starting with `//` no longer resolves to a different page.\n\n### Workarounds\n\nReject request paths that start with `//` in a server middleware:\n\n```ts\n// server/middleware/double-slash.ts\nexport default defineEventHandler((event) => {\n  if (event.path.startsWith('//')) {\n    throw createError({ statusCode: 404 })\n  }\n})\n```\n\nA reverse proxy or CDN that merges repeated slashes before forwarding the request also removes the mismatch.\n\n### Credits\n\nNuxt thanks @kq5y for reporting this issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@nuxt/nitro-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.6.0"
      }, {
        "fixed" : "4.6.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/nuxt/nuxt/security/advisories/GHSA-r99w-jh2x-3mg9"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-128077"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nuxt/nuxt/commit/75c12c6fb4c22ec2cbde0051da24776d2dffa868"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/nuxt/nuxt"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nuxt/nuxt/releases/tag/v4.6.4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-436", "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-13T19:32:21Z",
    "nvd_published_at" : "2026-11-13T18:17:37Z"
  }
}