CVE Catalog

CVE-2026-106058

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Summary

GitAhead through version 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.

Risk Assessment

A user could execute malicious commands on their account while working with a repository, potentially leading to system compromise or data theft.

Recommendation

Update GitAhead to a version newer than 2.7.1 that includes a fix for this vulnerability.

Other vulnerabilities in GitAhead

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS