# CVE-2026-73506: Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-24T22:35:52.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-fwjx-9p69-h25h, GO-2026-6111
- Weaknesses: CWE-150
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- JanDeDobbeleer oh-my-posh: < 29.35.1
- github.com/jandedobbeleer/oh-my-posh (Go): before 29.35.1; before 29.35.1+incompatible

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`

## References

- <https://github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f> (exploit)
- <https://github.com/JanDeDobbeleer/oh-my-posh/security/advisories/GHSA-fwjx-9p69-h25h> (advisory, web)
- <https://github.com/JanDeDobbeleer/oh-my-posh/pull/7711>
- <https://github.com/JanDeDobbeleer/oh-my-posh/commit/edcf3c88f3fb582e84358b385c49d33d04c04224> (web)
- <https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.35.1> (web)
- <https://github.com/JanDeDobbeleer/oh-my-posh> (package)
- <https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.36.0> (web)

## Sources

- CVE List: [CVE-2026-73506](https://www.cve.org/CVERecord?id=CVE-2026-73506), CVE Terms of Use, modified 2026-08-14
- GitHub Advisory Database: [GHSA-fwjx-9p69-h25h](https://github.com/advisories/GHSA-fwjx-9p69-h25h), CC-BY-4.0, modified 2026-08-18
- Go Vulnerability Database: [GO-2026-6111](https://pkg.go.dev/vuln/GO-2026-6111), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-73506](https://nvd.nist.gov/vuln/detail/CVE-2026-73506), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73506 · Whole record: https://cve.day/CVE-2026-73506.json · Rebuilt by cve.day 2026-11-25T22:59:32.770Z
