6.1
MEDIUM CVSS 3.1
CVE-2026-73506
Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data
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.

INFO

Published Date :

Aug. 13, 2026, 3:20 p.m.

Last Modified :

Aug. 13, 2026, 3:20 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-73506 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Update Oh My Posh to version 29.35.1 or later to fix terminal escape sequence injection.
  • Update Oh My Posh to version 29.35.1 or later.
  • Remove C0/C1 control characters from prompts.
  • Sanitize attacker-controlled input before rendering.
  • Validate Git metadata for control characters.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-73506 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-73506 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-73506 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Aug. 13, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'JanDeDobbeleer', 'product': 'oh-my-posh', 'versions': [{'status': 'affected', 'version': '< 29.35.1'}]}]
    Added 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.
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
    Added CWE CWE-150
    Added Reference https://github.com/JanDeDobbeleer/oh-my-posh/commit/edcf3c88f3fb582e84358b385c49d33d04c04224
    Added Reference https://github.com/JanDeDobbeleer/oh-my-posh/pull/7711
    Added Reference https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.35.1
    Added Reference https://github.com/JanDeDobbeleer/oh-my-posh/security/advisories/GHSA-fwjx-9p69-h25h
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.