A command injection vulnerability in Claude HUD through version 0.0.12 allows local attackers to execute arbitrary commands on Windows systems by manipulating the COMSPEC environment variable. The vulnerability exists because the application uses execFile() to invoke cmd.exe for version checks without properly validating or sanitizing the COMSPEC environment variable. An attacker with local access can set COMSPEC to point to an arbitrary executable path before Claude HUD performs its version check, causing the application to execute the attacker-supplied binary with cmd.exe arguments. This results in arbitrary code execution with the privileges of the Claude HUD process. The issue was patched in commit 234d9aa. The vulnerability is rated HIGH severity with a CVSS score of 7.3, reflecting the significant impact on confidentiality, integrity, and availability combined with relatively low attack complexity for local attackers.
A path traversal vulnerability in Claude HUD through version 0.0.12 allows local attackers with low privileges to read arbitrary files readable by the process. The vulnerability stems from insufficient validation of the `transcript_path` parameter supplied via stdin JSON. Additionally, accessed file metadata is written to a persistent cache file with overly permissive permissions, creating a forensic record that survives process termination. The issue was patched in commit 234d9aa. The CVSS 4.0 vector indicates local attack vector, low attack complexity, low privileges required, and no user interaction needed, with low confidentiality impact.
CVE-2026-47090 describes a terminal escape sequence injection vulnerability in Claude HUD through version 0.0.12. The application constructs OSC 8 terminal hyperlink escape sequences using raw current working directory (cwd) and branchUrl values without sanitizing control characters or encoding embedded values. This allows attackers to inject arbitrary ANSI escape codes into terminal sessions by embedding ESC+backslash sequences in directory names or branch URLs. The injected codes can manipulate terminal display (text color changes, forged prompts), write to the system clipboard via OSC 52 sequences, or trigger outbound HTTP requests when malicious hyperlinks are clicked. The vulnerability was patched in commit 234d9aa. The CVSS 4.0 vector indicates local attack vector with low attack complexity, requiring low privileges and user interaction, with low impacts to system confidentiality and integrity but no availability impact.