# CVE-2026-53633: Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-06-15T20:05:15.000Z
- Modified: 2026-10-24T21:10:00.130Z
- Also known as: GHSA-g8mr-85jm-7xhm
- Weaknesses: CWE-749, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vitest-dev vitest: >= 3.0.0, < 3.2.5; >= 4.0.0, < 4.1.8; >= 5.0.0-beta.0, < 5.0.0-beta.4
- @vitest/browser (npm): from 5.0.0-beta.0 before 5.0.0-beta.4; from 4.0.0 before 4.1.8; from 3.0.0 before 3.2.5
- vite-plus (npm): before 0.1.24

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vitest-dev/vitest/security/advisories/GHSA-g8mr-85jm-7xhm> (web)
- <https://github.com/vitest-dev/vitest/pull/10444> (web)
- <https://github.com/vitest-dev/vitest/pull/10450> (web)
- <https://github.com/vitest-dev/vitest/pull/10456> (web)
- <https://github.com/vitest-dev/vitest/commit/385a1aefd4c2bfa5e7d58bf7c6834c929969f2c7> (web)
- <https://github.com/vitest-dev/vitest/commit/63e3b2eee4d58da56786a6333f517b9b492528c7> (web)
- <https://github.com/vitest-dev/vitest/commit/e4067b3b150005fd42cf75f994300119245806b9> (web)
- <https://github.com/vitest-dev/vitest/releases/tag/v3.2.5> (web)
- <https://github.com/vitest-dev/vitest/releases/tag/v4.1.8> (web)
- <https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53633> (advisory)
- <https://github.com/vitest-dev/vitest> (package)

## Sources

- CVE List: [CVE-2026-53633](https://www.cve.org/CVERecord?id=CVE-2026-53633), CVE Terms of Use, modified 2026-07-29
- GitHub Advisory Database: [GHSA-g8mr-85jm-7xhm](https://github.com/advisories/GHSA-g8mr-85jm-7xhm), CC-BY-4.0, modified 2026-08-13
- NVD: [CVE-2026-53633](https://nvd.nist.gov/vuln/detail/CVE-2026-53633), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-53633 · Whole record: https://cve.day/CVE-2026-53633.json · Rebuilt by cve.day 2026-11-25T22:59:28.205Z
