{"id":"CVE-2026-47092","summary":"Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable","details":"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.","modified":"2026-08-04T11:50:33.732934401Z","published":"2026-05-18T19:46:48.302Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47092.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-427"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47092.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47092"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/claude-hud-arbitrary-command-execution-via-comspec-environment-variable"},{"type":"REPORT","url":"https://github.com/jarrodwatts/claude-hud/issues/485"},{"type":"REPORT","url":"https://github.com/jarrodwatts/claude-hud/pull/487"},{"type":"FIX","url":"https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30"},{"type":"PACKAGE","url":"https://github.com/jarrodwatts/claude-hud"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jarrodwatts/claude-hud","events":[{"introduced":"0"},{"last_affected":"c4fd79e6d31fe40d8e57b1e3db768025254df553"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0.0.12"}]}}],"versions":["v0.0.12","v0.0.10","v0.0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47092.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V4","score":"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"}]}