CVE-2026-53633: vitest · Exposed Dangerous Method or Function
Affects vitestSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical · fixed in 5.0.0-beta.4 : patch vitest as a priority.
Data as of 26 Nov 2026, 14:59 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.0.0-beta.4, 4.1.8, 3.2.5 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| vitest-devvitest | Affected
| Fixed in
|
| vitest-devvitest | Affected
| Fixed in
|
| vitest-devvitest | Affected
| Fixed in
|
npm@vitest/browserpkg:npm/%40vitest/browserOther threats | Affected
| Fixed in
|
npm@vitest/browserpkg:npm/%40vitest/browserOther threats | Affected
| Fixed in
|
npm@vitest/browserpkg:npm/%40vitest/browserOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Vitest versions 3.2.5, 4.1.8, and 5.0.0-beta. Users should upgrade to these or later versions to remediate the vulnerability. There is no indication that temporary mitigations exist; upgrading is the recommended action.
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.
References
- github.com/vitest-dev/vitest/security/advisories/GHSA-g8mr-85jm-7xhm (opens in a new tab)
- github.com/vitest-dev/vitest/pull/10444 (opens in a new tab)
- github.com/vitest-dev/vitest/pull/10450 (opens in a new tab)
- github.com/vitest-dev/vitest/pull/10456 (opens in a new tab)
- github.com/vitest-dev/vitest/commit/385a1aefd4c2bfa5e7d58bf7c6834c929969f2c7 (opens in a new tab)
- github.com/vitest-dev/vitest/commit/63e3b2eee4d58da56786a6333f517b9b492528c7 (opens in a new tab)
- github.com/vitest-dev/vitest/commit/e4067b3b150005fd42cf75f994300119245806b9 (opens in a new tab)
- github.com/vitest-dev/vitest/releases/tag/v3.2.5 (opens in a new tab)
- github.com/vitest-dev/vitest/releases/tag/v4.1.8 (opens in a new tab)
- github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.4 (opens in a new tab)