CVE-2026-47092
HIGHClaude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable
Title source: cnaDescription
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.
References (4)
Core 4
Core References
Technical Description technical-description
https://github.com/jarrodwatts/claude-hud/issues/485
Issue Tracking issue-tracking
https://github.com/jarrodwatts/claude-hud/pull/487
Patch patch
https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/claude-hud-arbitrary-command-execution-via-comspec-environment-variable
Scores
CVSS v3
7.8
EPSS
0.0052
EPSS Percentile
40.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-427
Status
published
Products (3)
jarrodwatts/claude-hud
< 0.0.12
jarrodwatts/claude-hud
234d9aad919b51326a43bcf90b45ae35c23afc30
jarrodwatts/claude_hud
< 0.0.12
Published
May 18, 2026
Tracked Since
May 19, 2026