CVE-2026-106058
7.7high
GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames
- Severity
- 7.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.95% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitahead gitahead | up to 2.7.1 | CVE List |
All scores
| VulnCheck | 7.7high CVSS:4.0 | 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 |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| https://github.com/gitahead/gitahead/issues/661 | exploit, issue-tracking | |
| https://github.com/gitahead/gitahead | product | |
| https://github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70 | technical-description | |
| https://www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-git-filter-filenames | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-106058 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-106058 changed 2026-10-07 | Public domain |