CVE-2026-47092

Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable

State
Published
Severity
7.3 High
Published
May 18, 2026
Updated
Jul 14, 2026
Reserved
May 18, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.3 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-427 Uncontrolled Search Path Element

Affected Products

ProductVersions
claude-hudjarrodwatts
  • 0.0.12 and earlierAffected
  • 234d9aad919b51326a43bcf90b45ae35c23afc30Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.