CVE-2026-47429 IBM QRadar · QRadar

Detect CVE-2026-47429: Vitest UI Server Arbitrary File Read and Execution in IBM QRadar

CVE-2026-47429 is a critical missing authorization vulnerability (CWE-862, CVSS 9.8) in the Vitest UI server. When the Vitest UI server is listening, unauthenticated remote attackers can read arbitrary files from the filesystem and execute arbitrary code. Affected versions include Vitest < 3.2.6 and >= 4.0.0, < 4.1.0. A public proof-of-concept exists. Exploitation typically involves sending crafted WebSocket or HTTP requests to the Vitest UI server's RPC endpoint to traverse the filesystem or trigger code execution via the browser plugin's file system command handlers.

MITRE ATT&CK

Tactic
Initial Access Credential Access Execution

QRadar Detection Query

IBM QRadar (QRadar)
sql
SELECT
  DATEFORMAT(starttime, 'YYYY-MM-dd HH:mm:ss') AS event_time,
  sourceip,
  destinationip,
  destinationport,
  username,
  "Process Name" AS process_name,
  "Command" AS command_line,
  "File Path" AS file_path,
  QIDNAME(qid) AS event_name
FROM events
WHERE
  LOGSOURCETYPENAME(devicetype) IN ('Microsoft Windows Security Event Log', 'Linux OS', 'Sysmon')
  AND (
    (
      "Process Name" ILIKE '%node%'
      AND "Command" ILIKE '%vitest%'
      AND "Command" ILIKE '%ui%'
    )
    OR destinationport IN (51204, 51205, 5173, 5174, 4173)
  )
  AND (
    "File Path" ILIKE '%.env%'
    OR "File Path" ILIKE '%id_rsa%'
    OR "File Path" ILIKE '%id_ed25519%'
    OR "File Path" ILIKE '%shadow%'
    OR "File Path" ILIKE '%passwd%'
    OR "File Path" ILIKE '%credentials%'
    OR "File Path" ILIKE '%secrets%'
    OR "File Path" ILIKE '%aws/credentials%'
    OR (sourceip NOT IN ('127.0.0.1', '::1') AND destinationport IN (51204, 51205, 5173, 5174, 4173))
  )
LAST 24 HOURS
ORDER BY starttime DESC
critical severity medium confidence

QRadar AQL query detecting Vitest UI server process activity combined with sensitive file access or remote inbound connections to Vitest default ports, targeting CVE-2026-47429 exploitation patterns.

Data Sources

Windows Security Event LogLinux OS LogsSysmon

Required Tables

events

False Positives & Tuning

  • Developer machines running vitest --ui in local development with legitimate file access
  • CI/CD build agents that expose Vitest UI within private networks during testing phases
  • Red team or security tooling accessing development ports in authorized test environments
  • Applications with broad file system access patterns coincidentally running alongside Vitest

Other platforms for CVE-2026-47429


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 1CVE-2026-47429 - Vitest UI Arbitrary File Read via RPC

    Expected signal: Network connection from external IP to port 5173; node process file open event for /etc/passwd; WebSocket upgrade request in proxy logs

  2. Test 2CVE-2026-47429 - Vitest UI Credential File Exfiltration Simulation

    Expected signal: Sequence of file open events for multiple sensitive paths initiated by node process; multiple WebSocket messages to Vitest UI port within short timeframe

  3. Test 3CVE-2026-47429 - Vitest UI Remote Code Execution via Test Execution

    Expected signal: Child process spawned by node with shell command arguments; file creation event at /tmp/vitest-rce-proof.txt; Sysmon Event ID 1 for child process of node.exe/node

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections