{"vuln_id":"GHSA-6gq8-jgmh-3ffp","aliases":[],"description":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-11-21T19:15:20.338828Z","severity":"unknown","severity_source":null,"cvss_score":null,"cvss_vector":null,"cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-6gq8-jgmh-3ffp"},"matched_alias":null,"items":[{"id":2595,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-f3x9-2chm-73c8 / 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","summary":"Nuxt: Incomplete fix for GHSA-6gq8-jgmh-3ffp: an encoded slash (`%2F`) in the request path bypasses route rules on catch-all page routes\n\n### Summary\n\nNuxt matches route rules against the request path with encoded slashes (`%2F`) left encoded, while the page router decodes them into route params. A request that spells a slash as `%2F` can therefore render a page through a catch-all route without the route rules configured for the path it resolves to. The fix for [GHSA-6gq8-jgmh-3ffp](https://github.com/nuxt/nuxt/security/advisories/GHSA-6gq8-jgmh-3ffp) deliberately left reserved escapes such as `%2F` encoded, so it did not cover this form.\n\n### Impact\n\nAn unauthenticated attacker can bypass route rules that protect paths served by a catch-all page route, or by a custom route whose param can span several segments.\n\n```ts\nexport default defineNuxtConfig({\n  routeRules: {\n    '/docs/internal/**': { appMiddleware: 'auth', headers: { 'X-Frame-Options': 'DENY' } },\n    '/admin/**': { redirect: '/login' },\n  },\n})\n```\n\nWith `app/pages/docs/[...slug].vue`, `/docs/internal/guide` runs `auth`, but `/docs/internal%2Fguide` renders the same page without running `auth` and without the header. With a root `app/pages/[...slug].vue`, `/admin%2Fsecret` is rendered instead of redirected.\n\nThe rules skipped include server-side `redirect`, `headers`, `proxy`, `ssr` and `noScripts`, and `appMiddleware`, `appLayout` and `redirect` as matched in the app during server rendering and client navigation. `getRouteRules` returns the same incomplete result.\n\nWhether the page then shows protected content depends on how it reads the route:\n\n- With a route such as `definePageMeta({ path: '/docs/:path(.*)' })`, `route.params.path` is `internal/guide` for both requests.\n- With a repeatable catch-all (`[...slug].vue`), `route.params.slug` is `['internal/guide']` instead of `['internal', 'guide']`, so a page that joins the segments (`slug.join('/')`) to load content loads the protected resource.\n- `route.path` keeps the encoding (`/docs/internal%2Fguide`), so a page that loads content by `route.path` does not resolve it.\n\nNot affected:\n\n- Static page routes and params that match a single segment. `/docs%2Finternal` does not match `app/pages/docs/internal.vue`.\n- API handlers in `server/api` and `server/routes`. As far as we can tell, Nitro matches these against the same path as its route rules, so a handler and the rules for it agree.\n\nBrowsers send `%2F` in a path as written, so a plain link is enough to reach the page.\n\n### Patches\n\nFixed in `nuxt@4.6.4`, together with `@nuxt/nitro-server@4.6.4` and `@nuxt/vite-server@4.6.4`, which it depends on. Route rules are now resolved for both the request path and the path with each `%2F` read as a separator, and the rules matched by either apply. Nuxt 3 has reached end of life and will not receive a fix.\n\n### Workarounds\n\nReject page requests whose path contains an encoded slash in a server middleware:\n\n```ts\n// server/middleware/encoded-slash.ts\nexport default defineEventHandler((event) => {\n  if (/%2f/i.test(event.path.split('?')[0])) {\n    throw createError({ statusCode: \n\nAffected packages: npm:@nuxt/nitro-server, npm:@nuxt/vite-server, npm:nuxt\nPatched: nuxt 4.6.4, @nuxt/nitro-server 4.6.4, @nuxt/vite-server 4.6.4","url":"https://github.com/advisories/GHSA-f3x9-2chm-73c8","published_at":"2026-11-16T14:59:45Z","updated_at":"2026-11-16T14:59:47Z","fetched_at":"2026-11-21T19:15:18.416961Z","severity":"medium","cvss_score":6.5,"epss":0.00268,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"nuxt","vuln_id":"CVE-2026-128071","vuln_ids":["CVE-2026-128071","GHSA-6GQ8-JGMH-3FFP","GHSA-F3X9-2CHM-73C8"],"tags":["ghsa","npm","CWE-436","CWE-863"],"cluster_id":2643,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2595","html":"https://vulnwatch.ve1ve2.com/item/2595"}}]}