Vulnerability library
Security checkOctober 30, 2026

Nuxt dev server exposes private runtime config through the Nitro dev bundle

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@nuxt/vite-builder

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

With Nitro 2 (the default server engine in Nuxt 3 and Nuxt 4), the Nitro development server bundle written by nuxt dev can be fetched through the Vite dev server. Nitro inlines the resolved runtimeConfig into that bundle, so private runtime config values that were resolved at build time can be read by anyone with HTTP access to the dev server.

Recommendation

Update the @nuxt/vite-builder package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 3.0.0, < 4.6.3
  • Patched version(s): 4.6.3

References

Could your website be exposed too?

SmartScanner can check your website for Nuxt dev server exposes private runtime config through the Nitro dev bundle and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 30, 2026