CVE-2026-128072: @nuxt/webpack-builder and @nuxt/rspack-builder dev server serves built source to DNS rebinding pages
When using the webpack or rspack builder, the dev server serves built client chunks to any request whose Host header matches its Origin/Referer, or that carries Sec-Fetch-Site: same-origin. After a DNS rebinding attack both headers name the attacker’s hostname, so a malicious page opened while nuxt dev is running can read /_nuxt/*.js and exfiltrate the app’s source. This bypasses the same-origin check added for GHSA-4gf7-ff8x-hq99, GHSA-6m52-m754-pw2g and GHSA-x6qj-4h56-5rj5.
References
- github.com/advisories/GHSA-x2wv-5868-p7v2
- github.com/nuxt/nuxt/commit/3c9645326a2b3f5cfa09c9a935db9b1825d560e7
- github.com/nuxt/nuxt/commit/3e1c7964e6843e1c5f218867a4ccd4cd00ad9ebb
- github.com/nuxt/nuxt/commit/8c11d965dad5bfc58d4c25e796915aec045acb78
- github.com/nuxt/nuxt/commit/f8d64c9aa773a033596532365d455890da9da197
- github.com/nuxt/nuxt/releases/tag/v4.6.4
- github.com/nuxt/nuxt/security/advisories/GHSA-x2wv-5868-p7v2
- nvd.nist.gov/vuln/detail/CVE-2026-128072
Code Behaviors & Features
Detect and mitigate CVE-2026-128072 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →