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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 07 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Gitahead
Gitahead gitahead
Vendors & Products Gitahead
Gitahead gitahead

Wed, 07 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
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.
Title GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-07T11:59:37.841Z

Reserved: 2026-10-06T14:14:17.656Z

Link: CVE-2026-106058

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-07T12:17:08.920

Modified: 2026-10-07T12:17:08.920

Link: CVE-2026-106058

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T13:30:16Z

Weaknesses