CVE-2026-106058
GitAhead through 2.7.1 contains an OS command injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gitahead/gitahead
- github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70
- github.com/gitahead/gitahead/issues/661
- www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-git-filter-fi
- nvd.nist.gov/vuln/detail/CVE-2026-106058
- cve.org/CVERecord?id=CVE-2026-106058
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.