CVE-2026-73506
Description
Oh My Posh is the most customisable and low-latency cross platform/shell prompt renderer. Prior to 29.35.1, write(s rune) in src/terminal/writer.go emitted attacker-controlled current directory names and Git metadata, including Commit.Subject, Commit.Author.Name, Commit.Author.Email, and RawUpstreamURL, without removing C0/C1 terminal control characters such as ESC, BEL, CSI, and OSC, allowing terminal escape sequence injection during prompt rendering that could overwrite the clipboard, spoof the prompt or screen, manipulate the window title, or disrupt the terminal. This issue is fixed in version 29.35.1.
How to fix
- github.com/jandedobbeleer/oh-my-posh29.35.1, 29.35.1+incompatible or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/jandedobbeleer/oh-my-poshGo | v < 29.35.1, v < 29.35.1+incompatible | 29.35.1, 29.35.1+incompatible |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.