{"id":"CVE-2026-106058","title":"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","summary":"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 fi…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-78"],"vendor":"gitahead","product":"gitahead","affected":["gitahead <= 2.7.1"],"published":"2026-10-07","updated":"2026-10-07","sourceUpdated":"2026-10-07T21:17:12.053","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-106058","references":[{"url":"https://github.com/gitahead/gitahead","label":"disclosure@vulncheck.com"},{"url":"https://github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70","label":"disclosure@vulncheck.com"},{"url":"https://github.com/gitahead/gitahead/issues/661","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-git-filter-filenames","label":"disclosure@vulncheck.com"},{"url":"https://github.com/gitahead/gitahead/issues/661","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","cve.org","exploit-available"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-07T20:55:31.538442Z"},"ingestedAt":"2026-10-07T12:29:01.367Z","epss":0.01206,"epssPercentile":0.68172,"slug":"CVE-2026-106058","body":"## Overview\n\nGitAhead 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":41.3,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[{"seq":217805,"id":"CVE-2026-106058","ts":1791410345689,"field":"exploit_available","old":"false","new":"true"}]}