Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach network-exposed nuxt dev server
-
DeliveryRequest /_nuxt/@fs project app-secret file
-
ExploitRead generated appSecret
-
ExecutionCompute useSession password via deriveSecret()
-
PersistForge accepted session cookies
-
ImpactImpersonate/hijack session on dev server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling File access restriction
MITRE ATT&CK
2 techniques across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires nuxt dev (versions 4.6.0-4.6.2) running with NO explicitly configured appSecret (none of NUXT_APP_SECRET, NITRO_APP_SECRET, or runtimeConfig.appSecret set), so the development secret is generated and written to <buildDir>/app-secret (default .nuxt/app-secret). The attacker needs direct HTTP access to the dev server AND the server must be bound to a reachable interface - the default localhost binding must have been overridden via --host, a published container port, or a tunnel. The attacker must also know the absolute project path to construct the /_nuxt/@fs/<absolute-path>/.nuxt/app-secret request. Limiting factors that reduce real-world risk: default localhost binding prevents remote reach; Vite's CORS and host checks block a malicious website from reading the file through a developer's browser; production builds never generate the secret; and dev servers with an explicitly configured appSecret do not use the generated file. |
| Impact | The signals consistently point to a genuine but low-urgency issue rather than a top priority. The input CVSS of 4.8 (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N) and the vuln.today 'this_month' decision label both indicate moderate severity. The network vector (AV:N) is real but heavily qualified: nuxt dev binds to localhost by default, so exploitation requires the operator to have explicitly exposed the dev server (via --host, a published container port, or a tunnel), which is why AC:H is justified. There is no CISA KEV listing and no EPSS score was supplied, so there is no evidence of active or widespread exploitation - this is not a confirmed actively-exploited flaw. The GHSA advisory includes a one-line curl demonstrating retrieval of the secret, so a public proof-of-concept command exists, but it is not verified as working, weaponized exploit code. Crucially, impact is confined to development servers: production builds never generate the appSecret and are unaffected, and dev servers with an explicitly configured appSecret are unaffected. Net assessment: a legitimate development-environment information-disclosure issue warranting patching on a normal cycle (consistent with 'this_month'), not an emergency; the low CVSS is appropriate given the non-default exposure requirement and the absence of production impact. |
| Exploit ScenarioDerived | A developer runs nuxt dev (4.6.0-4.6.2, no appSecret configured) and exposes it to a network - for example with --host or a published container port in a shared environment. An attacker with direct HTTP access requests the generated secret at /_nuxt/@fs/<absolute-project-path>/.nuxt/app-secret, then uses deriveSecret() to compute the default useSession password and forges session cookies the dev server accepts. The GHSA advisory shows the retrieval curl command, but no verified working exploit tool is published. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 29, 2026
Nuxt development servers in versions 4.6.0 through 4.6.2 write an auto-generated appSecret to <buildDir>/app-secret (by default .nuxt/app-secret) and leave that path reachable through Vite's /@fs/ file-serving route, so anyone with direct HTTP access to an exposed dev server can retrieve the file, run deriveSecret() to reproduce derived values such as the default useSession password, and forge session cookies that the dev server accepts. Exploitation is only possible when no explicit appSecret is configured, the dev server has been bound beyond localhost (for example --host, a published container port or a tunnel), and the attacker knows the project's absolute path; the default localhost binding, Vite's CORS and host checks, production builds, and servers with an explicitly configured appSecret are all unaffected. The vendor shipped a fix in 4.6.3 that adds app-secret to Vite's server.fs.deny; no public exploit identified at time of analysis, although the advisory documents the retrieval request with a curl example that acts as a proof-of-concept reference.
RemediationAI
Vendor-released patch: upgrade to nuxt 4.6.3, which depends on @nuxt/vite-builder 4.6.3, where the dev server adds **/app-secret to Vite's server.fs.deny while preserving Vite's default deny patterns (see https://github.com/nuxt/nuxt/releases/tag/v4.6.3 and GHSA-3xf4-9g3c-4h4w). Where upgrading immediately is not possible, set NUXT_APP_SECRET in .env to a random value of at least 32 characters, for example the output of openssl rand -base64 32, so the generated file is not used; note that this makes the secret a managed credential that must be kept out of version control. Alternatively, do not expose the dev server to untrusted networks - keep the default localhost binding, and avoid --host, published container ports, and tunnels. If a dev server using a generated secret has been reachable by untrusted clients, delete .nuxt/app-secret (a new secret is generated on the next nuxt dev) or set NUXT_APP_SECRET; either action invalidates existing dev sessions, which will force developers to re-authenticate.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Nuxt's dev pipeline delegates static and filesystem-backed asset serving to Vite, which exposes files outside the project root under the /<buildAssetsDir>/@fs/<absolute-path> route, gated by the server.fs.allow and server.fs.deny lists. Because the build directory sits inside the paths Nuxt hands to server.fs.allow, and app-secret was not part of Vite's default deny patterns, the generated secret file was served like any other allowed asset. The flaw maps to CWE-552 (files or directories accessible to external parties) and stems from the secret being persisted into a web-served directory rather than held in memory or written outside the served tree. The fix in @nuxt/vite-builder 4.6.3 resolves Vite's own default deny list (since a user-supplied server.fs.deny would otherwise replace the defaults) and appends the pattern **/app-secret, so the secret is refused with HTTP 403 while ordinary project files continue to be served; the accompanying test asserts 403 for .nuxt/app-secret and .env and 200 for a normal file, including the case where the user configures their own server.fs.deny. The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N) reflects that access is unauthenticated over the network but requires the non-default conditions above, and that the impact is limited to secret disclosure and the resulting session forgery on a development server.
Know when Nuxt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
AV:N but AC:H because exploitation needs non-default network exposure of the dev server plus knowledge of the absolute project path; PR:N/UI:N since no auth or user action; C:L (secret read) and I:L (session forgery on dev server), A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Code Injection in GitHub repository nuxt/nuxt prior to 3.5.3. Rated critical severity (CVSS 9.8), this vulnerability is
Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Rated high seve
Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Rated high seve
Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Rated high seve
Unauthenticated server-side request forgery in Nuxt OG Image (the npm package nuxt-og-image) 6.0.2 through 6.6.x allows
Quadratic-cost trailing-slash handling in Nuxt 4.6.0 through 4.6.3 lets an unauthenticated request with a long run of co
Authorization and route-rule bypass in Nuxt 4.6.0 through 4.6.3 allows an unauthenticated remote attacker to reach page
In Nuxt 3.0.0 through 4.6.3 (plus @nuxt/nitro-server 3.20.0 through 4.6.3 and @nuxt/vite-server 4.6.0 through 4.6.3), ro
A vulnerability in Nuxt DevTools has been fixed in version **2.6.4***. Rated medium severity (CVSS 6.9), this vulnerabil
Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Rated medium se
Cross-site Scripting (XSS) - Generic in GitHub repository nuxt/framework prior to 3.2.1. Rated medium severity (CVSS 6.1
Cross-site Scripting (XSS) - Reflected in GitHub repository nuxt/framework prior to v3.0.0-rc.13. Rated medium severity
EUVD-2026-113372
GHSA-3xf4-9g3c-4h4w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB