## Nuxt dev server exposes generated appSecret through Vite file serving

- 種別: advisory
- 重大度: medium
- 関連技術: nodejs, nuxt
- CVE: CVE-2026-119201
- 公開日時: 2026-10-30T23:01:12.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-3xf4-9g3c-4h4w)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-3xf4-9g3c-4h4w

影響: 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…