CVE-2026-128072@nuxt/webpack-builder and @nuxt/rspack-builder dev server serves built source to DNS…
Nuxt is an open-source web development framework for Vue.js. From @nuxt/webpack-builder 3.0.0 and @nuxt/rspack-builder 3.12.2 until 4.6.4, the development middleware trusts Origin, Referer, or Sec-Fetch-Site when the Host header names the same attacker-controlled hostname. After DNS rebinding changes that hostname to a loopback address, a malicious page opened by a developer can read /_nuxt/*.js client chunks and inline source maps, exposing compiled application source, local filesystem paths, and developer-controlled values embedded in the client bundle. The attacker must know or guess the development-server port and induce the developer to open the malicious page; Chrome 142 and later and other Chromium-based browsers that enforce Local Network Access restrictions prompt before a public page can reach the loopback address. The default Vite builder and production builds are unaffected. This issue is fixed in version 4.6.4.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | @nuxt/rspack-builder | Fixed | 4.6.4 | GHSA-x2wv-5868-p7v2 |
| npm library | @nuxt/webpack-builder | Fixed | 4.6.4 | GHSA-x2wv-5868-p7v2 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- nuxt: affected: >= 3.0.0, < 4.6.4
- @nuxt webpack-builder: affected: >= 3.0.0, < 4.6.4
- @nuxt rspack-builder: affected: >= 3.12.2, < 4.6.4
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-x2wv-5868-p7v2
- https://github.com/nuxt/nuxt/commit/3c9645326a2b3f5cfa09c9a935db9b1825d560e7
- https://github.com/nuxt/nuxt/commit/3e1c7964e6843e1c5f218867a4ccd4cd00ad9ebb
- https://github.com/nuxt/nuxt/commit/8c11d965dad5bfc58d4c25e796915aec045acb78
- https://github.com/nuxt/nuxt/commit/f8d64c9aa773a033596532365d455890da9da197
- https://github.com/nuxt/nuxt/releases/tag/v4.6.4
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.