CVE-2026-73506: CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences in JanDeDobbeleer oh-my-posh
CVE-2026-73506 is a vulnerability in JanDeDobbeleer's oh-my-posh prompt renderer prior to version 29.35.1. It involves improper neutralization of terminal control characters in user-controllable data such as current directory names and Git metadata. This flaw allows injection of terminal escape sequences that can manipulate the terminal display, overwrite the clipboard, spoof prompts, or disrupt terminal operation. The issue is fixed in version 29.35.1.
AI Analysis
Technical Summary
Oh My Posh versions before 29.35.1 improperly handle terminal control characters (C0/C1) in attacker-controlled inputs including current directory names and Git metadata fields like Commit.Subject, Commit.Author.Name, Commit.Author.Email, and RawUpstreamURL. The write(s rune) function in src/terminal/writer.go emitted these values without sanitization, enabling terminal escape sequence injection during prompt rendering. This can lead to terminal manipulation such as clipboard overwrite, prompt spoofing, window title changes, or terminal disruption. The vulnerability is addressed in version 29.35.1.
Potential Impact
An attacker able to influence the current directory or Git metadata can inject terminal escape sequences that manipulate the terminal environment. This may result in clipboard overwrites, spoofed prompts or screen content, altered window titles, or terminal disruption. The impact includes confidentiality, integrity, and availability effects on the terminal session.
Mitigation Recommendations
Upgrade to oh-my-posh version 29.35.1 or later, where this issue is fixed by properly sanitizing terminal control characters in user-controllable inputs. No other mitigation is indicated.
CVE-2026-73506: CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences in JanDeDobbeleer oh-my-posh
Description
CVE-2026-73506 is a vulnerability in JanDeDobbeleer's oh-my-posh prompt renderer prior to version 29.35.1. It involves improper neutralization of terminal control characters in user-controllable data such as current directory names and Git metadata. This flaw allows injection of terminal escape sequences that can manipulate the terminal display, overwrite the clipboard, spoof prompts, or disrupt terminal operation. The issue is fixed in version 29.35.1.
CVSS v3.1
Score 6.1medium
Affected software
JanDeDobbeleer
oh-my-posh
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 improperly handle terminal control characters (C0/C1) in attacker-controlled inputs including current directory names and Git metadata fields like Commit.Subject, Commit.Author.Name, Commit.Author.Email, and RawUpstreamURL. The write(s rune) function in src/terminal/writer.go emitted these values without sanitization, enabling terminal escape sequence injection during prompt rendering. This can lead to terminal manipulation such as clipboard overwrite, prompt spoofing, window title changes, or terminal disruption. The vulnerability is addressed in version 29.35.1.
Potential Impact
An attacker able to influence the current directory or Git metadata can inject terminal escape sequences that manipulate the terminal environment. This may result in clipboard overwrites, spoofed prompts or screen content, altered window titles, or terminal disruption. The impact includes confidentiality, integrity, and availability effects on the terminal session.
Mitigation Recommendations
Upgrade to oh-my-posh version 29.35.1 or later, where this issue is fixed by properly sanitizing terminal control characters in user-controllable inputs. No other mitigation is indicated.
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
Threat ID: 6a7ddecdbf8831d5395d016b
Added to database: 08/13/2026, 15:12:13 UTC
Last enriched: 08/21/2026, 14:01:26 UTC
Last updated: 09/28/2026, 13:47:47 UTC
Views: 57
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.