CVE-2026-47092
published high CVSS 4.0 · 7.3Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jarrodwatts | — | claude-hud0 through 0.0.12 (affected · semver) · 234d9aad919b51326a43bcf90b45ae35c23afc30 (unaffected · git) · Other versions: affected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jarrodwatts | claude-hud | 0 through 0.0.12 (affected · semver)234d9aad919b51326a43bcf90b45ae35c23afc30 (unaffected · git)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-427 Uncontrolled Search Path Element
References
4- https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30
- https://github.com/jarrodwatts/claude-hud/issues/485
- https://github.com/jarrodwatts/claude-hud/pull/487
- https://www.vulncheck.com/advisories/claude-hud-arbitrary-command-execution-via-comspec-environment-variable
Provider assertions
2VulnCheck · cna
Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 41c61fffb6288df9ac22b645beebf08b6a7a1c495ca4a12e0841105c25c49696
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record