CVE-2026-106058
GitAhead through 2.7.1 contains an OS command injection vulnerability in src/git/Filter.cpp that…
- Risk score
- 64/100
- CVSS
- 7.5 v3.1
- Exploit chance (30 days)
- 1.2%
- Published
- 7 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 …
- Affected
- See advisory
- Fix
- Apply the vendor's security update; see the linked advisory.
- Exploitation
- No known exploitation
Why it is Amber
- CVSS 7.5 high
- Remotely exploitable without logging in
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-via-git-filter-filenames
- https://github.com/gitahead/gitahead/issues/661
Original 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.
Last activity 7 Oct 2026. Patch Forecast updates every hour.