CVE-2026-53633vitest-dev vitest Exposed Dangerous Method or Function
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- vitest-dev vitest >= 3.0.0, < 3.2.5
- vitest-dev vitest >= 4.0.0, < 4.1.8
- vitest-dev vitest >= 5.0.0-beta.0, < 5.0.0-beta.4
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.
- Check whether you run vitest-dev vitest and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Jul 14, 2026Published
- Oct 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new vitest-dev vitest CVEsYou are reading CVE-2026-53633. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/vitest-dev/vitest/commit/385a1aefd4c2bfa5e7d58bf7c6834c929969f2c7
- Patchhttps://github.com/vitest-dev/vitest/commit/63e3b2eee4d58da56786a6333f517b9b492528c7
- Patchhttps://github.com/vitest-dev/vitest/commit/e4067b3b150005fd42cf75f994300119245806b9
- Patchhttps://github.com/vitest-dev/vitest/pull/10444
- Patchhttps://github.com/vitest-dev/vitest/pull/10450
- Patchhttps://github.com/vitest-dev/vitest/pull/10456
- Referencehttps://github.com/vitest-dev/vitest/releases/tag/v3.2.5
- Referencehttps://github.com/vitest-dev/vitest/releases/tag/v4.1.8
- Referencehttps://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.4
- Vendor Advisoryhttps://github.com/vitest-dev/vitest/security/advisories/GHSA-g8mr-85jm-7xhm
Data last checked: Nov 27, 2026 08:11 UTC