Skip to content
6.3 Medium

CVE-2026-39365 Vite is a frontend tooling framework for JavaScript

Description

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 products and versions

Product Affected versions Fixed in
vite 8.0 8.0.0 → < 8.0.5 8.0.5
vite 7.0 7.0.0 → < 7.3.2 7.3.2
vite 6.0 6.0.0 → < 6.4.2 6.4.2
vite-plus 0.1 earliest → < 0.1.16 0.1.16

References

Timeline

  1. Published
  2. Last modified
The 28 CVEs of vite →
Track this CVE