Vulnerability · Published Oct 29, 2026 · Assigned by GitHub_M
CVE-2026-119201Nuxt dev server exposes generated appSecret through Vite file serving
Medium 4.8
In plain English
A medium-severity security flaw in nuxt from nuxt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @nuxt/vite-builder | 4.6.3 | GHSA-3xf4-9g3c-4h4w |
Affected products (as reported)
Weakness: CWE-552 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-3xf4-9g3c-4h4w x_refsource_CONFIRM
- https://github.com/nuxt/nuxt/commit/2981290f36d9c5412c022758f3d89ba21a845308 x_refsource_MISC
- https://github.com/nuxt/nuxt/commit/545004cc350be7003dea4116ce6206d6f980b1fd x_refsource_MISC
- https://github.com/nuxt/nuxt/releases/tag/v4.6.3 x_refsource_MISC