{"id":"CVE-2026-47092","state":"PUBLISHED","title":"Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable","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.","publishedAt":"2026-05-18T19:46:48.302Z","updatedAt":"2026-07-14T21:32:58.361Z","severity":{"score":7.3,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["jarrodwatts claude-hud"],"affected":[{"vendor":"jarrodwatts","product":"claude-hud","packageURL":"pkg:github/jarrodwatts/claude-hud","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.0.12","versionType":"semver"},{"version":"234d9aad919b51326a43bcf90b45ae35c23afc30","status":"unaffected","versionType":"git"}],"repo":"https://github.com/jarrodwatts/claude-hud"}],"references":["https://github.com/jarrodwatts/claude-hud/issues/485","https://github.com/jarrodwatts/claude-hud/pull/487","https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30","https://www.vulncheck.com/advisories/claude-hud-arbitrary-command-execution-via-comspec-environment-variable"],"weaknesses":["CWE-427"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47092.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47092","state":"PUBLISHED","datePublished":"2026-05-18T19:46:48.302Z","dateUpdated":"2026-07-14T21:32:58.361Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-05-18T19:22:26.747Z"},"containers":{"cna":{"title":"Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable","descriptions":[{"lang":"en","value":"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":[{"vendor":"jarrodwatts","product":"claude-hud","packageURL":"pkg:github/jarrodwatts/claude-hud","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.0.12","versionType":"semver"},{"version":"234d9aad919b51326a43bcf90b45ae35c23afc30","status":"unaffected","versionType":"git"}],"repo":"https://github.com/jarrodwatts/claude-hud"}],"references":[{"url":"https://github.com/jarrodwatts/claude-hud/issues/485","tags":["issue-tracking"]},{"url":"https://github.com/jarrodwatts/claude-hud/pull/487","tags":["issue-tracking"]},{"url":"https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/claude-hud-arbitrary-command-execution-via-comspec-environment-variable","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.3,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"HIGH","baseScore":7.8,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-427","lang":"en","description":"Uncontrolled Search Path Element","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T21:32:58.361Z"},"tags":["x_open-source"],"datePublic":"2026-04-23T00:00:00.000Z","credits":[{"lang":"en","value":"Katriel Moses","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-19T16:24:48.795343Z","id":"CVE-2026-47092","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-19T16:25:00.577Z"}}]}}}