CVE-2026-73506: CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences in JanDeDobbeleer oh-my-posh
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.
AI Analysis
Technical Summary
Oh My Posh versions before 29.35.1 contain a vulnerability where the write(s rune) function in src/terminal/writer.go outputs attacker-controlled data such as current directory names and Git metadata (Commit.Subject, Commit.Author.Name, Commit.Author.Email, RawUpstreamURL) without sanitizing C0/C1 terminal control characters (ESC, BEL, CSI, OSC). This allows injection of terminal escape sequences during prompt rendering, potentially leading to clipboard overwrites, prompt or screen spoofing, window title manipulation, or terminal disruption. The issue is resolved in version 29.35.1.
Potential Impact
An attacker who can influence the displayed prompt content can inject terminal escape sequences that may overwrite clipboard contents, spoof the terminal prompt or screen, manipulate the terminal window title, or disrupt terminal operation. This can lead to information disclosure, user deception, or denial of service in the terminal environment. The CVSS score of 6.1 reflects a medium severity with local attack vector and required user interaction.
Mitigation Recommendations
Upgrade oh-my-posh to version 29.35.1 or later, where this vulnerability is fixed by properly sanitizing terminal control characters in prompt metadata. No other mitigation is required as the fix addresses the root cause.
CVE-2026-73506: CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences in JanDeDobbeleer oh-my-posh
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.
CVSS v3.1
Score 6.1medium
Affected software
pkg:golang/github.com/jandedobbeleer/oh-my-poshRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Oh My Posh versions before 29.35.1 contain a vulnerability where the write(s rune) function in src/terminal/writer.go outputs attacker-controlled data such as current directory names and Git metadata (Commit.Subject, Commit.Author.Name, Commit.Author.Email, RawUpstreamURL) without sanitizing C0/C1 terminal control characters (ESC, BEL, CSI, OSC). This allows injection of terminal escape sequences during prompt rendering, potentially leading to clipboard overwrites, prompt or screen spoofing, window title manipulation, or terminal disruption. The issue is resolved in version 29.35.1.
Potential Impact
An attacker who can influence the displayed prompt content can inject terminal escape sequences that may overwrite clipboard contents, spoof the terminal prompt or screen, manipulate the terminal window title, or disrupt terminal operation. This can lead to information disclosure, user deception, or denial of service in the terminal environment. The CVSS score of 6.1 reflects a medium severity with local attack vector and required user interaction.
Mitigation Recommendations
Upgrade oh-my-posh to version 29.35.1 or later, where this vulnerability is fixed by properly sanitizing terminal control characters in prompt metadata. No other mitigation is required as the fix addresses the root cause.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-12T19:00:33.736Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7ddecdbf8831d5395d016b
Added to database: 08/13/2026, 15:12:13 UTC
Last enriched: 08/13/2026, 15:28:50 UTC
Last updated: 08/13/2026, 17:43:31 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.