Jun 16, 2026·5 min read·18 visits
Nuxt dev server's use of abstract-namespace Unix sockets on Linux allowed unauthorized local users to connect to the internal IPC server and extract sensitive developer files (such as .env files) without authentication.
A local security vulnerability in the Nuxt development server (nuxt dev) allows local unprivileged users to access sensitive configuration files and source code. On Linux environments running Node.js 20+, Nuxt bound its internal vite-node IPC server to an abstract-namespace Unix socket without any peer authentication, enabling co-resident local users to connect and request module code directly.
On Linux platforms running Node.js 20+, the Nuxt development framework utilizes an internal Inter-Process Communication (IPC) socket server to facilitate module loading between Vite and the Node.js runtime.
In vulnerable versions of Nuxt (4.0.0 to 4.4.6, and 3.18.0 to 3.21.6), this internal IPC server binds directly to a Linux abstract-namespace Unix socket rather than a traditional file-based socket.
Because abstract-namespace sockets lack filesystem inodes, they completely bypass traditional file and directory permission controls, enabling any unprivileged local user on the host system to discover and connect to the socket directly.
Once connected, the local attacker gains access to the fully exposed Vite-Node server endpoints without any secondary authentication or authorization checks.
The root cause of this vulnerability lies in the design of Linux abstract-namespace Unix sockets and how Node.js treats them when prefixed with a null byte (\0).
Traditional Unix domain sockets are represented as nodes on the filesystem, allowing administrators to restrict access using standard discretionary access controls (DAC) such as chmod 0700 or owner permissions.
Conversely, abstract sockets reside purely within the kernel's network namespace and have no filesystem representation, meaning file-level permissions do not apply to them.
Any process in the same network namespace can query /proc/net/unix to identify the socket's unique identifier and open a stream connection to it.
Because the internal createViteNodeSocketServer listening function performed no authorization checks (such as verifying the peer process owner UID or validating a token), the socket was left completely open to all co-resident users.
The original implementation of generateSocketPath in packages/vite/src/plugins/vite-node.ts generated a path starting with a null byte for Linux systems.
// Vulnerable Code Path
if (process.platform === 'linux') {
const nodeMajor = Number.parseInt(process.versions.node.split('.')[0]!, 10)
if (nodeMajor >= 20 && provider !== 'stackblitz') {
// ... checks for Docker omitted ...
if (!isDocker) {
return `\\0${socketName}.sock` // Null byte triggers abstract socket
}
}
}The patch resolved this exposure by removing the abstract socket logic entirely and enforcing a secure, permission-restricted directory pattern.
// Patched Code Path (v4)
export function pickSocketPath (platform: NodeJS.Platform): SocketPathInfo {
const uniqueSuffix = `${process.pid}-${Date.now()}`
const socketName = `nuxt-vite-node-${uniqueSuffix}`
if (platform === 'win32') {
return { socketPath: join(String.raw`\\\\.\\pipe`, socketName) }
}
// Enforce secure 0700 directory permissions
const parentDir = fs.mkdtempSync(join(os.tmpdir(), 'nuxt-vite-node-'))
fs.chmodSync(parentDir, 0o700)
return { socketPath: join(parentDir, `${socketName}.sock`), parentDir }
}Additionally, to close the window between directory creation and socket binding, the patch wraps socket listener instantiation in a strict umask boundary:
// Secure Socket Listening
const previousUmask = process.umask(0o077)
try {
server.listen(socketPath, () => {
try {
fs.chmodSync(socketPath, 0o600)
} catch (error) {
server.close()
}
})
} finally {
process.umask(previousUmask)
}An attacker on a multi-tenant Linux server or workstation can locate active Nuxt dev instances and query files through the exposed IPC server.
First, the attacker enumerates active abstract sockets by reading /proc/net/unix.
grep -o -E "nuxt-vite-node-[0-9\-]+\.sock" /proc/net/unixOnce the target socket ID is obtained, the attacker uses Netcat with the -U flag (and the @ prefix signifying an abstract socket path) to establish a raw TCP-like stream connection.
c -U "@nuxt-vite-node-[PID]-[TIMESTAMP].sock"Finally, the attacker issues a raw JSON instruction to fetch a module, instructing the server to resolve a local path bypassing Vite's server.fs.allow configuration.
{
"id": 1,
"type": "module",
"moduleId": "/home/developer/app/.env?raw"
}The server responds directly with the content of the target file, facilitating arbitrary local file reading with the permissions of the developer process.
The security impact of GHSA-534h-c3cw-v3h9 is rated as Medium (CVSS 5.5) due to the prerequisite of local system access, but the consequences can be significant.
If the development environment is run on shared infrastructure, such as multi-user workstations, academic labs, bastion servers, or shared development servers, any unprivileged system user can leverage this vulnerability.
By accessing the IPC interface, the attacker bypasses Vite's browser-oriented cross-origin and directory traversal restrictions.
This permits the reading of database passwords, API tokens, local SSH private keys, and application source code, resulting in complete local confidential information disclosure.
The primary defensive mitigation is to update to the patched releases: Nuxt 4.4.7 or 3.21.7.
In environments where upgrading dependencies is not immediately feasible, developers can isolate their dev environment using standard Linux containers.
# Run Nuxt dev in a rootless container to isolate namespaces
docker run --rm -it -v $(pwd):/src -w /src node:20 npm run devSystem administrators can detect potential exploitation attempts by auditing /proc filesystem accesses or using system call tracing (such as sysdig or auditd) to monitor unauthorized processes establishing Unix socket connections containing the nuxt-vite-node pattern.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
nuxt Nuxt | >= 4.0.0, < 4.4.7 | 4.4.7 |
nuxt Nuxt | >= 3.18.0, < 3.21.7 | 3.21.7 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-276 |
| Attack Vector | Local |
| Attack Complexity | Low |
| Privileges Required | Low |
| User Interaction | None |
| Scope | Unchanged |
| Confidentiality Impact | High |
| Exploit Status | Proof of Concept |
CVE-2026-114157 is a high-severity local privilege escalation and security feature bypass vulnerability affecting ASP.NET Core on Microsoft Windows. The flaw resides in the Kestrel web server's Named Pipes transport layer (Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes) and stems from a race condition (CWE-362) during broken pipe error recovery. When an active connection throws an IOException during handshake acceptance, the connection listener previously disposed of the broken NamedPipeServerStream instance before acquiring a replacement stream from its internal pool. This sequence created a momentary window where zero server instances of the named pipe existed in the Windows Named Pipe File System (NPFS). A local, low-privileged attacker can exploit this timing window to create a named pipe with the identical name and a permissive Discretionary Access Control List (DACL), hijacking subsequent inter-process communications and escalating privileges across security boundaries.
CVE-2026-124194 is a forced authentication and spoofing vulnerability in Microsoft Office Outlook caused by a missing user interface warning before dereferencing remote network paths (CWE-356). By embedding an attacker-controlled Universal Naming Convention (UNC) path within MAPI message properties such as PidLidReminderFileParameter, an unauthenticated remote attacker can force a victim's system to initiate an outbound SMB or WebDAV connection upon opening or previewing a crafted message. This automatic authentication handshake leaks the user's NetNTLMv2 hash, enabling offline password cracking or real-time NTLM relay attacks. The vulnerability was exploited in the wild as a zero-day prior to its remediation in Microsoft's November 2026 Patch Tuesday updates and is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
CVE-2026-114154 is a high-severity Denial of Service (DoS) and uncontrolled resource consumption vulnerability in the Microsoft.AspNetCore.Server.HttpSys component of ASP.NET Core. When processing an HTTP request that simultaneously contains a chunked Transfer-Encoding header, a Content-Length header, and an explicit X-Content-Length header, the server throws an unhandled ArgumentException during header normalization. In certain versions, subsequent exception handling attempts to dereference a disposed native request context, aborting error response dispatch and leaking unmanaged HTTP.sys request structures.
A local elevation of privilege vulnerability exists in the Microsoft .NET Aspire CLI (`Aspire.Cli`) versions 13.5.4 prior to 13.6.5. When executing SDK management commands (`aspire sdk generate`, `aspire sdk dump`, and `aspire sdk export`), the CLI creates temporary project directories inside the shared operating system temporary folder (such as `/tmp` on Unix-like systems) without restricting directory permissions or disabling MSBuild automatic response file resolution. A local, low-privileged attacker on a multi-user system can place a crafted `Directory.Build.rsp` file in the shared temporary directory hierarchy. When a victim user executes an affected Aspire CLI command, MSBuild traverses upward, ingests the attacker-controlled response file, and executes arbitrary commands in the security context of the victim user.
CVE-2026-120792 is a high-severity local information disclosure vulnerability in the Microsoft .NET Aspire CLI (Aspire.Cli) affecting versions 13.5.4 prior to 13.6.5. The flaw stems from the insertion of sensitive information into a shared temporary log file (CWE-532) combined with insecure temporary file creation (CWE-377) within the DeprecatedMcpCommandScanner component. During agent configuration scanning, the CLI unconditionally appends internal workspace paths and the first 200 characters of Model Context Protocol (MCP) agent configuration files to a statically named file in the system temporary directory. On multi-user systems, unprivileged local users can read this file to harvest API keys, authentication tokens, and internal service endpoints.
CVE-2026-114159 is a heap-based buffer overflow vulnerability (CWE-122) in Microsoft.DiaSymReader.Native affecting Microsoft Visual Studio and the .NET Runtime on Windows. An integer truncation error during the parsing of oversized document names in Portable PDB symbol files causes an undersized heap allocation, leading to an out-of-bounds memory write and remote code execution.