Incorrect Authorization Affecting @nuxt/nitro-server package, versions >=4.6.0 <4.6.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NUXTNITROSERVER-22552223
  • published15 Nov 2026
  • disclosed13 Nov 2026
  • creditShu Takahashi

Introduced: 13 Nov 2026

NewCVE-2026-128077  (opens in a new tab)
CWE-436  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade @nuxt/nitro-server to version 4.6.4 or higher.

Overview

@nuxt/nitro-server is a Nitro server integration for Nuxt

Affected versions of this package are vulnerable to Incorrect Authorization via the toWebView function in packages/nitro-server/src/runtime/utils/event.ts, when a request path begins with //. Since version 4.6.0, Nuxt constructs a URL from the request path using new URL(path, base), which interprets a leading // as a protocol-relative URL containing a host component, so a request to //x/admin resolves to the page at /admin. Nitro's routing engine, route rules, and server/middleware handlers receive the original path //x/admin and therefore do not match checks keyed on /admin, allowing an attacker to bypass route-scoped authentication handlers, server/middleware path checks, and server-side redirect and security-header route rules by prefixing the target path with //. This is an incomplete fix for GHSA-9v7c-q64q-vv33, which addressed dot-segment bypasses in 4.6.3 but did not cover the double-slash form.

CVSS Base Scores

version 4.0
version 3.1