Nuxt dev server exposes generated appSecret through Vite file serving
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in @nuxt/vite-builder 4.6.3.
Nuxt is an open-source web development framework for Vue.js. From 4.6.0 until 4.6.3, nuxt dev stores a generated appSecret in <buildDir>/app-secret, by default .nuxt/app-secret, within a directory allowed by Vite's server.fs configuration. A client with direct HTTP access to an exposed development server can fetch the file, use deriveSecret() to compute derived secrets such as the default useSession password, and forge session cookies accepted by that development server. The default localhost binding limits remote exposure, cross-origin browser reads are blocked, production builds and development servers with an explicitly configured appSecret are not affected. This issue is fixed in version 4.6.3.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nuxt | >=4.6.0 <4.6.3 | ||
| npm: @nuxt/vite-builder | >=4.6.0 <4.6.3 | 4.6.3 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in @nuxt/vite-builder (npm), strongest first
Embed
A live severity badge for an advisory, README or ticket