CVE-2026-47090

Claude HUD 0.0.12 Terminal Injection via OSC 8 Hyperlinks

Published May 18, 2026 CVSS 4.0 · 2.4 Low EPSS < 1% KEV · Not listed
Description
Claude HUD through 0.0.12, patched in commit 234d9aa, constructs OSC 8 terminal hyperlink escape sequences using raw cwd and branchUrl values without stripping control characters or encoding embedded values, allowing attackers to inject arbitrary ANSI codes into terminal sessions. Attackers can embed ESC+backslash sequences in the current working directory or branch URL to execute malicious ANSI codes including text color changes, forged prompts, and OSC 52 clipboard writes, or trigger outbound HTTP requests to attacker-controlled remotes when hyperlinks are clicked.

Analysis

AI-generated

Technical impact

Claude HUD constructs OSC 8 terminal hyperlink escape sequences using raw cwd and branchUrl values without sanitizing control characters or encoding embedded data. This allows an attacker to inject arbitrary ANSI escape codes, such as color changes, forged prompts, or OSC 52 clipboard writes, by embedding ESC+backslash sequences in the directory path or branch URL. The injected codes can manipulate the terminal session, exfiltrate clipboard data, or trigger outbound HTTP requests when the hyperlink is activated.

Affected Systems

The vulnerability is present in all releases of jarrodwatts:claude‑hud up to and including version 0.0.12. A patch is included in commit 234d9aa, and versions built after this commit are unaffected.

Risk and Exploitability

The CVSS score of 2.4 indicates a low severity vulnerability with limited impact. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. Because the issue depends on injecting raw values into terminal escape sequences, it is most likely exploitable in a local or privileged context where an attacker can provide a crafted cwd or branch URL. While the exploit can read clipboard contents and send arbitrary HTTP requests, it does not provide remote code execution or system compromise beyond the terminal session. Nonetheless, applying the patch remains the recommended mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch from commit 234d9aa by upgrading to a version newer than 0.0.12
  • Modify the source or configuration to escape or strip control characters from cwd and branchUrl before constructing OSC 8 hyperlinks
  • Configure the terminal emulator to disallow OSC 52 clipboard writes or disable hyperlink handling for OSC 8 sequences as a temporary workaround

Generated by OpenCVE AI on May 18, 2026 at 21:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Jarrodwatts claude Hud
CPEs cpe:2.3:a:jarrodwatts:claude_hud:*:*:*:*:*:claude_code:*:*
Vendors & Products Jarrodwatts claude Hud
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jarrodwatts
Jarrodwatts claude-hud
Vendors & Products Jarrodwatts
Jarrodwatts claude-hud
Type Values Removed Values Added
Description Claude HUD through 0.0.12, patched in commit 234d9aa, constructs OSC 8 terminal hyperlink escape sequences using raw cwd and branchUrl values without stripping control characters or encoding embedded values, allowing attackers to inject arbitrary ANSI codes into terminal sessions. Attackers can embed ESC+backslash sequences in the current working directory or branch URL to execute malicious ANSI codes including text color changes, forged prompts, and OSC 52 clipboard writes, or trigger outbound HTTP requests to attacker-controlled remotes when hyperlinks are clicked.
Title Claude HUD 0.0.12 Terminal Injection via OSC 8 Hyperlinks
Weaknesses CWE-150
References
Metrics cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-150

    Improper Neutralization of Escape, Meta, or Control Sequences

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:03 PM
Reserved
May 18, 2026, 7:22 PM
Status
Analyzed
Published
May 18, 2026, 8:16 PM
Modified
Oct 26, 2026, 1:10 PM