CVE-2026-106058 PUBLISHED

GitAhead through 2.7.1 OS Command Injection via Git Filter Filenames

Assigner: VulnCheck
Reserved: 06.10.2026 Published: 07.10.2026 Updated: 07.10.2026

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.

Metrics

CVSS 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
CVSS Score: 7.7

Product Status

Vendor gitahead
Product gitahead
Versions Default: unaffected
  • affected from 0 to 2.7.1 (incl.)

Credits

  • M.J Dhurgesh finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE