Nuxt dev server exposes generated appSecret through Vite file serving
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| npm:@nuxt/vite-builder | >= 4.6.0, < 4.6.3 | 4.6.3 |
When no appSecret is configured (via NUXT_APP_SECRET, NITRO_APP_SECRET or runtimeConfig.appSecret), nuxt dev generates a development secret and stores it in /app-secret (by default .nuxt/app-secret). The build directory is inside the directories that Nuxt passes to Vite's server.fs.allow, so the file can be fetched from the dev server: bash curl http:// /_nuxt/@fs/ /.nuxt/app-secret Anyone who can read it can compute every secret derived from it with deriveSecret(), including the default passwo…
Read on GitHub Advisory Database
On 10/31/2026, 08:01 AM, GitHub Advisory Database published "Nuxt dev server exposes generated appSecret through Vite file serving" (type: Advisory). Severity is "Medium" (medium). Related technologies: JavaScript / Node.js, Nuxt. CVE: CVE-2026-119201.