CVE-2026-73505: JanDeDobbeleer oh-my-posh · Code Injection
Affects JanDeDobbeleer oh-my-poshSource CVE Database V5
Not known to be exploited · CVSS 7.8 High : upgrade to 29.35.1 soon.
Data as of 9 Nov 2026, 23:24 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 29.35.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade oh-my-posh and github.com/jandedobbeleer/oh-my-posh to 29.35.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| JanDeDobbeleeroh-my-posh | Affected
| Fixed in
|
Gogithub.com/jandedobbeleer/oh-my-poshpkg:golang/github.com/jandedobbeleer/oh-my-poshOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade oh-my-posh to version 29.35.1 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated.
Description
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.
References
- github.com/JanDeDobbeleer/oh-my-posh/security/advisories/GHSA-6xj8-qv9j-xcjq (opens in a new tab)
- github.com/JanDeDobbeleer/oh-my-posh/pull/7711 (opens in a new tab)
- github.com/JanDeDobbeleer/oh-my-posh/commit/88ddbe0b0a4dd13cc345996108c9869493f2c690 (opens in a new tab)
- github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.35.1 (opens in a new tab)