Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Vite HMR WebSocket port
-
DeliveryOpen unauthenticated vite-hmr RPC channel
-
ExploitCall updateOptions to set openInEditor command
-
ExecutionCall openInEditor on existing file
-
Persistlaunch-editor spawns attacker command
-
ImpactArbitrary code executes on developer host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a running Nuxt dev server (development mode only) with DevTools enabled - the default in Nuxt 3 - and network reachability to the Vite HMR WebSocket endpoint (ws://<host>:<port>/, subprotocol vite-hmr). No authentication token or origin check is enforced on the updateOptions()/openInEditor() RPC methods, so no credentials are needed. The attacker must reach the HMR port via one of three concrete paths: a process on the same host (no user interaction), a LAN peer when the server is bound with nuxi dev --host, or a malicious website the developer visits while the dev server is running (browser opens the HMR WebSocket cross-origin, which is why CVSS marks UI:R). Limiting factors: the target must be running the dev server at exploitation time, openInEditor() needs the path of any existing file on the machine, and the impact is confined to developer/dev environments - production builds do not run DevTools and are not exploitable. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H = 9.6) reflects unauthenticated, low-complexity code execution with a scope change from the dev-server component to the host OS. The critical mitigating factor absent from the raw score is that impact is confined to development environments - production never runs DevTools - which materially lowers real-world blast radius versus a server-side RCE. UI:R is the honest constraint: the most dangerous vector (a malicious website silently opening the HMR WebSocket cross-origin while the developer browses) requires the developer to visit attacker-controlled content, while the same-host process vector needs no interaction and the LAN vector needs the server bound with --host. No EPSS score, KEV listing, or SSVC decision data was provided, and no POC is referenced, so exploitation probability cannot be quantified from the input; the mechanism, however, is simple and fully documented in the advisory. Net: a genuine high priority for any organization where developers run Nuxt dev servers, but the dev-only scope means it is a developer-workstation compromise risk, not an internet-facing production exposure. |
| Exploit ScenarioDerived | A developer runs a Nuxt 3 dev server locally and, in another browser tab, visits a malicious web page; that page opens a cross-origin WebSocket to the well-known Vite HMR port, calls updateOptions('behavior', { openInEditor: 'calc' or a reverse-shell command }), then calls openInEditor() against any existing project file, causing launch-editor to spawn the attacker's command on the developer's machine. On a network where the server was started with --host, any LAN peer can perform the same unauthenticated RPC chain directly. No public POC is referenced, but the advisory documents the exact two-call sequence. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Unauthenticated remote code execution in Nuxt DevTools (@nuxt/devtools before 3.3.1) lets any client reaching the Vite HMR WebSocket invoke RPC methods that were never gated by the ensureDevAuthToken check. By chaining updateOptions() to poison the persisted behavior.openInEditor value and then calling openInEditor(), an attacker runs an arbitrary program on the developer's machine via the launch-editor package. Only development environments are affected; production builds do not run DevTools. This is rated CVSS 9.6 (scope-changed), and no public exploit has been identified at time of analysis.
RemediationAI
Vendor-released patch: @nuxt/devtools 3.3.1 - because nuxt references it through a ^3.x range, remediation is a lockfile refresh / reinstall (e.g. delete the lockfile entry or run your package manager's update for @nuxt/devtools) and no separate nuxt release is needed. If you cannot immediately update, do not bind the dev server to a non-loopback interface (avoid nuxi dev --host) on untrusted or shared networks, which removes the LAN attack surface at the cost of losing remote/device testing access; and consider disabling DevTools entirely with devtools: { enabled: false } in nuxt.config, which fully closes the RPC channel but removes the DevTools UI for all developers on the project. Note that even loopback-bound servers remain reachable by the malicious-website cross-origin vector and by same-host processes, so patching is the only complete fix. See GHSA-279x-mwfv-vcqv for authoritative guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Nuxt DevTools registers a nuxt:devtools:rpc plugin that multiplexes a bidirectional RPC channel over the same Vite HMR WebSocket used for hot module reload (ws://<host>:<port>/ with the vite-hmr subprotocol). RPC is intended to be a trusted dev-only control plane, but the mutating methods updateOptions(), clearOptions(), and openInEditor() omit the ensureDevAuthToken guard that other write methods enforce, so there is no token, handshake, or origin validation before the channel is usable. openInEditor() reads the persisted behavior.openInEditor setting and hands it to the launch-editor npm package, which spawns it as a child process - turning an attacker-controllable configuration string into command execution. This is CWE-94 (Code Injection): untrusted input flows into a process-spawning routine as executable content. Affected package per CPE is pkg:npm/@nuxt/devtools; because nuxt pulls it via a ^3.x range, the vulnerable code is present transitively in most Nuxt 3 dev setups.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Unauthenticated (PR:N) low-complexity RPC over the network; UI:R because the browser/cross-origin vector needs the developer to visit a page; S:C and C/I/A:H as the dev component escapes to host command execution.
Primary rating from Vendor (https://github.com/nuxt/nuxt).
CVSS VectorVendor: https://github.com/nuxt/nuxt
Lifecycle Timeline
2DescriptionCVE.org
Impact
Nuxt 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.
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.
The 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.
Patches
Fixed 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.
Workarounds
- Update
@nuxt/devtoolsto a patched version. - Do not run the dev server bound to a non-loopback interface (
nuxi dev --host) on an untrusted network. - Disable DevTools entirely with
devtools: { enabled: false }innuxt.config.
References
- GHSA-279x-mwfv-vcqv
launch-editor: https://www.npmjs.com/package/launch-editor
Blast Radius
ecosystem impact- 1 npm packages depend on @nuxt/devtools (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 3.3.1.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Nuxt DevTools (@nuxt/devtools before version 3.3.1) contains a critical unauthenticated remote code execution vulnerability (CVSS 9.6) allowing any client with WebSocket access to execute arbitrary programs on developers' machines. No public exploit has been identified at time of analysis. Developer machine compromise directly enables supply chain attacks and unauthorized access to production infrastructure and source code repositories.
No vendor-released patch identified at time of analysis. Interim controls: (1) Isolate development workstations via network segmentation and firewall rules restricting Vite HMR WebSocket access to approved internal networks only; (2) disable @nuxt/devtools entirely across development fleet until patch availability; (3) deploy endpoint detection and response (EDR) tooling on development machines to monitor for anomalous command execution; (4) enforce read-only access to production systems and repositories from development machines to contain lateral movement risk.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-53648
GHSA-279x-mwfv-vcqv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB