Vulnerabilities in pkg:npm/@nuxt/devtools
PACKAGECVE-2026-71319 is a CRITICAL (CVSS 9.6) unauthenticated nuxt devtools rpc allows vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting @nuxt/devtools libraries in the npm ecosystem. The issue involves unauthenticated nuxt devtools rpc allows arbitrary command execution on the developer's host. Remediation is available by upgrading affected packages to version 3.3.1.
pkg:npm/@nuxt/devtools
Vulnerability advisories affecting package pkg:npm/@nuxt/devtools. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-279x-mwfv-vcqv | CVE-2026-71319 | CRITICAL | Unauthenticated Nuxt DevTools RPC allows arbitrary command execution on the developer's host |
| GHSA-xmq3-q5pm-rp26 | CVE-2025-52662 | MODERATE | Nuxt DevTools vulnerable to cross-site scripting (XSS) |
| GHSA-rcvg-rgf7-pppv | CVE-2024-23657 | HIGH | Nuxt Devtools has a Path Traversal: '../filedir' |
CVE-2026-71319 at a Glance
Security Impact
CVSS: 9.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-71319
To remediate this vulnerability, upgrade all affected @nuxt/devtools dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @nuxt/devtools@3.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @nuxt/devtools
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-71319, inspect your project dependencies using npm:
npm ls @nuxt/devtools
Analyze the terminal output to locate any version of @nuxt/devtools in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.1), your application is affected.
Note: The npm ls @nuxt/devtools command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In @nuxt/devtools, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-71319 Affected @nuxt/devtools Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@nuxt/devtools
|
npm |
< 3.3.1
|
3.3.1
|
References
Frequently Asked Questions
What is CVE-2026-71319?
Which @nuxt/devtools versions are affected?
What version fixes CVE-2026-71319?
Is @nuxt/devtools affected?
What is the CVSS score of CVE-2026-71319?
What CWE is associated with CVE-2026-71319?
How can I check npm dependencies for CVE-2026-71319?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-279x-mwfv-vcqv",
"modified" : "2026-08-05T21:27:39Z",
"published" : "2026-08-05T21:27:39Z",
"aliases" : [ "CVE-2026-71319" ],
"summary" : "Unauthenticated Nuxt DevTools RPC allows arbitrary command execution on the developer's host",
"details" : "### Impact\n\nNuxt DevTools (development mode only) exposes a bidirectional RPC channel over the Vite HMR WebSocket via the `nuxt:devtools:rpc` plugin. On affected versions the channel has no authentication: any client that can reach the Vite HMR endpoint (`ws://<host>:<port>/`, subprotocol `vite-hmr`) can call RPC methods, with no token, handshake, or origin check before the channel is established. The `updateOptions()`, `clearOptions()`, and `openInEditor()` methods do not enforce the `ensureDevAuthToken` check that the other mutating methods use.\n\n`openInEditor()` reads the persisted `behavior.openInEditor` value and passes it to the `launch-editor` package, which spawns it as a child process. That value is settable through the equally unauthenticated `updateOptions()`. An attacker who can reach the HMR port can therefore chain `updateOptions('behavior', { openInEditor: '<command>' })` then `openInEditor('<any-existing-file>')` to execute an arbitrary program on the developer's machine.\n\nThe HMR port is reachable by a process on the same host, by any peer on the LAN when the dev server is bound with `nuxi dev --host`, or by a malicious website the developer visits while the dev server is running (a browser can open the HMR WebSocket cross-origin). Impact is limited to development environments; production builds do not run DevTools.\n\n### Patches\n\nFixed in `@nuxt/devtools@3.3.1`. Because `nuxt` depends on `@nuxt/devtools` through a `^3.x` range, updating is a lockfile refresh / reinstall; no `nuxt` release is required.\n\n### Workarounds\n\n- Update `@nuxt/devtools` to a patched version.\n- Do not run the dev server bound to a non-loopback interface (`nuxi dev --host`) on an untrusted network.\n- Disable DevTools entirely with `devtools: { enabled: false }` in `nuxt.config`.\n\n### References\n\n- GHSA-279x-mwfv-vcqv\n- `launch-editor`: https://www.npmjs.com/package/launch-editor",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@nuxt/devtools"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nuxt/nuxt/security/advisories/GHSA-279x-mwfv-vcqv"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nuxt/nuxt"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-306", "CWE-94" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-05T21:27:39Z",
"nvd_published_at" : null
}
}