CVE-2026-56301 Nuxt - Arbitrary File Read via World-Connectable vite-node IPC Socket on Linux
Local attackers can read arbitrary files via an unprotected IPC socket in the Nuxt development server on Linux.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-56301?
CVE-2026-56301 is a medium-severity path traversal vulnerability in Nuxt, published on 23 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Nuxt 4.0.0 before 4.4.7 and 3.18.0 before 3.21.7, when running the development server (nuxt dev) on Linux, binds the vite-node IPC server to an abstract-namespace Unix socket without permission restrictions, allowing local users to enumerate and connect. Unprivileged co-resident users can exploit the unprotected module request handler to read arbitrary files such as .env and SSH keys through the SSR plugin pipeline. Production builds are unaffected, as the IPC server runs only in development.
Weakness: CWE-276
Which versions are affected by CVE-2026-56301?
4 open source packages ship an affected version, including nuxt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nuxt npm | From 3.18.0 | 3.21.7 |
nuxt npm | From 3.18.0 | 3.21.7 |
nuxt npm | From 4.0.0 | 4.4.7 |
nuxt npm | From 4.0.0 | 4.4.7 |
Products include Nuxt Nuxt.
How do I fix CVE-2026-56301?
Upgrade nuxt to a fixed version for your release line: 3.21.7 or 4.4.7.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-56301 being exploited?
There is no known exploitation of CVE-2026-56301 in the wild and no public exploit code.
Other vulnerabilities in Nuxt
- CVE-2026-53721 Nuxt: Route-rule middleware bypass via case-sensitivity mismatch between vue-router and the routeRules matcher
- CVE-2024-23657 Path Traversal: '../filedir' in Nuxt Devtools
- CVE-2024-34344 Remote code execution via the browser when running the test locally in nuxt
- CVE-2024-42352 Server-Side Request Forgery (SSRF) in nuxt-icon
- CVE-2023-3224 Code Injection in nuxt/nuxt
Sources
Also known as GHSA-534h-c3cw-v3h9.