Skip to content
Medium 4.8

Nuxt dev server exposes generated appSecret through Vite file serving

CVE-2026-119201 First seen on SecPulse

Affected packages

PackageAffected → Fixed
nuxtnuxt —
npm@nuxt/vite-builder
≥ 4.6.0, < 4.6.3→ 4.6.3
Original description The description as published by the source.

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 /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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details