Skip to content
CVE PROGRAM SOURCE RECORD7.7 High

CVE-2026-106058

GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

gitahead gitahead

Default version status: unaffected

  • 0 to ≤ 2.7.1affected

References