CVE-2026-73505
Last modified
CVE-2026-73505 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| JanDeDobbeleer | oh-my-posh | < 29.35.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-73505?
How severe is CVE-2026-73505?
How do I fix CVE-2026-73505?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-73498MCP Atlassian is a Model Context Protocol (MCP) server for A…7.7
- CVE-2026-73499etcd is a distributed key-value store for the data of a dist…7.1
- CVE-2026-7350Use after free in WebMIDI in Google Chrome prior to 147.0.77…8.3
- CVE-2026-73500etcd is a distributed key-value store for the data of a dist…8.7
- CVE-2026-73501kin-openapi is a Go project for handling OpenAPI files. Prio…9.1
- CVE-2026-73502kin-openapi is a Go project for handling OpenAPI files. From…5.3
- CVE-2026-73506Oh My Posh is the most customisable and low-latency cross pl…6.1
- CVE-2026-73507Netty is an asynchronous, event-driven network application f…7.5
- CVE-2026-73508Netty is an asynchronous, event-driven network application f…5.3
- CVE-2026-73509OpenList a file list program that supports multiple storage.…7.6
- CVE-2026-7351Race in MHTML in Google Chrome prior to 147.0.7727.138 allow…3.1
- CVE-2026-73514The address_standardizer extension for PostGIS through 3.7.0…8.8
Are you affected by CVE-2026-73505?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
