CVE-2026-53633 Sumo Logic CSE · Sumo

Detect CVE-2026-53633: Vitest Browser Mode API RCE via CDP Proxy and Config Overwrite in Sumo Logic CSE

CVE-2026-53633 is a critical (CVSS 9.8) remote code execution vulnerability in @vitest/browser and vite-plus packages. The browser mode API is exposed without adequate authorization controls (CWE-749, CWE-862), allowing unauthenticated attackers to proxy Chrome DevTools Protocol (CDP) commands and overwrite configuration files. This can lead to arbitrary code execution on the host running Vitest in browser mode. Affected versions include @vitest/browser >= 3.0.0 <= 3.2.4, >= 4.0.0 <= 4.1.7, >= 5.0.0-beta.0 <= 5.0.0-beta.3, and vite-plus <= 0.1.23. A public PoC exists.

MITRE ATT&CK

Tactic
Initial Access Execution Persistence Privilege Escalation

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=network/proxy OR _sourceCategory=web/access
| where (%"dest_port" in ("51204","51205","5173","5174","4173") or %"destination.port" in ("51204","51205","5173","5174","4173"))
| where (%"uri_path" matches "*__vitest*" or %"uri_path" matches "*/cdp*" or %"uri_path" matches "*/json" or %"url.path" matches "*__vitest*")
| eval cdp_command = if (%"uri_query" matches "*Runtime.evaluate*" or %"uri_query" matches "*Page.navigate*" or %"uri_query" matches "*attachToTarget*", "true", "false")
| eval config_access = if (%"uri_path" matches "*.config.*" or %"uri_path" matches "*.env*", "true", "false")
| eval external_src = if (!(%"src_ip" matches "10.*" or %"src_ip" matches "172.1*" or %"src_ip" matches "172.2*" or %"src_ip" matches "172.3*" or %"src_ip" matches "192.168.*"), "true", "false")
| where cdp_command = "true" or config_access = "true" or external_src = "true"
| count by %"src_ip", %"dest_ip", %"dest_port", cdp_command, config_access, external_src
| sort by _count desc
critical severity medium confidence

Sumo Logic query identifying requests to Vitest browser mode default ports with suspicious API paths, CDP commands, or config file access patterns indicative of CVE-2026-53633 exploitation.

Data Sources

Sumo Logic HTTP SourceWeb proxy logsNetwork flow logs

Required Tables

_sourceCategory=network/proxy_sourceCategory=web/access

False Positives & Tuning

  • Legitimate test automation platforms running Vitest suites in headless browser mode
  • Corporate proxies that consolidate internal developer traffic through a single egress IP
  • Load balancers performing health checks against Vitest dev server endpoints

Other platforms for CVE-2026-53633


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Vitest Browser Mode CDP Discovery via /json Endpoint

    Expected signal: HTTP GET requests to /json and /__vitest_api__/ on ports 51204 or 5173 from an external source IP visible in web server or proxy logs

  2. Test 2CDP Runtime.evaluate Arbitrary JavaScript Execution via Vitest Browser API

    Expected signal: WebSocket upgrade request to /devtools/page/<id> followed by CDP Runtime.evaluate method in request payload visible in network capture

  3. Test 3Vitest Config File Overwrite via Exposed API

    Expected signal: HTTP POST to /__vitest_api__ with writeFile method in request body; filesystem audit log showing vitest.config.ts modification timestamp updated outside normal developer hours

Unlock Pro Content

Get the full detection package for CVE-2026-53633 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections