CVE-2026-73506
MEDIUM 6.1CVSS 3.1Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data
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.
- Published
- 13 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-150
- Also known as
- GHSA-fwjx-9p69-h25hGO-2026-6111
- Sources
- NVDJSONOSV GHSA-fwjx-9p69-h25hJSONOSV GO-2026-6111JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/jandedobbeleer/oh-my-posh | < 29.35.1 | 29.35.1 |
| OSV | Go | github.com/jandedobbeleer/oh-my-posh | < 29.35.1+incompatible | 29.35.1+incompatible |
References
- https://github.com/JanDeDobbeleer/oh-my-posh/commit/edcf3c88f3fb582e84358b385c49d33d04c04224 · WEB
- https://github.com/JanDeDobbeleer/oh-my-posh/pull/7711
- https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.35.1 · WEB
- https://github.com/JanDeDobbeleer/oh-my-posh/security/advisories/GHSA-fwjx-9p69-h25h · WEB, ADVISORY
- https://github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f
- https://github.com/JanDeDobbeleer/oh-my-posh · PACKAGE
- https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.36.0 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 13 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jul 2026)