CVE-2026-73506
published medium CVSS 3.1 · 6.1Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| JanDeDobbeleer | — | oh-my-posh< 29.35.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JanDeDobbeleer | oh-my-posh | < 29.35.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-150 CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
References
5- https://github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f
- https://github.com/JanDeDobbeleer/oh-my-posh/commit/edcf3c88f3fb582e84358b385c49d33d04c04224
- https://github.com/JanDeDobbeleer/oh-my-posh/pull/7711
- https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.35.1
- https://github.com/JanDeDobbeleer/oh-my-posh/security/advisories/GHSA-fwjx-9p69-h25h
Provider assertions
2GitHub_M · cna
Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3f07d9ded94b99b103962140daca1b562c25c83514ba9a855efc62a490b6de35
- Ingested
- 23 Sep 2026, 09:30:42 UTC
- Source record
- Official CVE record