chore(deps): update devdependency @nuxt/devtools to v3 [security] - #2066
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update devdependency @nuxt/devtools to v3 [security]#2066renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2066 +/- ##
=======================================
Coverage 99.26% 99.26%
=======================================
Files 83 83
Lines 3244 3244
Branches 562 562
=======================================
Hits 3220 3220
Misses 17 17
Partials 7 7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.1.3→^3.0.0Unauthenticated Nuxt DevTools RPC allows arbitrary command execution on the developer's host
CVE-2026-71319 / GHSA-279x-mwfv-vcqv
More information
Details
Impact
Nuxt DevTools (development mode only) exposes a bidirectional RPC channel over the Vite HMR WebSocket via the
nuxt:devtools:rpcplugin. On affected versions the channel has no authentication: any client that can reach the Vite HMR endpoint (ws://<host>:<port>/, subprotocolvite-hmr) can call RPC methods, with no token, handshake, or origin check before the channel is established. TheupdateOptions(),clearOptions(), andopenInEditor()methods do not enforce theensureDevAuthTokencheck that the other mutating methods use.openInEditor()reads the persistedbehavior.openInEditorvalue and passes it to thelaunch-editorpackage, which spawns it as a child process. That value is settable through the equally unauthenticatedupdateOptions(). An attacker who can reach the HMR port can therefore chainupdateOptions('behavior', { openInEditor: '<command>' })thenopenInEditor('<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. Becausenuxtdepends on@nuxt/devtoolsthrough a^3.xrange, updating is a lockfile refresh / reinstall; nonuxtrelease is required.Workarounds
@nuxt/devtoolsto a patched version.nuxi dev --host) on an untrusted network.devtools: { enabled: false }innuxt.config.References
launch-editor: https://www.npmjs.com/package/launch-editorSeverity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
nuxt/devtools (@nuxt/devtools)
v3.3.1Compare Source
No significant changes
View changes on GitHub
v3.2.4Compare Source
🚀 Features
ua-parser-modern- by @antfu (114aa)🐞 Bug Fixes
View changes on GitHub
v3.2.3Compare Source
Bug Fixes
v3.2.2Compare Source
Bug Fixes
Features
promptswith@clack/prompts(#935) (1aa3d2d)v3.2.1Compare Source
Bug Fixes
v3.2.0Compare Source
Bug Fixes
devtools:initializedhook after all modules run (#919) (3662836)Features
3.1.1 (2025-11-25)
Bug Fixes
Features
v3.1.1Compare Source
Bug Fixes
Features
v3.1.0Compare Source
Features
3.0.1 (2025-10-31)
Bug Fixes
Features
v3.0.1Compare Source
Bug Fixes
Features
v3.0.0Compare Source
v2.7.0Compare Source
🐞 Bug Fixes
View changes on GitHub
v2.6.5Compare Source
Bug Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.