SCA: security update for github.com/jandedobbeleer/oh-my-posh (GHSA-6xj8-qv9j-xcjq)

high Tenable Self-Hosted Container Security Plugin ID 445954

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-73505)

Solution

Update the github.com/jandedobbeleer/oh-my-posh library and its related packages to version 29.35.1 or later.

See Also

https://github.com/advisories/GHSA-6xj8-qv9j-xcjq

Plugin Details

Severity: High

ID: 445954

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 8/13/2026

Updated: 8/14/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.15

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-73505

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/24/2026

Vulnerability Publication Date: 7/24/2026

Reference Information

CVE: CVE-2026-73505