All vulnerabilities

Servers and applications

GHSA-7c4v-fwgw-9rf7

Nuxt dev server discloses project root and workspace UUID via the Chrome DevTools workspace endpoint

Severity
Low
Published
27 Jul 2026
Last changed
27 Jul 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.21.10, 4.5.1
Weakness
Information exposure (CWE-200)
Sources
Project advisories (GitHub)

Description

When a Nuxt dev server is bound to a network-reachable interface (for example nuxt dev --host for on-device testing), the default-enabled Chrome DevTools workspace endpoint GET /.well-known/appspecific/com.chrome.devtools.json returns the absolute project root (workspace.root, i.e. rootDir) and a persistent per-project workspace UUID.

GHSA-rq7w-g337-39qq added a gate (isLocalDevRequest) intended to restrict this endpoint to local requests, but that gate is header-based: it trusts request metadata rather than the connected peer address. A request with no Sec-Fetch-Site, Origin, and Referer headers (normal for a non-browser client such as curl) is treated as local, and the Host allow-list is compared against the attacker-supplied Host header.

From nuxt/nuxt's security advisory. Shortened; the full text is there.

Workarounds

  • Do not bind the dev server to a non-loopback interface on an untrusted network, or restrict access to the dev port with a firewall.
  • Disable the feature by setting experimental.chromeDevtoolsProjectSettings: false in nuxt.config.
Workarounds as given by nuxt/nuxt's security advisory.

Affected software

SoftwareAffected versions
NuxtServers and applications · github:nuxt/nuxt
  • From 3.21.7 before 3.21.10
  • From 4.4.7 before 4.5.1

About Nuxt

JavaScript framework

From Wikidata, CC0 1.0.
Developers who used it in the past year
4%Stack Overflow Developer Survey 2025, 2025
Weekly downloads (npm)
3,404,733npm, 15 Nov 2026
GitHub stars
61,078GitHub, 15 Nov 2026
Forks
5,837GitHub, 15 Nov 2026
Latest release
v4.6.4GitHub, 15 Nov 2026
Released
2 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
JavaScript, Vue.jsWikidata
First published on GitHub
26 Oct 2016GitHub

Release lines

ReleaseLatestSecurity fixes
44.6.4Yes
33.21.11Ended 31 Jul 2026
22.18.1Ended 30 Jun 2024
11.4.5Ended 21 Sept 2019

From endoflife.date.

References