CVE-2026-119201

Nuxt dev server exposes generated appSecret through Vite file serving

Published Oct 29, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Nuxt’s development server for versions 4.6.0 through 4.6.2 stores a generated appSecret in a file that is served by Vite’s HTTP file‑serving component. The secret file can be retrieved by any client that has direct HTTP access to the development server. An attacker can read the file, use the provided deriveSecret function to compute derived secrets such as the default session password, and then forge session cookies that are accepted by the development server. Because the vulnerability is an information disclosure that enables credential forgery, it is classified as CWE‑552. The impact is that an unauthenticated user can gain authenticated access to the development server, potentially exposing sensitive data or executing code in that environment.

Affected Systems

This issue affects the Nuxt open‑source framework, specifically versions 4.6.0, 4.6.1, and 4.6.2. The vulnerability exists only in dev servers that use the default generated appSecret and are bound to the default localhost interface. Production builds, any dev server configured with an explicit appSecret, or servers that are not exposed over a network are not vulnerable.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. The EPSS score is unavailable, and the vulnerability is not listed in the CISA KEV catalog, suggesting it is not currently being widely exploited. Nonetheless, the exploit requires an attacker to reach the development server over HTTP, which is unlikely if the server is correctly bound to localhost and protected by network controls. If a dev server is inadvertently exposed, an attacker could retrieve the secret file, calculate a valid session cookie, and authenticate as a privileged user, facilitating further misuse of the development environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Nuxt v4.6.3 or later.
  • Configure a custom appSecret for the development server to avoid generating an exposed secret file.
  • Restrict the dev server’s network exposure by binding it to localhost and ensuring firewall rules block external HTTP access.

Generated by OpenCVE AI on October 29, 2026 at 21:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3xf4-9g3c-4h4w Nuxt dev server exposes generated appSecret through Vite file serving
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nuxt
Nuxt nuxt
Vendors & Products Nuxt
Nuxt nuxt
Type Values Removed Values Added
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.
Title Nuxt dev server exposes generated appSecret through Vite file serving
Weaknesses CWE-552
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-552

    Files or Directories Accessible to External Parties

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 4:08 PM
Reserved
Oct 29, 2026, 4:04 PM
Status
Awaiting Analysis
Published
Oct 29, 2026, 9:17 PM
Modified
Oct 30, 2026, 5:18 PM