CVE-2026-39365
Published:April 07, 2026
Updated:May 03, 2026
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, the dev server’s handling of .map requests for optimized dependencies resolves file paths and calls readFile without restricting ../ segments in the URL. As a result, it is possible to bypass the server.fs.strict allow list and retrieve .map files located outside the project root, provided they can be parsed as valid source map JSON. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
Affected Packages
https://github.com/vitejs/vite.git (GITHUB):
Affected version(s) >=v6.0.0 <v6.4.2Fix Suggestion:
Update to version v6.4.2https://github.com/vitejs/vite.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.3.2Fix Suggestion:
Update to version v7.3.2https://github.com/vitejs/vite.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.3.2Fix Suggestion:
Update to version v7.3.2https://github.com/vitejs/vite.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.5Fix Suggestion:
Update to version v8.0.5https://github.com/vitejs/vite.git (GITHUB):
Affected version(s) >=v6.0.0 <v6.4.2Fix Suggestion:
Update to version v6.4.2https://github.com/vitejs/vite.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.5Fix Suggestion:
Update to version v8.0.5https://github.com/vitejs/vite.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.5Fix Suggestion:
Update to version v8.0.5vite (NPM):
Affected version(s) >=7.0.0 <7.3.2Fix Suggestion:
Update to version 7.3.2vite (NPM):
Affected version(s) >=7.0.0 <7.3.2Fix Suggestion:
Update to version 7.3.2vite (NPM):
Affected version(s) >=8.0.0 <8.0.5Fix Suggestion:
Update to version 8.0.5vite-plus (NPM):
Affected version(s) >=0.0.0-ab0b0858cb619f270f5e0a698fea3d6f5622a761 <0.1.16Fix Suggestion:
Update to version 0.1.16vite-plus (NPM):
Affected version(s) >=0.0.0-ab0b0858cb619f270f5e0a698fea3d6f5622a761 <0.1.16Fix Suggestion:
Update to version 0.1.16vite (NPM):
Affected version(s) >=6.0.0 <6.4.2Fix Suggestion:
Update to version 6.4.2vite-plus (NPM):
Affected version(s) >=0.0.0-ab0b0858cb619f270f5e0a698fea3d6f5622a761 <0.1.16Fix Suggestion:
Update to version 0.1.16vite (NPM):
Affected version(s) >=8.0.0 <8.0.5Fix Suggestion:
Update to version 8.0.5vite (NPM):
Affected version(s) >=6.0.0 <6.4.2Fix Suggestion:
Update to version 6.4.2Related Resources (8)
Do you need more information?
Contact UsCVSS 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)
EPSS
Base Score:
1.15