HIGHVulnerability
Verified
Global
NVD HIGH: CVE-2026-106058 — GitAhead through 2.7.1 contains an OS command injection vulnerability in src/git...
·Source: NIST NVD
Updated:
Executive Summary
GitAhead through 2.7.1 contains an OS command injection vulnerability in src/git/Filter.cpp that allows malicious repositories to execute commands by substituting crafted filenames into clean/smudge filter commands. Attackers can ship files named with $(command) selected via .gitattributes so checkout or staging runs the command through bash -c as the victim.
Analysis
GitAhead through 2.7.1 contains an OS command injection vulnerability in src/git/Filter.cpp that allows malicious repositories to execute commands by substituting crafted filenames into clean/smudge filter commands. Attackers can ship files named with $(command) selected via .gitattributes so checkout or staging runs the command through bash -c as the victim. CVSS Score: 7.5. Published: 2026-10-07T12:17:08.920.