PoC Monitor
← All CVEs
CVE-2026-73505published 13 Aug 2026 14:21 UTCData: JSON · API

JanDeDobbeleer oh-my-posh

Oh My Posh: Arbitrary command execution via template injection in the path segment

Oh My Posh is the most customisable and low-latency cross platform/shell prompt renderer. Prior to 29.35.1, the setStyle() function in src/segments/path.go passed pt.Path, which includes raw folder names, to template.Render, whose function map exposes cmd, so an attacker-controlled directory name containing a Go template expression could execute arbitrary operating system commands as the current user whenever the prompt rendered inside that directory or a descendant. This issue is fixed in version 29.35.1.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

JanDeDobbeleer oh-my-posh
  • < 29.35.1

Fixed in 29.35.1

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published13 Aug 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.