CVE-2026-106058
GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames
gitahead gitahead
CVSS
7.7HighExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 7 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)1.21%Chance of exploitation activity in the next 30 days, higher than 68% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
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.
Text from CVE List
Affected versions 1
- gitaheadaffected: all versions through 2.7.1CVE List
References 4
- vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-git-filter-filenamesAdvisoryvia CVE List
- github.com/gitahead/gitahead/issues/661Exploitvia CVE List
- github.com/gitahead/gitaheadReferencevia CVE List
- github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70Referencevia CVE List