MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-73505GHSA-6xj8-qv9j-xcjq

Oh My Posh: Arbitrary command execution via template injection in the path segment

Not on CISA KEVCVSS 7.8 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)