Skip to content
MediumVulnerability

CVE-2026-47090: Claude HUD terminal escape injection through unsanitized cwd and branchUrl

Identifier
CVE-2026-47090
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.1%

Summary

Claude HUD through 0.0.12 builds OSC 8 terminal hyperlink escape sequences from raw cwd and branchUrl values without stripping control characters or encoding embedded content, enabling injection of arbitrary ANSI codes into terminal sessions. An attacker who embeds ESC+backslash sequences in the working directory or branch URL can change text colors, forge prompts, write to the clipboard via OSC 52, or trigger outbound HTTP requests to attacker-controlled remotes when a hyperlink is clicked.

Mitigation

Patched in commit 234d9aa.