CVE-2026-53633: vitest-dev vitest Exposed Dangerous Method or Function
Vulnerability summary
CVE-2026-53633 is a critical (CVSS 9.8) Exposed Dangerous Method or Function vulnerability in vitest-dev vitest. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 58.9% of scored vulnerabilities.
Timeline
- 14-07-2026PublishedVulnerability first disclosed.
- 29-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.90%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
0.00 pp
From 0.90% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-749Exposed Dangerous Method or FunctionThe product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.
- CWE-862Missing AuthorizationThe product does not perform an authorization check when an actor attempts to access a resource or perform an action.
Affected systems
@vitest1 product
- browser≥ 5.0.0-beta.0, < 5.0.0-beta.4 | ≥ 4.0.0, < 4.1.8 | ≥ 3.0.0, < 3.2.5
Npm1 product
- vite-plus< 0.1.24
Vitest-dev1 product
- vitest≥ 3.0.0, < 3.2.5 | ≥ 4.0.0, < 4.1.8 | ≥ 5.0.0-beta.0, < 5.0.0-beta.4
3 vendors · 3 products
References
12 linksShow all 12 references
- github.com/vitest-dev/vitestPACKAGE