Improper Input Validation in Vite Framework for JavaScript
CVE-2026-112946
6.3MEDIUM
What is CVE-2026-112946?
The Vite framework for JavaScript contained a vulnerability related to import analysis prior to specific versions. This flaw allowed an improperly constructed project file's URL to be recorded in the safeModulePaths, potentially leading to unauthorized disclosure of files outside the designated project root. If a development server was accessible over the network and configured without appropriate restrictions, this vulnerability could allow access to sensitive files. However, the design of the application graph limited the extent of this issue, as arbitrary path traversal was not permitted.
Affected Version(s)
vite >= 8.3.0, < 8.3.3 < 8.3.0, 8.3.3
vite >= 8.2.0, < 8.2.4 < 8.2.0, 8.2.4
vite >= 8.0.0, < 8.1.6 < 8.0.0, 8.1.6
