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 :
Oct. 24, 2026, 3:10 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE |
Solution
- 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
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-73506.
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)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-73506
weaknesses.
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.
-
CVE Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Changed Translation Title: oh-my-posh de JanDeDobbeleer, Description: Oh My Posh es el renderizador de avisos (prompts) multiplataforma/de shell más personalizable y de baja latencia. Antes de la versión 29.35.1, write(s rune) en src/terminal/writer.go emitía nombres de directorios actuales controlados por el atacante y metadatos de Git, incluyendo Commit.Subject, Commit.Author.Name, Commit.Author.Email y RawUpstreamURL, sin eliminar caracteres de control de terminal C0/C1 como ESC, BEL, CSI y OSC, permitiendo la inyección de secuencias de escape de terminal durante la renderización del aviso (prompt) que podría sobrescribir el portapapeles, suplantar el aviso (prompt) o la pantalla, manipular el título de la ventana o interrumpir el terminal. Este problema está solucionado en la versión 29.35.1. Title: oh-my-posh de JanDeDobbeleer, Description: Oh My Posh es el renderizador de avisos (prompts) multiplataforma/de shell más personalizable y de baja latencia. Antes de la versión 29.35.1, write(s rune) en src/terminal/writer.go emitía nombres de directorios actuales controlados por el atacante y metadatos de Git, incluyendo Commit.Subject, Commit.Author.Name, Commit.Author.Email y RawUpstreamURL, sin eliminar caracteres de control de terminal C0/C1 como ESC, BEL, CSI y OSC, permitiendo la inyección de secuencias de escape de terminal durante la renderización del aviso (prompt) que podría sobrescribir el portapapeles, suplantar el aviso (prompt) o la pantalla, manipular el título de la ventana o interrumpir el terminal. Este problema está solucionado en la versión 29.35.1. -
CVE Translated by [email protected]
Oct. 23, 2026
Action Type Old Value New Value Added Translation Title: oh-my-posh de JanDeDobbeleer, Description: Oh My Posh es el renderizador de avisos (prompts) multiplataforma/de shell más personalizable y de baja latencia. Antes de la versión 29.35.1, write(s rune) en src/terminal/writer.go emitía nombres de directorios actuales controlados por el atacante y metadatos de Git, incluyendo Commit.Subject, Commit.Author.Name, Commit.Author.Email y RawUpstreamURL, sin eliminar caracteres de control de terminal C0/C1 como ESC, BEL, CSI y OSC, permitiendo la inyección de secuencias de escape de terminal durante la renderización del aviso (prompt) que podría sobrescribir el portapapeles, suplantar el aviso (prompt) o la pantalla, manipular el título de la ventana o interrumpir el terminal. Este problema está solucionado en la versión 29.35.1. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 14, 2026
Action Type Old Value New Value Added Reference https://github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f Added SSVC {'id': 'CVE-2026-73506', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-14T15:35:29.639961Z'} -
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