Nuxt dev server discloses project root and workspace UUID via the Chrome DevTools workspace endpoint
A vulnerability in Nuxt development servers allows disclosure of the absolute project root directory and a persistent workspace UUID via a Chrome DevTools endpoint. This occurs when the dev server is bound to a network-reachable interface and the experimental Chrome DevTools workspace feature is enabled. The issue arises because the endpoint's access control relies on headers rather than verifying the actual network peer, allowing any unauthenticated LAN host to retrieve this information. The vulnerability is limited to development servers and does not affect production builds. It has been fixed in Nuxt versions 4.5.1 and 3.21.10 by enforcing loopback-only access based on the TCP peer address. Workarounds include restricting network exposure or disabling the feature in configuration.
AI Analysis
Technical Summary
When a Nuxt dev server is accessible on a network interface beyond loopback and the experimental Chrome DevTools workspace feature is enabled, the endpoint GET /.well-known/appspecific/com.chrome.devtools.json discloses the absolute project root directory and a persistent workspace UUID. The vulnerability stems from an insufficient access control check that trusts request headers (Host, Origin, Referer) rather than the actual TCP peer address, allowing any unauthenticated client on the LAN to access this endpoint by spoofing headers. This is an information disclosure vulnerability only; no file read/write or code execution is possible through this endpoint. Production builds are unaffected as the endpoint is only registered in development mode. The issue was patched in Nuxt 4.5.1 and 3.21.10 by requiring the TCP connection to originate from a loopback address, ensuring only local clients can access the endpoint. The patch preserves header-based checks to maintain CSRF protections for other dev handlers. Workarounds include not binding the dev server to non-loopback interfaces on untrusted networks or disabling the feature via configuration.
Potential Impact
This vulnerability allows an attacker with network access to a Nuxt development server bound to a non-loopback interface to retrieve sensitive information: the absolute filesystem path of the project root and a persistent workspace UUID. While this does not enable direct file system access, code execution, or modification, it leaks internal project structure details that could aid further reconnaissance or targeted attacks. The impact is limited to development environments with the experimental Chrome DevTools workspace feature enabled and does not affect production deployments.
Mitigation Recommendations
A fix is available in Nuxt versions 4.5.1 and 3.21.10, which restricts access to the Chrome DevTools workspace endpoint to loopback TCP connections only, preventing LAN attackers from accessing it regardless of spoofed headers. Users should upgrade to these versions to remediate the issue. Until patched, mitigations include not binding the dev server to network interfaces reachable by untrusted hosts or restricting access to the dev server port via firewall rules. Alternatively, disabling the feature by setting experimental.chromeDevtoolsProjectSettings to false in nuxt.config prevents the endpoint from being exposed.
Nuxt dev server discloses project root and workspace UUID via the Chrome DevTools workspace endpoint
Description
A vulnerability in Nuxt development servers allows disclosure of the absolute project root directory and a persistent workspace UUID via a Chrome DevTools endpoint. This occurs when the dev server is bound to a network-reachable interface and the experimental Chrome DevTools workspace feature is enabled. The issue arises because the endpoint's access control relies on headers rather than verifying the actual network peer, allowing any unauthenticated LAN host to retrieve this information. The vulnerability is limited to development servers and does not affect production builds. It has been fixed in Nuxt versions 4.5.1 and 3.21.10 by enforcing loopback-only access based on the TCP peer address. Workarounds include restricting network exposure or disabling the feature in configuration.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
When a Nuxt dev server is accessible on a network interface beyond loopback and the experimental Chrome DevTools workspace feature is enabled, the endpoint GET /.well-known/appspecific/com.chrome.devtools.json discloses the absolute project root directory and a persistent workspace UUID. The vulnerability stems from an insufficient access control check that trusts request headers (Host, Origin, Referer) rather than the actual TCP peer address, allowing any unauthenticated client on the LAN to access this endpoint by spoofing headers. This is an information disclosure vulnerability only; no file read/write or code execution is possible through this endpoint. Production builds are unaffected as the endpoint is only registered in development mode. The issue was patched in Nuxt 4.5.1 and 3.21.10 by requiring the TCP connection to originate from a loopback address, ensuring only local clients can access the endpoint. The patch preserves header-based checks to maintain CSRF protections for other dev handlers. Workarounds include not binding the dev server to non-loopback interfaces on untrusted networks or disabling the feature via configuration.
Potential Impact
This vulnerability allows an attacker with network access to a Nuxt development server bound to a non-loopback interface to retrieve sensitive information: the absolute filesystem path of the project root and a persistent workspace UUID. While this does not enable direct file system access, code execution, or modification, it leaks internal project structure details that could aid further reconnaissance or targeted attacks. The impact is limited to development environments with the experimental Chrome DevTools workspace feature enabled and does not affect production deployments.
Mitigation Recommendations
A fix is available in Nuxt versions 4.5.1 and 3.21.10, which restricts access to the Chrome DevTools workspace endpoint to loopback TCP connections only, preventing LAN attackers from accessing it regardless of spoofed headers. Users should upgrade to these versions to remediate the issue. Until patched, mitigations include not binding the dev server to network interfaces reachable by untrusted hosts or restricting access to the dev server port via firewall rules. Alternatively, disabling the feature by setting experimental.chromeDevtoolsProjectSettings to false in nuxt.config prevents the endpoint from being exposed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7c4v-fwgw-9rf7
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a77432dbf8831d539b461d8
Added to database: 08/08/2026, 14:54:37 UTC
Last enriched: 08/08/2026, 15:39:48 UTC
Last updated: 08/09/2026, 00:44:05 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.