{"id":"CVE-2026-106058","summary":"GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames","details":"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.","modified":"2026-10-08T10:30:43.007349757Z","published":"2026-10-07T11:59:37.841Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106058.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106058.json"},{"type":"PACKAGE","url":"https://github.com/gitahead/gitahead"},{"type":"ARTICLE","url":"https://github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70"},{"type":"REPORT","url":"https://github.com/gitahead/gitahead/issues/661"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106058"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-git-filter-filenames"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gitahead/gitahead","events":[{"introduced":"0"},{"last_affected":"af959bff3b6de4102eccb6bd401519a9dc01b969"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.7.1"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.7.1","v2.7.0","v2.6.3","v2.6.2","v2.6.1","v2.6.0","v2.5.10","v2.5.9","v2.5.8","v2.5.7","v2.5.6","v2.5.5","v2.5.4","v2.5.3","v2.5.2","v2.5.1","v2.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106058.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}