CVE-2026-106058
7.5 HIGHpublic exploit availablePublished 2026-10-07 · Updated 2026-10-07
AI risk analysis
- Summary
- GitAhead allows attackers to inject OS commands through crafted filenames in git filters, enabling arbitrary command execution when victims check out or stage files from malicious repositories.
- Exploitability
- Exploitation requires a victim to checkout or stage files from a malicious repository with specially crafted .gitattributes configuration, making it moderately difficult but possible with social engineering.
- Blast radius
- The vulnerability could impact any GitAhead user who checks out or stages files from compromised repositories, potentially leading to full system compromise through command injection.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to GitAhead 2.7.2 or later to address this OS command injection vulnerability.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Public exploit & PoC references
All 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
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- CRITICALCVE-2020-37282PoC
- CRITICALCVE-2025-71429PoC
- HIGHCVE-2026-102437PoC
- HIGHCVE-2026-102826PoC
- CRITICALCVE-2026-103056PoC
- HIGHCVE-2026-104085
- HIGHCVE-2026-105407
- HIGHCVE-2026-105841
Related by shared AI tags and CWE weakness class. Browse the full archive.