CVE-2026-53633CWE-749CWE-862

Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE

Critical · published July 14, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
59.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00896 · 59.2th percentile
Weaknesses
CWE-749 · Exposed Dangerous Method or Function; CWE-862 · Missing Authorization
Published
2026-07-14T19:35Z
EPSS history
Timeline
  • 14 JUL 19:35Z
    Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE
    cvelistv5