External Control of File Name or Path Affecting @nuxt/vite-builder package, versions >=4.6.0 <4.6.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NUXTVITEBUILDER-22132208
  • published2 Nov 2026
  • disclosed30 Oct 2026
  • creditsamsulselfut

Introduced: 30 Oct 2026

NewCVE-2026-119198  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade @nuxt/vite-builder to version 4.6.3 or higher.

Overview

@nuxt/vite-builder is a Vite bundler for Nuxt

Affected versions of this package are vulnerable to External Control of File Name or Path via the dev error reporter in packages/vite/src/dev-errors.ts, where client-controlled stack trace data is passed to createReport with filesystem loading enabled. An attacker with access to the dev server can submit an error report naming arbitrary file paths, causing the server to read and return those files' contents.

Note: This is only exploitable when the attacker has TCP access to the dev server; the default localhost bind limits exposure to local processes, which can typically read the same files directly.

CVSS Base Scores

version 4.0
version 3.1