CVE-2026-47092CWE-427

Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable

High · published May 18, 2026

CVSS v4.0
7.3
EPSS
1%
Percentile
59.0
In the wild
Unconfirmed
What it is

Claude HUD through 0.0.12, patched in commit 234d9aa, contains a command injection vulnerability that allows local attackers to execute arbitrary commands by manipulating the COMSPEC environment variable. Attackers can set COMSPEC to an arbitrary binary path before claude-hud performs its version check, causing execFile() to execute the attacker-supplied executable with cmd.exe arguments, resulting in arbitrary code execution on Windows systems.

The record
Technical detail
CVSS v4.0
7.3 · HIGH
Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00892 · 59.0th percentile
Weakness
CWE-427 · Uncontrolled Search Path Element
Published
2026-05-18T19:46Z
EPSS history
Timeline
  • 18 MAY 19:46Z
    Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable
    cvelistv5