Home

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.

PUBLISHED Reserved 2026-05-18 | Published 2026-05-18 | Updated 2026-05-18 | Assigner VulnCheck




HIGH: 7.3CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

HIGH: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

Uncontrolled Search Path Element

Product status

Default status
affected

Any version
affected

234d9aad919b51326a43bcf90b45ae35c23afc30 (git)
unaffected

Credits

Katriel Moses finder

References

github.com/jarrodwatts/claude-hud/issues/485 technical-description

github.com/jarrodwatts/claude-hud/pull/487 issue-tracking

github.com/...ommit/234d9aad919b51326a43bcf90b45ae35c23afc30 patch

www.vulncheck.com/...cution-via-comspec-environment-variable third-party-advisory

cve.org (CVE-2026-47092)

nvd.nist.gov (CVE-2026-47092)

Download JSON