Approved changes feed: RSS · Atom

cpe:2.3:a:vitest-dev:vitest:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorVitest Dev (747a1669-1f90-51a4-b490-ae38fc0e88db)
ProductVitest (557bb3a1-19fd-5772-bf80-77c5f02bf2ed)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-112950 vulnerable 2026-11-03 10:16:28.377011 Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fix
MEDIUM (5.9)
Vitest is a Vite-native testing framework for JavaScript and TypeScript projects. From 4.1.11 until 4.1.12 and 5.0.3, isFileLoadingAllowed and the filesystem read interpret backslashes differently on Windows in packages/mocker/src/node/interceptorPlugin.ts. When a client can reach the Vite dev server on Windows and register a redirect mock containing backslash traversal, POSIX joining preserves a Windows backslash traversal that the later filesystem read interprets as a path separator, so the client can read a file outside server.fs.allow that the Vitest process can access. This issue is fixed in versions 4.1.12 and 5.0.3.
Published: 2026-10-20T15:21:32.396Z
Updated: 2026-10-28T14:04:58.744Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-112948 vulnerable 2026-11-03 10:16:28.308380 Vitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token file
MEDIUM (6.5)
Vitest is a testing framework powered by Vite. From 5.0.0-beta.6 until 5.0.5, Vitest dev servers can misapply server.fs.deny because project servers replace Vite's defaults and the root server adds .vitest-secret-token after Vite compiles its matcher. An attacker who can reach an affected UI, Browser Mode, or API server can read denied project files or the fallback API token at node_modules/.vitest/.vitest-secret-token, and Browser Mode with test.projects can expose JavaScript-compatible .env values through a malicious website. This issue is fixed in version 5.0.5.
Published: 2026-10-20T15:15:01.927Z
Updated: 2026-10-20T16:16:59.623Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-112949 vulnerable 2026-11-03 10:16:28.179210 Vitest: Code injection via unauthenticated manual mock registration
MEDIUM (4.7)
Vitest is a Vite-native testing framework for JavaScript and TypeScript projects. From 2.1.0-beta.7 until 4.1.12 and 5.0.3, an unauthenticated non-browser WebSocket client that can reach a development server using interceptorPlugin can register a manual mock whose attacker-controlled url createManualModuleSource inserts unescaped into generated module source. When the developer browser loads the affected module, attacker-controlled JavaScript executes on the development-server origin. This issue is fixed in versions 4.1.12 and 5.0.3.
Published: 2026-10-20T15:19:03.799Z
Updated: 2026-10-23T01:42:51.858Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-53633 vulnerable 2026-07-29 01:00:27.125308 Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE
CRITICAL (9.8)
Vitest is a testing framework powered by Vite. From 3.0.0 until 3.2.5, 4.1.8, and 5.0.0-beta.4, Vitest Browser Mode exposed a cdp() API that forwarded raw Chrome DevTools Protocol methods without being gated by allowWrite or allowExec, allowing a remote client with exposed browser API metadata to use CDP Page.setDownloadBehavior and Runtime.evaluate to overwrite vite.config.ts and execute attacker-controlled Node.js code. This issue is fixed in versions 3.2.5, 4.1.8, and 5.0.0-beta.
Published: 2026-07-14T19:35:42.739Z
Updated: 2026-07-29T18:26:18.528Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-47429 vulnerable 2026-07-29 00:55:00.251265 Vitest: Arbitrary file can be read and executed when Vitest UI server is listening
CRITICAL (9.8)
Vitest is a testing framework powered by Vite. Prior to 3.2.5 and 4.1.0, the Vitest UI/API server on Windows used isFileServingAllowed incorrectly for /__vitest_attachment__, allowing \\?\\..\\ path traversal to read files outside the project; exposed API write and rerun features such as saveTestFile and rerun could also allow arbitrary script execution. This issue is fixed in versions 3.2.5 and 4.1.0.
Published: 2026-07-14T19:28:08.688Z
Updated: 2026-07-21T15:02:17.187Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-47428 vulnerable 2026-07-29 00:55:00.250866 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-24964 vulnerable 2026-06-08 07:12:50.212527 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-24963 vulnerable 2026-06-08 07:12:50.211034 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.