9.8
CRITICAL CVSS 3.1
CVE-2026-53633
Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE
Description

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.

INFO

Published Date :

July 14, 2026, 8:17 p.m.

Last Modified :

July 14, 2026, 8:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-53633 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
Solution
Update Vitest to a patched version to fix CDP API vulnerability.
  • Update Vitest to version 3.2.5 or later.
  • Update Vitest to version 4.1.8 or later.
  • Update Vitest to version 5.0.0-beta.4 or later.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-53633 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-53633 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-53633 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-53633 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Jul. 14, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'vitest-dev', 'product': 'vitest', 'versions': [{'status': 'affected', 'version': '>= 3.0.0, < 3.2.5'}, {'status': 'affected', 'version': '>= 4.0.0, < 4.1.8'}, {'status': 'affected', 'version': '>= 5.0.0-beta.0, < 5.0.0-beta.4'}]}]
    Added Description 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-749
    Added CWE CWE-862
    Added Reference https://github.com/vitest-dev/vitest/commit/385a1aefd4c2bfa5e7d58bf7c6834c929969f2c7
    Added Reference https://github.com/vitest-dev/vitest/commit/63e3b2eee4d58da56786a6333f517b9b492528c7
    Added Reference https://github.com/vitest-dev/vitest/commit/e4067b3b150005fd42cf75f994300119245806b9
    Added Reference https://github.com/vitest-dev/vitest/pull/10444
    Added Reference https://github.com/vitest-dev/vitest/pull/10450
    Added Reference https://github.com/vitest-dev/vitest/pull/10456
    Added Reference https://github.com/vitest-dev/vitest/releases/tag/v3.2.5
    Added Reference https://github.com/vitest-dev/vitest/releases/tag/v4.1.8
    Added Reference https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.4
    Added Reference https://github.com/vitest-dev/vitest/security/advisories/GHSA-g8mr-85jm-7xhm
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.