CVE-2026-106059 GitAhead through 2.7.1 on macOS Command Injection via Show in Finder AppleScript
Attackers can execute arbitrary shell commands on macOS by crafting malicious repository filenames in GitAhead, leading to code execution when users interact with the file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-106059?
CVE-2026-106059 is a high-severity command injection vulnerability in gitahead, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-78
Which versions are affected by CVE-2026-106059?
How do I fix CVE-2026-106059?
No fix has been published for CVE-2026-106059 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-106059 being exploited?
There is no known exploitation of CVE-2026-106059 in the wild and no public exploit code.
Sources
Also known as GHSA-3g7h-c55x-cx2v.