Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/gitahead/gitahead
- https://github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70
- https://github.com/gitahead/gitahead/issues/661
- https://www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection
- https://github.com/gitahead/gitahead/issues/661
FAQ
What is CVE-2026-106058?
CVE-2026-106058 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 f...
How severe is CVE-2026-106058?
CVE-2026-106058 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-106058?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.