CVE-2026-119201

Nuxt dev server exposes generated appSecret through Vite file serving

Medium published · updated · also known as GHSA-3XF4-9G3C-4H4W

4.8
CVSS score out of 10 · NVD (github.com)

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 products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
@nuxt/vite-builder npm >= 4.6.0, < 4.6.34.6.3 GitHub

References