{"answers":{"affected":"8 open source packages ship an affected version, including @nuxt/rspack-builder and @nuxt/webpack-builder. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45670 exists.","fix":"Upgrade @nuxt/rspack-builder to a fixed version for your release line: 3.21.6 or 4.4.6.","what":"CVE-2026-45670 is a medium-severity vulnerability in nuxt, published on 12 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-45670 and fix it if it is affected.\n\nWhat it is: CVE-2026-45670 is a medium-severity vulnerability in nuxt, published on 12 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45670 exists.\n\nAffected packages and fixed versions:\n- @nuxt/rspack-builder (npm): affected from 3.15.4; fixed in 3.21.6\n- @nuxt/rspack-builder (npm): affected from 3.15.4; fixed in 3.21.6\n- @nuxt/rspack-builder (npm): affected from 4.0.0-alpha.1; fixed in 4.4.6\n- @nuxt/rspack-builder (npm): affected from 4.0.0-alpha.1; fixed in 4.4.6\n- @nuxt/webpack-builder (npm): affected from 3.15.4; fixed in 3.21.6\n- @nuxt/webpack-builder (npm): affected from 3.15.4; fixed in 3.21.6\n- @nuxt/webpack-builder (npm): affected from 4.0.0-alpha.1; fixed in 4.4.6\n- @nuxt/webpack-builder (npm): affected from 4.0.0-alpha.1; fixed in 4.4.6\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-45670/ (Markdown: https://insights.sbomify.com/CVE-2026-45670/index.md)","id":"CVE-2026-45670","markdown":"https://insights.sbomify.com/CVE-2026-45670/index.md","name":"CVE-2026-45670","record":{"aliases":["GHSA-6m52-m754-pw2g"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Nuxt development framework","requires_auth":"none","summary":"Attackers on the same network can steal source code from Nuxt dev servers if bound to non-loopback addresses and a malicious site is visited.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nuxt\\/rspack-builder","vendor":"nuxt"},{"product":"nuxt\\/webpack-builder","vendor":"nuxt"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-749","name":"Exposed Dangerous Method or Function"}],"description":"Nuxt is an open-source web development framework for Vue.js. In @nuxt/rspack-builder and @nuxt/webpack-builder versions 3.15.4 to before 3.21.6, and 4.0.0-alpha.1 to before 4.4.6, there is an incomplete fix for GHSA-4gf7-ff8x-hq99. Source code may be stolen during dev when using the webpack / rspack builder if the dev server is bound to a non-loopback address (e.g. nuxt dev --host) and the developer opens a malicious site on the same network. This issue has been patched in versions 3.21.6 and 4.4.6.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Nuxt: Dev server exposes built source over LAN to malicious sites (incomplete fix for GHSA-4gf7-ff8x-hq99)","id":"CVE-2026-45670","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":8,"n_references":3,"next":{"headline":"Open WebUI: shared-chat branch ignores access_type, allowing unauthorized file deletion","id":"CVE-2026-45671"},"packages":[{"ecosystem":"npm","fixed":["3.21.6"],"introduced":["3.15.4"],"last_affected":[],"package":"@nuxt/rspack-builder","purl":null,"source":"GHSA-6m52-m754-pw2g"},{"ecosystem":"npm","fixed":["3.21.6"],"introduced":["3.15.4"],"last_affected":[],"package":"@nuxt/rspack-builder","purl":"pkg:npm/%40nuxt/rspack-builder","source":"GHSA-6m52-m754-pw2g"},{"ecosystem":"npm","fixed":["4.4.6"],"introduced":["4.0.0-alpha.1"],"last_affected":[],"package":"@nuxt/rspack-builder","purl":null,"source":"GHSA-6m52-m754-pw2g"},{"ecosystem":"npm","fixed":["4.4.6"],"introduced":["4.0.0-alpha.1"],"last_affected":[],"package":"@nuxt/rspack-builder","purl":"pkg:npm/%40nuxt/rspack-builder","source":"GHSA-6m52-m754-pw2g"},{"ecosystem":"npm","fixed":["3.21.6"],"introduced":["3.15.4"],"last_affected":[],"package":"@nuxt/webpack-builder","purl":null,"source":"GHSA-6m52-m754-pw2g"},{"ecosystem":"npm","fixed":["3.21.6"],"introduced":["3.15.4"],"last_affected":[],"package":"@nuxt/webpack-builder","purl":"pkg:npm/%40nuxt/webpack-builder","source":"GHSA-6m52-m754-pw2g"},{"ecosystem":"npm","fixed":["4.4.6"],"introduced":["4.0.0-alpha.1"],"last_affected":[],"package":"@nuxt/webpack-builder","purl":null,"source":"GHSA-6m52-m754-pw2g"},{"ecosystem":"npm","fixed":["4.4.6"],"introduced":["4.0.0-alpha.1"],"last_affected":[],"package":"@nuxt/webpack-builder","purl":"pkg:npm/%40nuxt/webpack-builder","source":"GHSA-6m52-m754-pw2g"}],"prev":{"headline":"Nuxt: Reflected XSS in `navigateTo()` external redirect","id":"CVE-2026-45669"},"products":["nuxt"],"published":"2026-06-12","related":[{"cvss_score":5.9,"headline":"@nuxt/webpack-builder and @nuxt/rspack-builder dev server same-origin check bypassed when Sec-Fetch-Site, Origin, and Referer are all absent (incomplete fix for GHSA-6m52-m754-pw2g)","id":"CVE-2026-49993","kev_date_added":null,"published":"2026-06-12"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-12","vendors":["nuxt"]},"summary":"Attackers on the same network can steal source code from Nuxt dev servers if bound to non-loopback addresses and a malicious site is visited.","url":"https://insights.sbomify.com/CVE-2026-45670/"}