Intel

AIKIDO-2026-295422

nuxt is vulnerable to Information Disclosure

Information DisclosureGHSA-7c4v-fwgw-9rf7 Published 4 days ago

31

Low Risk

This Affects:

JSnuxt
3.21.7 - 3.21.9
Fixed in 3.21.10
4.4.7 - 4.5.0
Fixed in 4.5.1
Are you affected? Scan for Free

TL;DR

When the Nuxt dev server is bound to a network-reachable interface, the default-enabled Chrome DevTools workspace endpoint returns the absolute project root path and a persistent per-project workspace UUID. The endpoint's local-only gate trusts request headers rather than the connected peer address, so a request with no origin-style headers and a spoofed Host header is treated as local. Any unauthenticated host that can reach the dev server on the network can retrieve the project's filesystem path and workspace UUID. The fix additionally requires the connected TCP peer to be a loopback address, verified from the socket rather than from request headers.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run the Nuxt dev server bound to a non-loopback interface on an untrusted network with experimental.chromeDevtoolsProjectSettings enabled.

Background info

nuxt is vulnerable to Information Disclosure in versions 4.4.7 - 4.5.0 and 3.21.7 - 3.21.9.

How to fix this

Upgrade the nuxt library to the patch version.