Auth bypass in Vitest-Dev Vitest

CVE-2026-53633

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.

EPSS: 0.009 (56.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Vitest-dev Vitest — versions >= 3.0.0, < 3.2.5, >= 4.0.0, < 4.1.8, >= 5.0.0-beta.0, < 5.0.0-beta.4

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-53633?
CVE-2026-53633 is a critical-severity vulnerability in Vitest-Dev Vitest, classified under CWE-749. CVSS score: 9.8/10. Published 2026-07-14.
How severe is CVE-2026-53633?
Critical severity. CVSS v3 base score is 9.8 out of 10.