---
id: CVE-2026-106059
title: >-
  GitAhead through 2.7.1 on macOS contains a command injection vulnerability
  that allows attackers to execute shell commands by crafting repository
  filenames interpolated unescaped into the Show in Finder AppleScript
summary: >-
  GitAhead through 2.7.1 on macOS contains a command injection vulnerability
  that allows attackers to execute shell commands by crafting repository
  filenames interpolated unescaped into the Show in Finder AppleScript.
  Attackers can commit …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: gitahead
product: gitahead
affected:
  - gitahead <= 2.7.1
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T12:17:09.100'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106059'
references:
  - url: 'https://github.com/gitahead/gitahead'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/gitahead/gitahead/blob/v2.7.1/src/tools/ShowTool.cpp#L40-L48
    label: disclosure@vulncheck.com
  - url: 'https://github.com/gitahead/gitahead/issues/663'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/gitahead-through-2.7.1-on-macos-command-injection-via-show-in-finder-applescript
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-07T12:29:01.368Z'
---

## Overview

GitAhead through 2.7.1 on macOS contains a command injection vulnerability that allows attackers to execute shell commands by crafting repository filenames interpolated unescaped into the Show in Finder AppleScript. Attackers can commit a file whose path contains a double quote followed by a do shell script payload, which runs as the victim user when Show in Finder is chosen.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
