Skip to main content
VulnerabilityPublished

CVE-2026-73505: JanDeDobbeleer oh-my-posh · Code Injection

Affects JanDeDobbeleer oh-my-poshSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.8 High : upgrade to 29.35.1 soon.

Data as of 9 Nov 2026, 23:24 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
JanDeDobbeleeroh-my-poshAffected
  • <29.35.1
Fixed in
  • 29.35.1
Gogithub.com/jandedobbeleer/oh-my-poshpkg:golang/github.com/jandedobbeleer/oh-my-poshOther threatsAffected
  • <29.35.1
Fixed in
  • 29.35.1

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

Community reviews

Loading reviews…