{"id":"CVE-2026-106058","revision":"4bf18e2a7a3e446fb22b7ce9593693cd","records":[{"revision":"4bf18e2a7a3e446fb22b7ce9593693cd","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-106058","aliases":[],"title":"GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames","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.","state":0,"publishedAt":"2026-10-07T11:59:37.841+00:00","modifiedAt":"2026-10-07T20:55:38.241+00:00","affected":[{"ecosystem":"Vendor product","name":"gitahead","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gitahead\",\n                    \"product\": \"gitahead\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"2.7.1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/gitahead/gitahead/issues/661","https://github.com/gitahead/gitahead","https://github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70","https://www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-git-filter-filenames"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-106058","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-106058","identifiers":["CVE-2026-106058"]},"retained":false,"historicalAffected":[]}],"coverage":[]}