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

Published Aug 13, 2026
·
Updated

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.

Affected Software

1 affected component
Oh My Posh Oh My Posh<29.35.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Oh My Posh to a version that resolves this vulnerability.

    Fixed in 29.35.1

Event History

Aug 13, 2026
CVE Published
via MITRE·02:23 PM
Data Sourced
via MITRE·02:23 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-73506?

The severity of CVE-2026-73506 is medium with a score of 6.1.

2

What kind of vulnerability is CVE-2026-73506?

CVE-2026-73506 is a terminal escape sequence injection vulnerability due to unsanitized prompt segment data.

3

How can I mitigate CVE-2026-73506?

To mitigate CVE-2026-73506, upgrade Oh My Posh to version 29.35.1 or later where the vulnerability is fixed.

4

Who is affected by CVE-2026-73506?

Users of Oh My Posh prior to version 29.35.1 are affected by CVE-2026-73506.

5

What data can be exploited through CVE-2026-73506?

CVE-2026-73506 allows attackers to control the current directory names and Git metadata, including commit subject and author information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203