---
id: CVE-2026-47092
title: Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable
summary: >-
  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 …
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-427
vendor: jarrodwatts
product: claude-hud
affected:
  - claude-hud <= 0.0.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-05-19T16:24:48.795343Z'
published: '2026-05-18'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:04:01.051Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-47092'
references:
  - url: 'https://github.com/jarrodwatts/claude-hud/issues/485'
  - url: 'https://github.com/jarrodwatts/claude-hud/pull/487'
  - url: >-
      https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30
  - url: >-
      https://www.vulncheck.com/advisories/claude-hud-arbitrary-command-execution-via-comspec-environment-variable
tags:
  - cve.org
epss: 0.0051
epssPercentile: 0.43802
ingestedAt: '2026-11-08T14:51:22.415Z'
---

## Overview

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

- `claude-hud <= 0.0.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
