---
id: CVE-2026-73506
title: >-
  Oh My Posh is the most customisable and low-latency cross platform/shell
  prompt renderer
summary: >-
  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.Su…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'
cwe:
  - CWE-150
vendor: jandedobbeleer
product: github.com/jandedobbeleer/oh-my-posh
affected:
  - github.com/jandedobbeleer/oh-my-posh < 29.35.1
patched:
  - github.com/jandedobbeleer/oh-my-posh 29.35.1
published: '2026-08-13'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:02:22.660'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73506'
references:
  - url: >-
      https://github.com/JanDeDobbeleer/oh-my-posh/commit/edcf3c88f3fb582e84358b385c49d33d04c04224
    label: security-advisories@github.com
  - url: 'https://github.com/JanDeDobbeleer/oh-my-posh/pull/7711'
    label: security-advisories@github.com
  - url: 'https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.35.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/JanDeDobbeleer/oh-my-posh/security/advisories/GHSA-fwjx-9p69-h25h
    label: security-advisories@github.com
  - url: >-
      https://github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/JanDeDobbeleer/oh-my-posh'
  - url: 'https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.36.0'
tags:
  - nvd
  - osv
  - go
epss: 0.00179
epssPercentile: 0.06633
aliases:
  - GHSA-fwjx-9p69-h25h
ecosystem: go
ingestedAt: '2026-08-13T19:18:21.197Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-73506)

Affected packages:

- `github.com/jandedobbeleer/oh-my-posh < 29.35.1`

Patched in:

- `github.com/jandedobbeleer/oh-my-posh 29.35.1`

Source: https://osv.dev/vulnerability/GHSA-fwjx-9p69-h25h
