Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Oh My Posh versions before 29.35.1 are vulnerable to arbitrary command execution through template injection in the path segment. The path shown in the prompt is rendered as a Go template, so a directory whose name contains template syntax runs commands as the current user when the shell is in that directory or a subdirectory, including the default configuration. Upgrade to 29.35.1 or later. The source gives no workaround.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.8 | High | 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0021, the 11th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:50 UTC First seen by agentprime
- 31 Oct 2026, 14:50 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-6xj8-qv9j-xcjq
- OSV: GHSA-6xj8-qv9j-xcjq
- github.com/JanDeDobbeleer/oh-my-posh/security/advisories/GHSA-6xj8-qv9j-xcjq
- github.com/JanDeDobbeleer/oh-my-posh/commit/88ddbe0b0a4dd13cc345996108c9869493f2c690
- github.com/JanDeDobbeleer/oh-my-posh
- github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.35.1
- github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v29.36.0