CVE-2026-39365Vitejs Vite
Medium 6.3 No auth needed
Follow: this CVE · Vitejs · Vitejs Vite We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Auth required
- No
- Published
- Apr 7, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Vite.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | vite |
≥ 8.0.0 < 8.0.5 |
8.0.5 |
npm install vite@8.0.5 |
| npm | vite |
≥ 7.0.0 < 7.3.2 |
7.3.2 |
npm install vite@7.3.2 |
| npm | vite |
< 6.4.2 |
6.4.2 |
npm install vite@6.4.2 |
Per OSV / GitHub Advisories (GHSA-4w7w-66w2-5vf9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vitejs | vite | ≥ 6.0.0 ≤ 6.4.1 |
| vitejs | vite | ≥ 7.0.0 ≤ 7.3.1 |
| vitejs | vite | ≥ 8.0.0 ≤ 8.0.4 |
| voidzero | vite+ | ≤ 0.1.15 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory