Skip to content

CVE-2026-128071 Nuxt: Incomplete fix for GHSA-6gq8-jgmh-3ffp: an encoded slash (`%2F`) in the request path bypasses route rules on catch-all page routes

MediumCVSS 6.5 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

Nuxt is an open-source web development framework for Vue.js. Nuxt from 3.0.0 until 4.6.4, @nuxt/nitro-server from 3.20.0 until 4.6.4, and @nuxt/vite-server from 4.6.0 until 4.6.4, routeRules matching leaves an encoded slash (%2F) in the request path while a catch-all page such as app/pages/[...slug].vue or a custom multi-segment page route decodes it into a route parameter. The getRouteRules result is therefore incomplete, and an unauthenticated request can render the page without the redirect, headers, proxy, SSR, noScripts, appMiddleware, or appLayout rules configured for the decoded path. Protected content is resolved only when the page interprets the decoded parameter accordingly: a custom multi-segment parameter can contain the decoded path, while a repeatable catch-all must join the slash-containing array element; route.path remains encoded and does not resolve that resource. Static pages, single-segment parameters, server/api handlers, and server/routes handlers are not affected because they do not have the same encoded-path mismatch. This issue is fixed in version 4.6.4.

Upgrade path

6 packages: 1 fixed, 2 partially fixed.

PackageAffectedFixed inStatus
npm nuxt(npm) >= 3.0.0; >= 3.0.0, < 4.0.0; >= 4.0.0, < 4.6.4 4.0.0, 4.6.4 Partially fixed
nuxt nitro-server(npm) >= 3.20.0; >= 3.20.0, < 4.0.0; >= 4.2.0, < 4.6.4 4.0.0, 4.6.4 Partially fixed
nuxt vite-server(npm) >= 4.6.0, < 4.6.4 4.6.4 Fixed
nuxt = >= 3.0.0, < 4.6.4 No fix listed Versions listed
nuxt nitro-server = >= 3.20.0, < 4.0.0; = >= 4.2.0, < 4.6.4 No fix listed Versions listed
nuxt vite-server = >= 4.6.0, < 4.6.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm nuxt(npm) >= 4.0.0, < 4.6.4 4.6.4
npm nuxt(npm) >= 3.0.0, < 4.0.0 4.0.0
nuxt nitro-server(npm) >= 4.2.0, < 4.6.4 4.6.4
nuxt nitro-server(npm) >= 3.20.0, < 4.0.0 4.0.0
nuxt vite-server(npm) >= 4.6.0, < 4.6.4 4.6.4
nuxt = >= 3.0.0, < 4.6.4 No fix listed
nuxt nitro-server = >= 3.20.0, < 4.0.0 No fix listed
nuxt nitro-server = >= 4.2.0, < 4.6.4 No fix listed
nuxt vite-server = >= 4.6.0, < 4.6.4 No fix listed
npm nuxt(npm) >= 3.0.0 No fix listed
nuxt nitro-server(npm) >= 3.20.0 No fix listed

References