Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-427.
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 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jarrodwatts | claude-hud | up to 0.0.12 | — | Patch available | CNA |
- claude-hud Vendorjarrodwatts Affected up to 0.0.12 Fixed in — Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jarrodwatts:claude_hud:*:*:*:*:*:claude_code:*:* | up to 0.0.12 | Vulnerable | jarrodwatts |
- cpe:2.3:a:jarrodwatts:claude_hud:*:*:*:*:*:claude_code:*:* Versions up to 0.0.12 Vulnerable ·jarrodwatts
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47092
- 2026-10-03 Alias added: GHSA-p5qq-v9mc-39ff
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More jarrodwatts Claude Hud vulnerabilities
- TI-2026-34693 Claude HUD 0.0.12 Path Traversal via transcript_path CVSS 4.0MEDIUM 4.8
- TI-2026-34692 Claude HUD 0.0.12 Terminal Injection via OSC 8 Hyperlinks CVSS 4.0LOW 2.4
Sources
- CVE-2026-47092 · CVE Program
- CVE-2026-47092 · NVD
- FIRST EPSS
- GHSA-p5qq-v9mc-39ff · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences