← Back to search

CVE-2026-106058

7.5 HIGHpublic exploit available

Published 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.
rcegitcommand-injection

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

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.