CVE-2026-53633: Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE
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.
Security readout for executives and security teams
Plain-English summary
Vitest Browser Mode exposed a powerful browser-control API in affected versions. If that API metadata is reachable by an attacker, they could abuse it to alter project configuration and cause attacker-controlled Node.js code execution. This is critical for exposed development or CI environments using affected Vitest versions.
Executive priority
Prioritize rapid remediation where affected Vitest Browser Mode runs in shared CI, remote development, or network-accessible test infrastructure. Lower priority may be reasonable for isolated local-only use, but version upgrades should still be tracked promptly.
Technical view
Affected Vitest versions expose a cdp() API that proxies raw Chrome DevTools Protocol methods without allowWrite or allowExec enforcement. The advisory describes abuse of CDP capabilities to overwrite vite.config.ts and trigger Node.js code execution. Fixed versions are 3.2.5, 4.1.8, and 5.0.0-beta.4.
Likely exposure
Exposure is most likely in development, test, or CI systems running Vitest Browser Mode where its browser API metadata is reachable beyond trusted local boundaries. Standard production applications are not identified as affected unless they expose this Vitest Browser Mode surface.
Exploitation context
The source bundle does not show CISA KEV listing or confirmed active exploitation. The CVSS vector is network, low complexity, no privileges, and no user interaction, but exploitation depends on attacker reachability to exposed Browser Mode API metadata.
Researcher notes
Key control failure is unrestricted CDP proxying through cdp(), bypassing intended allowWrite and allowExec gates. Evidence names CWE-749 and CWE-862. Do not assume broader Vite or Vitest runtime exposure beyond the affected Browser Mode versions listed in the advisory.
Mitigation direction
Upgrade Vitest 3.x to 3.2.5 or later.
Upgrade Vitest 4.x to 4.1.8 or later.
Upgrade Vitest 5 beta to 5.0.0-beta.4 or later.
Avoid exposing Vitest Browser Mode APIs to untrusted networks.
Review the GitHub advisory for any branch-specific guidance.
Validation and detection
Inventory package manifests and lockfiles for affected Vitest ranges.
Identify projects or CI jobs using Vitest Browser Mode.
Confirm resolved Vitest versions match fixed releases.
Check whether Browser Mode endpoints are reachable outside trusted hosts.
Review dependency update results and rerun the relevant test suite.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-749: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
CWE-862: Authorization and privilege behavior lookup
Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
11Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-749 · source CWE mapping
Exposed Dangerous Method or Function
Exposed Dangerous Method or Function represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Missing Authorization represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.