Nuxt dev server serves files from a parent directory that contains a lockfile

State
Published
Severity
5.9 Medium
Published
Nov 13, 2026
Updated
Nov 13, 2026
Reserved
Nov 12, 2026

Read the record on cve.org

Description

Nuxt is an open-source web development framework for Vue.js. From 3.5.0 until 4.6.4, Nuxt can choose a parent directory as the default workspaceDir in either of two cases: a stray parent lockfile when the project is outside a Git repository and has no workspace file above it, or a parent pnpm or Deno settings file that does not declare packages or a workspace, including when the project is inside a Git repository. When the development server is reachable from an untrusted network, Vite permits /_nuxt/@fs/ requests beneath that widened directory, allowing unauthenticated clients to read files such as credentials and SSH keys. The issue affects the development server only; production builds and projects whose parent directories contain no qualifying files are unaffected. This issue is fixed in version 4.6.4.

ProductVersions
nuxt nuxt>= 3.5.0, < 4.6.4 Affected
schema @nuxt>= 3.5.0, < 4.6.4 Affected

Weaknesses

  • CWE-552 Files or Directories Accessible to External Parties

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.