vitejs vite

30 published vulnerabilities name this product.

As the CNAs write it in their CVE records (vendor and product); the versions are theirs.

CVEVulnerable versionsTitleSeverityPublishedEPSSExploitation
CVE-2026-140098= 8.4.0-beta.1Vite [beta only]: files otuside `server.fs.allow` and not included in `server.fs.deny` can be served by two requests using `?worker`MEDIUM 6.90.7 %
CVE-2026-140097>= 4.0.0, < 6.4.6 ; >= 7.0.0, < 7.3.8 ; >= 8.0.0, < 8.1.7 ; …Vite: Remote code execution using `__vite-browser-external` virtual moduleCRITICAL 9.11.8 %
CVE-2026-118662>= 6.4.4, < 6.4.5Vite: `server.fs.deny` bypassed with queriesMEDIUM 6.90.4 %
CVE-2026-112947>= 8.3.0, < 8.3.3 ; >= 8.2.0, < 8.2.4Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`MEDIUM 6.31.2 %
CVE-2026-112946>= 8.3.0, < 8.3.3 ; >= 8.2.0, < 8.2.4 ; >= 8.0.0, < 8.1.6 ; …Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machineMEDIUM 6.30.9 %
CVE-2026-112945>= 8.3.0, < 8.3.3 ; >= 8.2.0, < 8.2.4 ; >= 8.0.0, < 8.1.6 ; …Vite: Cross origin script execution through Vite custom middlewareLOW 2.10.7 %
CVE-2026-112944>= 8.3.0, < 8.3.3 ; >= 8.2.0, < 8.2.4 ; >= 8.0.0, < 8.1.6 ; …launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editorsMEDIUM 6.30.7 %
CVE-2026-112943>= 8.3.0, < 8.3.3 ; >= 8.2.0, < 8.2.4 ; >= 8.0.0, < 8.1.6 ; …launch-editor: escapeCmdArgs() omits % escaping on WindowsMEDIUM 6.30.4 %
CVE-2026-112942>= 8.3.0, < 8.3.3 ; >= 8.2.0, < 8.2.4 ; >= 8.0.0, < 8.1.6 ; …launch-editor: `fs.existsSync()` existence check can be bypassed on WindowsHIGH 7.51.7 %
CVE-2026-53571>= 8.0.0, < 8.0.16 ; >= 7.0.0, < 7.3.5 ; < 6.4.3Vite: `server.fs.deny` bypass on Windows alternate pathsHIGH 8.20.6 %
CVE-2026-53632>= 8.0.0, < 8.0.16 ; >= 7.0.0, < 7.3.5 ; < 6.4.3NTLMv2 hash disclosure via UNC path handling on WindowsMEDIUM 5.50.5 %
CVE-2024-52011< 5.4.9launch-editor vulnerable to command injection via the crafted request on WindowsHIGH 7.50.5 %
CVE-2026-39365>= 8.0.0, < 8.0.5 ; >= 7.0.0, < 7.3.2 ; >= 6.0.0, < 6.4.2Vite has a Path Traversal in Optimized Deps `.map` HandlingMEDIUM 6.31.0 %
CVE-2026-39364>= 8.0.0, < 8.0.5 ; >= 7.1.0, < 7.3.2Vite has a `server.fs.deny` bypass with queriesHIGH 8.22.3 %
CVE-2026-39363>= 8.0.0, < 8.0.5 ; >= 7.0.0, < 7.3.2 ; >= 6.0.0, < 6.4.2Vite Affected by Arbitrary File Read via Vite Dev Server WebSocketHIGH 8.23.4 %
CVE-2025-62522>= 7.1.0, < 7.1.11 ; >= 7.0.0, < 7.0.8 ; >= 6.0.0, < 6.4.1 ; …vite allows server.fs.deny bypass via backslash on WindowsMEDIUM 6.01.1 %
CVE-2025-58752< 5.4.20 ; >= 6.0.0, < 6.3.6 ; >= 7.0.0, < 7.0.7 ; …Vite's `server.fs` settings were not applied to HTML filesLOW 2.30.7 %
CVE-2025-58751< 5.4.20 ; >= 6.0.0, < 6.3.6 ; >= 7.0.0, < 7.0.7 ; …Vite middleware may serve files starting with the same name with the public directoryLOW 2.31.4 %
CVE-2025-46565>= 6.3.0, < 6.3.4 ; >= 6.2.0, < 6.2.7 ; >= 6.0.0, < 6.1.6 ; …Vite's server.fs.deny bypassed with /. for files under project rootMEDIUM 6.01.3 %
CVE-2025-32395>= 6.2.0, < 6.2.6 ; >= 6.1.0, < 6.1.5 ; >= 6.0.0, < 6.0.15 ; …Vite has an `server.fs.deny` bypass with an invalid `request-target`MEDIUM 6.01.8 %
CVE-2025-31486< 4.5.12 ; >=5.0.0, < 5.4.17 ; >=6.0.0, < 6.0.14 ; …Vite allows server.fs.deny to be bypassed with .svg or relative pathsMEDIUM 5.340 %
CVE-2025-31125>= 6.2.0, < 6.2.4 ; >= 6.1.0, < 6.1.3 ; >= 6.0.0, < 6.0.13 ; …Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` queryHIGH 7.575 %KEV
CVE-2025-30208< 4.5.10 ; >= 5.0.0, < 5.4.15 ; >= 6.0.0, < 6.0.12 ; …Vite bypasses server.fs.deny when using `?raw??`HIGH 7.575 %
CVE-2025-24010>= 6.0.0, < 6.0.9 ; >= 5.0.0, < 5.4.12 ; < 4.5.6Vite allows any websites to send any requests to the development server and read the responseMEDIUM 6.50.3 %
CVE-2024-45812>= 5.4.0, < 5.4.6 ; >= 5.3.0, < 5.3.6 ; >= 5.0.0, < 5.2.14 ; …DOM Clobbering gadget found in vite bundled scripts that leads to XSS in ViteMEDIUM 6.40.6 %
CVE-2024-45811>= 5.4.0, < 5.4.6 ; >= 5.3.0, < 5.3.6 ; >= 5.0.0, < 5.2.14 ; …server.fs.deny bypassed when using ?import&raw in viteMEDIUM 4.81.1 %
CVE-2024-31207>= 2.7.0, <= 2.9.17 ; >= 3.0.0, <= 3.2.8 ; >= 4.0.0, <= 4.5.2 ; …Vite's `server.fs.deny` did not deny requests for patterns with directoriesMEDIUM 5.90.7 %
CVE-2024-23331>=2.7.0, < 2.9.17 ; >=3.0.0, <3.2.8 ; >=4.0.0, < 4.5.2 ; …Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystemHIGH 7.50.8 %
CVE-2023-49293>=4.4.0, < 4.4.12 ; = 4.5.0 ; >=5.0.0, < 5.0.5Cross-site Scripting in `server.transformIndexHtml` via URL payload in viteMEDIUM 6.11.0 %
CVE-2023-34092< 2.9.16 ; >= 3.0.2, < 3.2.7 ; >= 4.0.0, < 4.0.5 ; …Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)HIGH 7.53.2 %