CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-7C4V-FWGW-9RF7

GHSA-7c4v-fwgw-9rf7: Nuxt Dev Server Discloses Project Root and Workspace UUID via Chrome DevTools Endpoint

Alon Barad
Alon Barad
Software Engineer

Aug 8, 2026·7 min read·19 visits

Executive Summary (TL;DR)

Nuxt development server prior to versions 4.5.1 and 3.21.10 exposes absolute local paths and a workspace UUID over the local network due to weak header-based origin validation. Attackers on the same LAN can query the endpoint by spoofing the Host header.

An information disclosure vulnerability in the Nuxt development server allows adjacent network attackers to retrieve the absolute project root directory and a persistent workspace UUID by querying the unprotected Chrome DevTools workspace endpoint. This occurs when the development server is bound to a network-reachable interface, allowing requests that bypass the header-based security verification checks.

Vulnerability Overview

Nuxt is an open-source framework built on Vue.js that simplifies modern web application development. During local development, developers initiate the Nuxt development server, typically executed via the nuxt dev command. To streamline debugging and optimize browser-based workflows, the development server exposes specialized internal endpoints. These endpoints facilitate integration with external tools such as Chrome DevTools.

One such endpoint is located at the static path /.well-known/appspecific/com.chrome.devtools.json. This endpoint is designed to automate file mapping and support workspace integration within Chrome DevTools. By default, the endpoint exposes highly sensitive host metadata, including the absolute path of the project on the developer's filesystem and a persistent workspace identifier.

While this feature is intended to support local development, exposing these details introduces a security risk if the endpoint is accessible to unauthorized actors. This vulnerability, categorized under GHSA-7c4v-fwgw-9rf7 and mapped to CWE-200, emerges when a developer binds the dev server to a network-reachable interface. This configuration permits adjacent network actors to bypass header-based filters and retrieve local environment configurations without authentication.

Root Cause Analysis

The root cause of this vulnerability lies in the reliance on application-layer HTTP headers to establish the source and authorization of an incoming connection. To protect the com.chrome.devtools.json endpoint from cross-origin attacks, such as Cross-Site Request Forgery (CSRF) or DNS rebinding, Nuxt deployed a verification helper named isLocalDevRequest.

This utility analyzed HTTP metadata supplied by the user-agent, examining the Sec-Fetch-Site, Origin, and Referer headers. If these browser-specific headers were missing, the server assumed that the transaction did not originate from a web browser. In such scenarios, the logic concluded that a cross-site request was impossible, and subsequently defaulted to assessing the request based on the Host header.

However, HTTP headers are arbitrary strings that can be configured by any non-browser client, such as a command-line utility or a custom script. If a developer runs the development server with the --host flag to permit external testing on a mobile device or virtual machine, the server binds to 0.0.0.0 or a local subnet IP address. Under these conditions, an attacker on the same Local Area Network (LAN) can send a direct socket-level connection to the development server. By manually populating the Host header with a permitted value like localhost, the validation logic is successfully bypassed.

Code Analysis

The vulnerability was addressed by migrating the primary trust decision from forgeable HTTP application-layer headers to the transport-layer properties of the underlying TCP socket. The patch introduces a validation utility that evaluates the actual network interface of the incoming peer.

The fix establishes a dual-layer check, requiring both a genuine local peer loopback address and the traditional header check. Below is the implemented validation code located in packages/nitro-server/src/dev-request.ts:

// Normalizes and validates loopback ranges to prevent external access
export function isLoopbackAddress (address: string | undefined | null): boolean {
  if (!address) {
    return false
  }
  let normalized = address.trim().toLowerCase().replace(/^\\[/, '').replace(/\\]$/, '')
  
  // Remove IPv6 zone identifier, if present (e.g., fe80::1%eth0)
  const zoneIndex = normalized.indexOf('%')
  if (zoneIndex !== -1) {
    normalized = normalized.slice(0, zoneIndex)
  }
  
  // Handle IPv4-mapped IPv6 addresses (e.g., ::ffff:127.0.0.1)
  if (normalized.startsWith('::ffff:')) {
    normalized = normalized.slice('::ffff:'.length)
  }
  
  if (normalized === '::1') {
    return true
  }
  
  // Match standard IPv4 loopback range (127.0.0.0/8)
  return /^127\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/.test(normalized)
}
 
export function isLoopbackPeer (event: H3Event): boolean {
  // Accesses the raw socket properties directly, bypassing proxies and spoofed headers
  return isLoopbackAddress(getRequestIP(event))
}

In packages/nitro-server/src/index.ts, the endpoint handler enforces this constraint prior to delivering the workspace configuration payload:

// Require a genuine loopback peer to prevent remote extraction
if (!isLoopbackPeer(event) || !isLocalDevRequest(event, getDevHandlerAllowedHosts(nuxt))) {
  setResponseStatus(event, 403)
  return 'Forbidden'
}

By retrieving the IP directly via socket-level attributes, the application removes the possibility of a spoofed X-Forwarded-For or Host header bypassing the validation boundary. Non-loopback clients are immediately rejected with a 403 Forbidden status.

Exploitation Methodology

To execute an exploit against this endpoint, an attacker must first satisfy several environmental constraints. The target Nuxt application must be actively running in development mode. Additionally, the development server must be configured to listen on external network interfaces. This occurs when executing nuxt dev --host or specifying host settings like 0.0.0.0 or a specific LAN IP in the configuration file.

The attacker must occupy a network position capable of routing TCP traffic to the developer's workstation, such as being connected to the same local area network or wireless access point. Once these criteria are met, the attacker can initiate a crafted HTTP request.

A typical exploit payload can be sent using a standard command-line HTTP utility. The attacker explicitly overrides the Host header to emulate a local connection while targeting the workstation's external LAN IP:

curl -H "Host: localhost" http://<WORKSTATION_LAN_IP>:3000/.well-known/appspecific/com.chrome.devtools.json

Upon receiving this request, the vulnerable server identifies the absence of browser-related metadata (such as Sec-Fetch-Site or Origin). The application relies solely on the fake Host: localhost parameter, verifies it against the authorized host whitelist, and exposes the JSON payload containing the absolute local folder path and workspace UUID.

Security Impact Assessment

The security impact of GHSA-7c4v-fwgw-9rf7 is classified as Medium, with a CVSS v4.0 base score of 5.3. Because the vulnerability is confined to the development server handlers, it cannot be leveraged to compromise production builds. Production deployment pipelines compile Nuxt into optimized assets where development-only utility routes are absent.

While Remote Code Execution (RCE) or arbitrary file modifications are not achievable through this vulnerability, the disclosure of the absolute project path exposes the local user directory structure of the developer's workstation. This information can be integrated into multi-stage attack chains to map target filesystems or identify specific user accounts.

The workspace UUID returned by the endpoint represents a persistent identifier. In scenarios where tracking or profiling developer environments is of value, this identifier can be logged to correlate the developer across different sessions and development contexts. Consequently, this vulnerability represents an information disclosure threat targeting developer workstations within shared network environments.

Remediation and Hardening

Remediation requires upgrading the Nuxt package to a patched release. For projects running the Nuxt v3 line, the dependency must be updated to version 3.21.10 or higher. For applications running Nuxt v4, the dependency must be upgraded to version 4.5.1 or higher.

If upgrading is not immediately possible, developers can implement mitigations to secure their environment. The most effective mitigation is to restrict the development server's binding configuration to the local loopback interface. Developers should avoid specifying --host or 0.0.0.0 inside public or untrusted local networks, such as public Wi-Fi access points.

Alternatively, the experimental integration feature can be explicitly disabled within the project configuration. Modifying nuxt.config.ts or nuxt.config.js to set experimental.chromeDevtoolsProjectSettings to false removes the registration of the vulnerable endpoint:

export default defineNuxtConfig({
  experimental: {
    chromeDevtoolsProjectSettings: false
  }
})

Finally, host-based firewalls (such as ufw on Linux or Windows Defender Firewall) can be configured to block incoming external TCP traffic destined for local development ports, guaranteeing that only the loopback interface can initiate connections.

Fix Analysis (2)

Technical Appendix

CVSS Score
5.3/ 10
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected Systems

Nuxt Development Server

Affected Versions Detail

Product
Affected Versions
Fixed Version
nuxt
Nuxt
>= 4.4.7, < 4.5.14.5.1
nuxt
Nuxt
>= 3.21.7, < 3.21.103.21.10
AttributeDetail
CWE IDCWE-200
Attack VectorAdjacent Network (AV:A)
CVSS Score5.3 (Medium)
EPSS ScoreNot Assigned (No CVE ID)
ImpactInformation Disclosure (Path & Workspace UUID)
Exploit StatusProof of Concept / Known Mechanism
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1082System Information Discovery
Discovery
T1592Gather Victim Host Information
Reconnaissance
CWE-200
Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not authorized to have access to that information.

References & Sources

  • [1]GitHub Advisory Page
  • [2]Nuxt Security Advisory Repository
  • [3]Nuxt Release v3.21.10
  • [4]Nuxt Release v4.5.1

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•32 minutes ago•CVE-2026-126297
7.5

CVE-2026-126297: Algorithmic Complexity Denial of Service in NLTK ConllCorpusReader

CVE-2026-126297 (GHSA-v8f3-6phw-6mh9) is an uncontrolled resource consumption and algorithmic complexity vulnerability in the Natural Language Toolkit (NLTK) prior to version 3.10.4. Located in the Semantic Role Labeling (SRL) parser within `nltk/corpus/reader/conll.py`, the flaw allows an attacker to trigger quadratic O(N^2) CPU processing overhead by providing crafted CoNLL-formatted corpus inputs containing decoy span columns or nested full-width verb spans. Applications parsing untrusted linguistic corpora can experience prolonged CPU exhaustion and application-level Denial of Service (DoS).

Amit Schendel
Amit Schendel
1 views•12 min read
•about 2 hours ago•CVE-2026-126298
7.5

CVE-2026-126298: Quadratic Algorithmic Complexity Denial of Service in NLTK Tree.chomsky_normal_form

CVE-2026-126298 (also tracked as GHSA-r53h-rw34-8h97) is an algorithmic complexity Denial of Service (DoS) vulnerability in the Natural Language Toolkit (NLTK) Python library affecting all versions prior to 3.10.4. The vulnerability resides in the nltk.tree.transforms.chomsky_normal_form function and its corresponding public method Tree.chomsky_normal_form(). When transforming a parse tree into Chomsky Normal Form using the default right-factoring strategy, the function repeatedly invokes list.pop(0) inside a loop iterating over all children of a node. In CPython, removing the initial element of a standard list requires an O(N) memory shift operation, causing the overall binarization algorithm to degrade to O(N^2) quadratic time complexity relative to the width of a node. Furthermore, converting horizontal node width into vertical tree depth bypasses initial parsing depth bounds, triggering subsequent stack exhaustion (RecursionError) when recursive methods traverse the mutated structure. Unauthenticated remote attackers who can submit bracketed tree strings to applications invoking this transformation can exhaust single-threaded CPU resources or induce unhandled application exceptions.

Alon Barad
Alon Barad
3 views•12 min read
•about 3 hours ago•CVE-2026-126299
7.5

CVE-2026-126299: Quadratic Algorithmic Complexity Denial of Service in NLTK CCG Lexicon Parser

An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.

Alon Barad
Alon Barad
4 views•10 min read
•about 4 hours ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 5 hours ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 6 hours ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
5 views•10 min read