Vulnerability · Published May 18, 2026 · Assigned by VulnCheck
CVE-2026-47092Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable
High 7.8
In plain English
A high-severity uncontrolled search path in claude-hud from jarrodwatts. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| jarrodwatts | claude-hud | 0 – through 0.0.12 |
Weakness: CWE-427 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/jarrodwatts/claude-hud/issues/485 issue-tracking
- https://github.com/jarrodwatts/claude-hud/pull/487 issue-tracking
- https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30 patch
- https://www.vulncheck.com/advisories/claude-hud-arbitrary-command-execution-via-comspec-environment-variable third-party-advisory