RCE in Gitahead
CVE-2026-106058
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/gitahead/gitahead/issues/661 (issue-tracking)
- github.com/gitahead/gitahead (product)
- github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp (technical-description)
- www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-gi… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-106058?
- CVE-2026-106058 is a high-severity vulnerability in Gitahead, classified under OS Command Injection. CVSS score: 7.5/10. Published 2026-10-07.
- How severe is CVE-2026-106058?
- High severity. CVSS v3 base score is 7.5 out of 10.