Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-112947
Published:October 20, 2026
Updated:October 21, 2026
Vite is a frontend tooling framework for JavaScript. From 8.2.0 until 8.2.4 and 8.3.3, the first 4 bytes of files outside of server.fs setting can be returned to the browser by a request containing ?vite-wasm-instance. Requests containing the ?vite-wasm-instance query are handled by the internal Wasm plugin's load hook. The hook removes the query and reads the resulting path directly from disk, but the server.fs checks were not applied. After reading the file, Vite attempts to parse it as WebAssembly. When that parse fails, Node and deno throws an error that contains the first 4 bytes of the file. This vulnerability is fixed in 8.2.4 and 8.3.3.
Affected Packages
https://github.com/vitejs/vite.git (GITHUB):
Affected version(s) >=v8.2.0-beta.0 <v8.2.4
Fix Suggestion:
Update to version v8.2.4
https://github.com/vitejs/vite.git (GITHUB):
Affected version(s) >=v8.3.0-beta.0 <v8.3.3
Fix Suggestion:
Update to version v8.3.3
vite (NPM):
Affected version(s) >=8.3.0-beta.0 <8.3.3
Fix Suggestion:
Update to version 8.3.3
vite (NPM):
Affected version(s) >=8.2.0-beta.0 <8.2.4
Fix Suggestion:
Update to version 8.2.4
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Exposure of Sensitive Information to an Unauthorized Actor
Generation of Error Message Containing Sensitive Information
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')