OS command injection in GitAhead via crafted Git filter filenames
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
GitAhead through 2.7.1 contains an OS command injection flaw in src/git/Filter.cpp (CWE-78). Filenames substituted into clean and smudge filter commands are not neutralized, so the shell runs crafted names as commands. An attacker who ships a malicious repository can run commands as the victim when the user checks out or stages its files, though user interaction is required. CISA's SSVC assessment rates exploitation as proof of concept.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for GitAhead.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Timeline
- 2026-10-07 Threatist record created from CVE-2026-106058
- 2026-10-07 Alias added: GHSA-q252-mvpj-37m5
- 2026-10-07 CISA SSVC decision points changed
- 2026-10-07 Priority changed: MEDIUM → HIGH
References
More gitahead vulnerabilities
- TI-2026-69116 Command injection in GitAhead on macOS via Show in Finder CVSS 4.0HIGH 8.7
- TI-2026-67729 Unverified update installation and TLS bypass in GitAhead CVSS 4.0HIGH 7.7
Sources
- CVE-2026-106058 · CVE Program
- CVE-2026-106058 · NVD
- FIRST EPSS
- GHSA-q252-mvpj-37m5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences