6 matches found
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...
CVE-2026-73505 Oh My Posh: Arbitrary command execution via template injection in the path segment
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...
CVE-2026-73505
Oh My Posh is affected by CVE-2026-73505 due to setStyle() rendering the path via Go templates, exposing a cmd function in the template map. An attacker-controlled directory name containing a Go template expression could execute arbitrary OS commands as the current user when the prompt renders in...
CVE-2026-73505: Improper Control of Generation of Code
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...
PT-2026-71665
Name of the Vulnerable Software and Affected Versions Oh My Posh versions prior to 29.35.1 Description The setStyle function in src/segments/path.go passes pt.Path, which contains raw folder names, to template.Render. Because the function map exposes cmd, a directory name controlled by an attacke...
Regular Expression Denial Of Service (ReDoS)
three is vulnerable to regular expression denial of service. The usage of an insecure regex in setStyle function in color.js allows an attacker to cause excessive consumption of CPU resources, potentially resulting in an application crash...