Nuxt dev server exposes generated appSecret through Vite file serving
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| 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…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/10/31 08:01,GitHub Advisory Database 发布了“Nuxt dev server exposes generated appSecret through Vite file serving”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:JavaScript / Node.js、Nuxt。CVE:CVE-2026-119201。