CVE-2026-106058
published high CVSS 4.0 · 7.7GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gitahead | — | gitahead0 through 2.7.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gitahead | gitahead | 0 through 2.7.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4- https://github.com/gitahead/gitahead
- https://github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70
- GitHub Issue #661 https://github.com/gitahead/gitahead/issues/661
- VulnCheck Advisory: GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames https://www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-git-filter-filenames
Provider assertions
2VulnCheck · cna
GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 213039d6d2b6c76158bd124a70890605c2a16ea4e6dae95386cc5dbf7b7534bb
- Ingested
- 07 Oct 2026, 22:38:38 UTC
- Source record
- Official CVE record