npmWorst: High29 advisories
vite: known vulnerabilities
vite has 29 reviewed security advisories in the GitHub Advisory Database — 7 high, 19 moderate, 3 low. The most recent was published 2026-10-28. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the vite versions running across your servers, containers and images, and ranks what to patch first.
How to fix vite
Upgrade vite to a release at or above the fixed version shown for each advisory below. For npm:
npm install vite@6.4.5 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (29)
Vite: `server.fs.deny` bypassed with queries
Moderate CWE-180 CWE-284
— Affected: from 6.4.4 up to 6.4.5. Fixed in 6.4.5. Published 2026-10-28. GHSA-8g5g-mxqh-grgj · CVE-2026-118662
launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
High CWE-77
— Affected: before 6.4.4. Fixed in 6.4.4. Published 2026-10-20. GHSA-587h-7wmj-h5pm · CVE-2026-112942
launch-editor: escapeCmdArgs() omits % escaping on Windows
Moderate CWE-78
— Affected: before 6.4.4. Fixed in 6.4.4. Published 2026-10-20. GHSA-698v-4r3x-3vcv · CVE-2026-112943
Vite: Cross origin script execution through Vite custom middleware
Low CWE-80
— Affected: before 6.4.4. Fixed in 6.4.4. Published 2026-10-20. GHSA-9jrq-w75r-8gcw · CVE-2026-112945
launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
Moderate CWE-88
— Affected: before 6.4.4. Fixed in 6.4.4. Published 2026-10-20. GHSA-r825-w8mm-5pxw · CVE-2026-112944
Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
Moderate CWE-22 CWE-284
— Affected: before 6.4.4. Fixed in 6.4.4. Published 2026-10-20. GHSA-rq7h-c2jc-7f22 · CVE-2026-112946
Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
Moderate CWE-200 CWE-209 CWE-22
— Affected: from 8.2.0 up to 8.2.4. Fixed in 8.2.4. Published 2026-10-20. GHSA-vfpm-58rq-9qcg · CVE-2026-112947
vite: `server.fs.deny` bypass on Windows alternate paths
Moderate CWE-200 CWE-22
— Affected: before 6.4.3. Fixed in 6.4.3. Published 2026-06-22. GHSA-fx2h-pf6j-xcff · CVE-2026-53571
launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows
Moderate CWE-522 CWE-73
— Affected: before 6.4.3. Fixed in 6.4.3. Published 2026-06-15. GHSA-v6wh-96g9-6wx3 · CVE-2026-53632
launch-editor vulnerable to command injection via the crafted request on Windows
High CWE-77
— Affected: before 5.4.9. Fixed in 5.4.9. Published 2026-06-01. GHSA-c27g-q93r-2cwf · CVE-2024-52011
Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling
Moderate CWE-200 CWE-22
— Affected: before 6.4.2. Fixed in 6.4.2. Published 2026-04-07. GHSA-4w7w-66w2-5vf9 · CVE-2026-39365
Vite Vulnerable to Arbitrary File Read via Vite Dev Server WebSocket
High CWE-200 CWE-306
— Affected: from 6.0.0 up to 6.4.2. Fixed in 6.4.2. Published 2026-04-07. GHSA-p9ff-h696-f583 · CVE-2026-39363
Vite: `server.fs.deny` bypassed with queries
High CWE-180 CWE-284
— Affected: from 7.1.0 up to 7.3.2. Fixed in 7.3.2. Published 2026-04-07. GHSA-v2wj-q39q-566r · CVE-2026-39364
vite allows server.fs.deny bypass via backslash on Windows
Moderate CWE-22
— Affected: from 5.2.6 up to 5.4.21. Fixed in 5.4.21. Published 2025-10-20. GHSA-93m4-6634-74q7 · CVE-2025-62522
Vite middleware may serve files starting with the same name with the public directory
Low CWE-200 CWE-22 CWE-284
— Affected: before 5.4.20. Fixed in 5.4.20. Published 2025-09-08. GHSA-g4jq-h2w9-997c · CVE-2025-58751
Vite's `server.fs` settings were not applied to HTML files
Low CWE-200 CWE-23 CWE-284
— Affected: before 5.4.20. Fixed in 5.4.20. Published 2025-09-08. GHSA-jqfw-vq24-v9c3 · CVE-2025-58752
Vite's server.fs.deny bypassed with /. for files under project root
Moderate CWE-22
— Affected: before 4.5.14. Fixed in 4.5.14. Published 2025-05-01. GHSA-859w-5945-r5v3 · CVE-2025-46565
Vite has an `server.fs.deny` bypass with an invalid `request-target`
Moderate CWE-200
— Affected: before 4.5.13. Fixed in 4.5.13. Published 2025-04-10. GHSA-356w-63v5-8wf4 · CVE-2025-32395
Vite allows server.fs.deny to be bypassed with .svg or relative paths
Moderate 5.3 CWE-200 CWE-284
— Affected: before 4.5.12. Fixed in 4.5.12. Published 2025-04-03. GHSA-xcj6-pq6g-qj4x · CVE-2025-31486
Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
Moderate 5.3 CWE-200 CWE-284
— Affected: before 4.5.11. Fixed in 4.5.11. Published 2025-03-31. GHSA-4r4m-qw57-chr8 · CVE-2025-31125 · In CISA KEV →
Vite bypasses server.fs.deny when using ?raw??
Moderate 5.3 CWE-200 CWE-284
— Affected: before 4.5.10. Fixed in 4.5.10. Published 2025-03-24. GHSA-x574-m823-4x7w · CVE-2025-30208
Websites were able to send any requests to the development server and read the response in vite
Moderate 6.5 CWE-1385 CWE-346 CWE-350
— Affected: before 4.5.6. Fixed in 4.5.6. Published 2025-01-20. GHSA-vg6x-rcgg-rjx6 · CVE-2025-24010
Vite DOM Clobbering gadget found in vite bundled scripts that leads to XSS
Moderate 6.4 CWE-79
— Affected: from 5.0.0 up to 5.1.8. Fixed in 5.1.8. Published 2024-09-17. GHSA-64vr-g452-qvp3 · CVE-2024-45812
Vite's `server.fs.deny` is bypassed when using `?import&raw`
Moderate 5.3 CWE-200 CWE-284
— Affected: from 5.0.0 up to 5.1.8. Fixed in 5.1.8. Published 2024-09-17. GHSA-9cwx-2883-4wfx · CVE-2024-45811
Vite's `server.fs.deny` did not deny requests for patterns with directories.
Moderate 5.9 CWE-200 CWE-284
— Affected: from 5.2.0 up to 5.2.6. Fixed in 5.2.6. Published 2024-04-04. GHSA-8jhw-289h-jh2g · CVE-2024-31207
Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem
High 7.5 CWE-178 CWE-200 CWE-284
— Affected: from 5.0.0 up to 5.0.12. Fixed in 5.0.12. Published 2024-01-19. GHSA-c24v-8rfc-w8vw · CVE-2024-23331
Vite XSS vulnerability in `server.transformIndexHtml` via URL payload
Moderate 6.1 CWE-79
— Affected: from 5.0.0 up to 5.0.5. Fixed in 5.0.5. Published 2023-12-04. GHSA-92r3-m2mg-pj97 · CVE-2023-49293
Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)
High 7.5 CWE-200 CWE-50 CWE-706
— Affected: from 4.3.0 up to 4.3.9. Fixed in 4.3.9. Published 2023-06-01. GHSA-353f-5xf4-qw67 · CVE-2023-34092
Vite before v2.9.13 vulnerable to directory traversal via crafted URL to victim's service
High 8.6 CWE-22
— Affected: from 3.0.0-alpha.0 up to 3.0.0-beta.4. Fixed in 3.0.0-beta.4. Published 2022-08-18. GHSA-mv48-hcvh-8jj8 · CVE-2022-35204
Find vite across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.