CVE-2026-106058
highGitAhead through 2.7.1 contains an OS command injection vulnerability in src/git/Filter.cpp that allows malicious repositories to execute commands by substitut…
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:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/gitahead/gitahead disclosure@vulncheck.com
- https://github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70 disclosure@vulncheck.com
- https://github.com/gitahead/gitahead/issues/661 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-git-f... disclosure@vulncheck.com
- https://github.com/gitahead/gitahead/issues/661 134c704f-9b21-4f2e-91b3-4a467353bcc0
