{"answers":{"affected":"2 open source packages ship an affected version, including @nuxt/devtools.","exploited":"There is no known exploitation of CVE-2026-71319 in the wild and no public exploit code.","fix":"Upgrade @nuxt/devtools to 3.3.1 or later.","what":"CVE-2026-71319 is a critical code injection vulnerability in nuxt devtools, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-71319 and fix it if it is affected.\n\nWhat it is: CVE-2026-71319 is a critical code injection vulnerability in nuxt devtools, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-71319 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @nuxt/devtools (npm): affected all versions; fixed in 3.3.1\n- @nuxt/devtools (npm): affected all versions; fixed in 3.3.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-71319/ (Markdown: https://insights.sbomify.com/CVE-2026-71319/index.md)","id":"CVE-2026-71319","markdown":"https://insights.sbomify.com/CVE-2026-71319/index.md","name":"CVE-2026-71319","record":{"aliases":["GHSA-279x-mwfv-vcqv"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Nuxt.js DevTools","requires_auth":"none","summary":"Unauthenticated WebSocket RPC in Nuxt DevTools allows attackers to execute arbitrary code on developer machines via command injection.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.6,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"Nuxt is an open-source web development framework for Vue.js. Prior to 3.3.1, 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://\u003chost\u003e:\u003cport\u003e/, 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: '\u003ccommand\u003e' }) then openInEditor('\u003cany-existing-file\u003e') to execute an arbitrary program on the developer's machine. This issue is fixed in 3.3.1.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nuxt.js Unauthenticated WebSocket RPC Call Leading to Remote Code Execution","id":"CVE-2026-71319","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Nuxt: Server-Side Remote Code Execution via Runtime Template Injection in Nuxt Server Island Props","id":"CVE-2026-71320"},"packages":[{"ecosystem":"npm","fixed":["3.3.1"],"introduced":["0"],"last_affected":[],"package":"@nuxt/devtools","purl":null,"source":"GHSA-279x-mwfv-vcqv"},{"ecosystem":"npm","fixed":["3.3.1"],"introduced":["0"],"last_affected":[],"package":"@nuxt/devtools","purl":"pkg:npm/%40nuxt/devtools","source":"GHSA-279x-mwfv-vcqv"}],"prev":{"headline":"Nuxt: Unauthorized Component Instantiation via Server Island Props","id":"CVE-2026-71318"},"products":["devtools"],"published":"2026-08-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-07","vendors":["nuxt"]},"summary":"Unauthenticated WebSocket RPC in Nuxt DevTools allows attackers to execute arbitrary code on developer machines via command injection.","url":"https://insights.sbomify.com/CVE-2026-71319/"}