← 漏洞与更新

中危漏洞公告JavaScript / Node.jsNuxt

Nuxt dev server exposes generated appSecret through Vite file serving

受影响

软件包受影响版本修复版本
npm:@nuxt/vite-builder>= 4.6.0, < 4.6.34.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…

在 GitHub Advisory Database 阅读

2026/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。