Medium severity · published Aug 13, 2026
CVE-2026-73506
Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data
6.1
CVSS
0.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 7% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OH
oh-my-posh · JanDeDobbeleer
< 29.35.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-73506
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-73506
github.com
https://github.com/JanDeDobbeleer/oh-my-posh/commit/edcf3c88f3fb582e84358b385c49d33d04c04224
github.com
https://github.com/JanDeDobbeleer/oh-my-posh/pull/7711
github.com
https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.35.1
github.com
https://github.com/JanDeDobbeleer/oh-my-posh/security/advisories/GHSA-fwjx-9p69-h25h
github.com
https://github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f
More from oh-my-posh
7.8
CVE-2026-73505
Oh My Posh: Arbitrary command execution via template injection in the path segment
