{"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-11-11T10:30:34.012860799Z","published":"2026-05-18T19:46:48.302Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-427"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47092.json"},"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":"FIX","url":"https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30"},{"type":"FIX","url":"https://github.com/jarrodwatts/claude-hud/pull/487"},{"type":"PACKAGE","url":"https://github.com/jarrodwatts/claude-hud"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jarrodwatts/claude-hud","events":[{"introduced":"0"},{"fixed":"234d9aad919b51326a43bcf90b45ae35c23afc30"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:jarrodwatts:claude_hud:*:*:*:*:*:claude_code:*:*","range":[{"introduced":"0"},{"last_affected":"0.0.12"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"234d9aad919b51326a43bcf90b45ae35c23afc30"}]}]}}],"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.9.2","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"}]}