HIGHVulnerability
CVE-2026-73505
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.
Properties
- severity
- HIGH
- score
- 7.8
- epss_score
- 0.00154
- cve_id
- CVE-2026-73505
- vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- published_at
- 2026-08-13T15:20:16.943
- last_modified
- 2026-09-09T21:02:22.660
- epss_percentile
- 0.04799
Related Entities (4)
ENRICHED_BY (1)
→[Source]FIRST EPSS
DESCRIBED_BY (1)
→[Source]NVD
HAS_WEAKNESS (2)
→[Weakness]Improper Neutralization of Special Elements Used in a Template Engine
→[Weakness]Improper Control of Generation of Code ('Code Injection')
Explore deeper with Ninja Signal's threat intelligence graph