vitest-dev vitest

10 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-112950>= 4.1.11, < 4.1.12 ; >= 5.0.0-rc.2, < 5.0.3Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fixMEDIUM 5.90.5 %
CVE-2026-112949>= 2.1.0-beta.7, < 4.1.12 ; >= 5.0.0, < 5.0.3Vitest: Code injection via unauthenticated manual mock registrationMEDIUM 4.70.3 %
CVE-2026-112948>= 5.0.0-beta.6, < 5.0.5Vitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token fileMEDIUM 6.50.4 %
CVE-2026-84373>= 2.1.0, < 4.1.11 ; >= 5.0.0-beta.1, < 5.0.0-rc.2Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect MockMEDIUM 5.90.5 %
CVE-2026-73653< 3.2.7 ; >= 4.0.0, < 4.1.10 ; >= 5.0.0-beta.1, < 5.0.0-beta.6Vitest: Browser Mode provider commands bypass the file-access permission gateCRITICAL 9.40.6 %
CVE-2026-53633>= 3.0.0, < 3.2.5 ; >= 4.0.0, < 4.1.8 ; >= 5.0.0-beta.0, < 5.0.0-beta.4Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCECRITICAL 9.80.6 %
CVE-2026-47428>= 4.0.17, < 4.1.6 ; >= 5.0.0-beta.0, < 5.0.0-beta.3Vitest browser mode serves unsanitized otelCarrier query parameter as inline scriptCRITICAL 9.60.6 %
CVE-2026-47429< 3.2.5 ; >= 4.0.0, < 4.1.0Vitest: Arbitrary file can be read and executed when Vitest UI server is listeningCRITICAL 9.81.0 %
CVE-2025-24963>= 2.0.4, < 2.1.9 ; >= 3.0.0, < 3.0.4Browser mode serves arbitrary files in vitestHIGH 7.52.4 %
CVE-2025-24964<= 0.0.125 ; >= 1.0.0, < 1.6.1 ; >= 2.0.0, < 2.1.9 ; …Remote Code Execution when accessing a malicious website while Vitest API server is listeningCRITICAL 9.70.7 %