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.
| CVE | Vulnerable versions | Title | Severity | Published | EPSS | Exploitation |
|---|---|---|---|---|---|---|
| CVE-2026-112950 | >= 4.1.11, < 4.1.12 ; >= 5.0.0-rc.2, < 5.0.3 | Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fix | MEDIUM 5.9 | 0.5 % | ||
| CVE-2026-112949 | >= 2.1.0-beta.7, < 4.1.12 ; >= 5.0.0, < 5.0.3 | Vitest: Code injection via unauthenticated manual mock registration | MEDIUM 4.7 | 0.3 % | ||
| CVE-2026-112948 | >= 5.0.0-beta.6, < 5.0.5 | Vitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token file | MEDIUM 6.5 | 0.4 % | ||
| CVE-2026-84373 | >= 2.1.0, < 4.1.11 ; >= 5.0.0-beta.1, < 5.0.0-rc.2 | Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock | MEDIUM 5.9 | 0.5 % | ||
| CVE-2026-73653 | < 3.2.7 ; >= 4.0.0, < 4.1.10 ; >= 5.0.0-beta.1, < 5.0.0-beta.6 | Vitest: Browser Mode provider commands bypass the file-access permission gate | CRITICAL 9.4 | 0.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.4 | Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE | CRITICAL 9.8 | 0.6 % | ||
| CVE-2026-47428 | >= 4.0.17, < 4.1.6 ; >= 5.0.0-beta.0, < 5.0.0-beta.3 | Vitest browser mode serves unsanitized otelCarrier query parameter as inline script | CRITICAL 9.6 | 0.6 % | ||
| CVE-2026-47429 | < 3.2.5 ; >= 4.0.0, < 4.1.0 | Vitest: Arbitrary file can be read and executed when Vitest UI server is listening | CRITICAL 9.8 | 1.0 % | ||
| CVE-2025-24963 | >= 2.0.4, < 2.1.9 ; >= 3.0.0, < 3.0.4 | Browser mode serves arbitrary files in vitest | HIGH 7.5 | 2.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 listening | CRITICAL 9.7 | 0.7 % |