CVE-2026-73505

HIGH CVSS 3.1: 7.8 EPSS 0.21%
Updated Oct 24, 2026
Oh
Parameter Value
CVSS 7.8 (HIGH)
Fixed In 29.35.1
Type CWE-1336 (Template Injection), CWE-94 (Code Injection)
Vendor Oh
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1