# CVE-2026-47092: Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable

- Severity: High 7.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-05-18T19:46:48.302Z
- Modified: 2026-11-08T14:04:01.051Z
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- jarrodwatts claude-hud: up to 0.0.12 (not affected: 234d9aad919b51326a43bcf90b45ae35c23afc30)
- jarrodwatts claude_hud: up to 0.0.12

## Every score

- VulnCheck: CVSS:4.0 7.3 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/jarrodwatts/claude-hud/issues/485> (issue-tracking)
- <https://github.com/jarrodwatts/claude-hud/pull/487> (issue-tracking, patch)
- <https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30> (patch)
- <https://www.vulncheck.com/advisories/claude-hud-arbitrary-command-execution-via-comspec-environment-variable> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-47092](https://www.cve.org/CVERecord?id=CVE-2026-47092), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-47092](https://nvd.nist.gov/vuln/detail/CVE-2026-47092), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-47092 · Whole record: https://cve.day/CVE-2026-47092.json · Rebuilt by cve.day 2026-11-25T22:59:21.934Z
