CVE-2026-73505JanDeDobbeleer oh-my-posh
High 7.8
Follow: this CVE · JanDeDobbeleer · JanDeDobbeleer oh-my-posh We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 13, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for oh-my-posh.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/jandedobbeleer/oh-my-posh |
< 29.35.1 |
29.35.1 |
go get github.com/jandedobbeleer/oh-my-posh@v29.35.1 |
| Go | github.com/jandedobbeleer/oh-my-posh |
< 29.35.1+incompatible |
29.35.1+incompatible |
go get github.com/jandedobbeleer/oh-my-posh@v29.35.1+incompatible |
Per OSV / GitHub Advisories (GHSA-6xj8-qv9j-xcjq, GO-2026-6108). Check the version in your lockfile before upgrading.
Affected products
- JanDeDobbeleer · oh-my-posh
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23625-1 · Sep 4, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21761-1 · Sep 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.