Information Exposure Affecting @nuxt/nitro-server package, versions >=3.21.7 <3.21.10>=4.4.7 <4.5.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-18857957
  • published16 Aug 2026
  • disclosed11 Aug 2026
  • creditSaku0512

Introduced: 11 Aug 2026

New CVE NOT AVAILABLE CWE-200  (opens in a new tab)

How to fix?

Upgrade @nuxt/nitro-server to version 3.21.10, 4.5.1 or higher.

Overview

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

Affected versions of this package are vulnerable to Information Exposure through the Chrome DevTools workspace endpoint in packages/nitro-server/src/index.ts. An attacker can retrieve the project’s absolute filesystem root and persistent workspace UUID by sending a direct request to /.well-known/appspecific/com.chrome.devtools.json on a network-reachable dev server and spoofing local-looking request headers such as Host: localhost. The endpoint’s isLocalDevRequest gate trusts request metadata instead of the connected TCP peer address, so a LAN client that can reach the dev server can bypass the intended local-only check without browser-origin headers. This leaks sensitive project path information to anyone with network access to the development port, potentially exposing workspace layout and identifiers used by Chrome DevTools auto-mapping.

Workarounds

  • Do not bind the Nuxt dev server to a non-loopback interface on an untrusted network; keep it reachable only from localhost, or restrict access to the dev port with a firewall. This prevents LAN clients from reaching /.well-known/appspecific/com.chrome.devtools.json and leaking the project root and workspace UUID.
  • Disable experimental.chromeDevtoolsProjectSettings in nuxt.config. This prevents the Chrome DevTools workspace endpoint from being enabled on the dev server.

CVSS Base Scores

version 4.0
version 3.1